Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001509/0.001509, allocations: 92.27 kB / 20.96 MB, free: 3.441 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00173/0.00173, allocations: 156.9 kB / 24.26 MB, free: 148 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.551/1.551, allocations: 177 MB / 204.5 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3591/0.3591, allocations: 34.26 MB / 295.2 MB, free: 0.6406 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38") translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.554e-06/2.554e-06, allocations: 0 / 377.3 MB, free: 2.832 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.419e-05/3.675e-05, allocations: 2.312 kB / 377.3 MB, free: 2.828 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.005178/0.005215, allocations: 1.671 MB / 379 MB, free: 1.145 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003424/0.008639, allocations: 0.9658 MB / 379.9 MB, free: 176 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001454/0.008784, allocations: 0 / 379.9 MB, free: 176 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005056/0.00929, allocations: 59.73 kB / 380 MB, free: 116 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006167/0.009907, allocations: 111.5 kB / 380.1 MB, free: 4 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003992/0.01031, allocations: 83.59 kB / 380.2 MB, free: 15.92 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000315/0.01062, allocations: 107.7 kB / 380.3 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.985e-05/0.01067, allocations: 240 / 380.3 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002246/0.0109, allocations: 63.75 kB / 380.3 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001605/0.01106, allocations: 47.88 kB / 380.4 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.378e-05/0.01108, allocations: 0 / 380.4 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001427/0.01122, allocations: 35.94 kB / 380.4 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.947e-05/0.01131, allocations: 19.86 kB / 380.4 MB, free: 15.65 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.51e-05/0.01139, allocations: 19.92 kB / 380.5 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003444/0.01173, allocations: 99.64 kB / 380.6 MB, free: 15.54 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.01174, allocations: 0 / 380.6 MB, free: 15.54 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.01174, allocations: 8 kB / 380.6 MB, free: 15.53 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.233e-05/0.01175, allocations: 3.984 kB / 380.6 MB, free: 15.52 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0008997/0.01265, allocations: 333.6 kB / 380.9 MB, free: 15.17 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.778e-05/0.01271, allocations: 8.031 kB / 380.9 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.319e-05/0.01279, allocations: 8.891 kB / 380.9 MB, free: 15.15 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004489/0.01324, allocations: 158.2 kB / 381.1 MB, free: 14.97 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.015e-05/0.01326, allocations: 384 / 381.1 MB, free: 14.97 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.921e-05/0.01328, allocations: 4.375 kB / 381.1 MB, free: 14.97 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000231/0.01351, allocations: 50.23 kB / 381.1 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.01352, allocations: 192 / 381.1 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.401e-05/0.01354, allocations: 12.25 kB / 381.1 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.141e-05/0.01355, allocations: 7.922 kB / 381.1 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001233/0.01367, allocations: 20 kB / 381.2 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003002/0.01397, allocations: 133.3 kB / 381.3 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002656/0.01424, allocations: 46.62 kB / 381.3 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000108/0.01434, allocations: 20.84 kB / 381.4 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.288e-05/0.01437, allocations: 4 kB / 381.4 MB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002339/0.0146, allocations: 67.33 kB / 381.4 MB, free: 14.55 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.603e-06/0.0146, allocations: 4 kB / 381.4 MB, free: 14.55 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004677/0.01507, allocations: 105.6 kB / 381.5 MB, free: 14.44 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.179e-05/0.01514, allocations: 55.34 kB / 381.6 MB, free: 14.38 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003712/0.01551, allocations: 202.7 kB / 381.8 MB, free: 14.16 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.887e-05/0.01554, allocations: 25.7 kB / 381.8 MB, free: 14.13 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001106/0.01565, allocations: 104.1 kB / 381.9 MB, free: 14.03 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.065e-05/0.01569, allocations: 11.91 kB / 381.9 MB, free: 14.02 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.296e-05/0.01576, allocations: 17.72 kB / 381.9 MB, free: 13.99 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002873/0.01604, allocations: 326.8 kB / 382.3 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.725e-05/0.01613, allocations: 19.92 kB / 382.3 MB, free: 13.64 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001078/0.01624, allocations: 33.7 kB / 382.3 MB, free: 13.61 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001681/0.01641, allocations: 45.7 kB / 382.4 MB, free: 13.55 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.01641, allocations: 0 / 382.4 MB, free: 13.55 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002864/0.0167, allocations: 85.58 kB / 382.4 MB, free: 13.46 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/0.01672, allocations: 8 kB / 382.5 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.01672, allocations: 0 / 382.5 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.542e-05/0.01675, allocations: 0 / 382.5 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001183/0.01687, allocations: 15.92 kB / 382.5 MB, free: 13.44 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.01687, allocations: 4.031 kB / 382.5 MB, free: 13.44 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.717e-05/0.01695, allocations: 7.938 kB / 382.5 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.267e-05/0.01696, allocations: 4 kB / 382.5 MB, free: 13.43 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001802/0.01714, allocations: 125.8 kB / 382.6 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.946e-05/0.01719, allocations: 15.91 kB / 382.6 MB, free: 13.28 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003137/0.01751, allocations: 91.14 kB / 382.7 MB, free: 13.19 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.01751, allocations: 4.047 kB / 382.7 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.293e-05/0.01753, allocations: 11.94 kB / 382.7 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.01753, allocations: 0 / 382.7 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002234/0.01775, allocations: 133.3 kB / 382.9 MB, free: 13.01 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.01775, allocations: 7.938 kB / 382.9 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.091e-05/0.01779, allocations: 4 kB / 382.9 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.0178, allocations: 0 / 382.9 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.788e-05/0.01782, allocations: 4 kB / 382.9 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.01782, allocations: 0 / 382.9 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.01782, allocations: 0 / 382.9 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003633/0.01818, allocations: 128.9 kB / 383 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.791e-05/0.01821, allocations: 7.953 kB / 383 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.521e-05/0.01824, allocations: 4 kB / 383 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.209e-05/0.01831, allocations: 0 / 383 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.192e-05/0.01837, allocations: 15.92 kB / 383 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.825e-05/0.01839, allocations: 0 / 383 MB, free: 12.82 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002367/0.01862, allocations: 151.2 kB / 383.2 MB, free: 12.68 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.01862, allocations: 0 / 383.2 MB, free: 12.68 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004321/0.01906, allocations: 19.94 kB / 383.2 MB, free: 12.66 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002815/0.02187, allocations: 417.5 kB / 383.6 MB, free: 12.39 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002581/0.02213, allocations: 47.91 kB / 383.6 MB, free: 12.35 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.02213, allocations: 0 / 383.6 MB, free: 12.35 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001039/0.02223, allocations: 24 kB / 383.7 MB, free: 12.32 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004543/0.02269, allocations: 39.88 kB / 383.7 MB, free: 12.29 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007474/0.02344, allocations: 216.5 kB / 383.9 MB, free: 12.05 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001562/0.02359, allocations: 89.38 kB / 384 MB, free: 11.94 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.83e-05/0.02367, allocations: 12.48 kB / 384 MB, free: 11.93 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.921e-05/0.02373, allocations: 16.5 kB / 384 MB, free: 11.91 MB / 362.7 MB Notification: Performance of SimCode: time 5.91e-07/0.02373, allocations: 0 / 384 MB, free: 11.91 MB / 362.7 MB Notification: Performance of Templates: time 0.007871/0.0316, allocations: 1.635 MB / 385.7 MB, free: 10.3 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.861769056995399]