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.001377/0.001377, allocations: 88.86 kB / 21.5 MB, free: 2.988 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.001135/0.001135, allocations: 160.9 kB / 24.91 MB, free: 8.719 MB / 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.041/1.041, allocations: 177 MB / 205.2 MB, free: 5.031 MB / 186.7 MB " [Timeout remaining time 179] 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.2586/0.2586, allocations: 34.87 MB / 296.6 MB, free: 484 kB / 266.7 MB " [Timeout remaining time 180] 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.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38") translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 326 MB, free: 7.027 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.657e-05/2.835e-05, allocations: 2.312 kB / 326 MB, free: 7.023 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.003802/0.003831, allocations: 1.758 MB / 327.8 MB, free: 5.254 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001871/0.005702, allocations: 0.9979 MB / 328.8 MB, free: 4.25 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001187/0.005821, allocations: 0 / 328.8 MB, free: 4.25 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000488/0.006309, allocations: 67.66 kB / 328.9 MB, free: 4.184 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003648/0.006673, allocations: 99.47 kB / 329 MB, free: 4.086 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002256/0.006899, allocations: 83.59 kB / 329 MB, free: 4.004 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001998/0.007099, allocations: 112.4 kB / 329.2 MB, free: 3.895 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.039e-05/0.007159, allocations: 8.219 kB / 329.2 MB, free: 3.887 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001431/0.007302, allocations: 59.77 kB / 329.2 MB, free: 3.828 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001138/0.007416, allocations: 35.89 kB / 329.3 MB, free: 3.793 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.014e-05/0.007436, allocations: 4 kB / 329.3 MB, free: 3.789 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.08e-05/0.007527, allocations: 35.92 kB / 329.3 MB, free: 3.754 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.664e-05/0.007584, allocations: 19.92 kB / 329.3 MB, free: 3.734 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.098e-05/0.007624, allocations: 19.92 kB / 329.3 MB, free: 3.715 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002113/0.007836, allocations: 87.61 kB / 329.4 MB, free: 3.629 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.007841, allocations: 0 / 329.4 MB, free: 3.629 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.007843, allocations: 4 kB / 329.4 MB, free: 3.625 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.813e-06/0.007849, allocations: 0 / 329.4 MB, free: 3.625 MB / 298.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.0005231/0.008373, allocations: 317.6 kB / 329.7 MB, free: 3.293 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/0.00842, allocations: 12.03 kB / 329.7 MB, free: 3.281 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.354e-05/0.008463, allocations: 4.938 kB / 329.8 MB, free: 3.277 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002333/0.008697, allocations: 146.2 kB / 329.9 MB, free: 3.109 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.102e-05/0.008718, allocations: 4.375 kB / 329.9 MB, free: 3.105 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.186e-05/0.008729, allocations: 4.375 kB / 329.9 MB, free: 3.102 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001585/0.008888, allocations: 57.77 kB / 330 MB, free: 3.035 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.008898, allocations: 192 / 330 MB, free: 3.035 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-06/0.008906, allocations: 4.375 kB / 330 MB, free: 3.031 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.008914, allocations: 3.938 kB / 330 MB, free: 3.027 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.56e-05/0.00895, allocations: 7.938 kB / 330 MB, free: 3.02 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001454/0.009095, allocations: 74.69 kB / 330.1 MB, free: 2.93 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001225/0.009218, allocations: 37.42 kB / 330.1 MB, free: 2.883 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.648e-05/0.009244, allocations: 12.86 kB / 330.1 MB, free: 2.867 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.422e-05/0.009258, allocations: 0 / 330.1 MB, free: 2.867 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001234/0.009382, allocations: 58.22 kB / 330.2 MB, free: 2.797 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 1.673e-06/0.009383, allocations: 4 kB / 330.2 MB, free: 2.793 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001591/0.009542, allocations: 61.61 kB / 330.2 MB, free: 2.727 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.421e-05/0.009577, allocations: 51.41 kB / 330.3 MB, free: 2.664 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001552/0.009732, allocations: 177.2 kB / 330.4 MB, free: 2.477 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.039e-05/0.009752, allocations: 33.64 kB / 330.5 MB, free: 2.438 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.036e-05/0.009792, allocations: 100.1 kB / 330.6 MB, free: 2.336 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.37e-05/0.009826, allocations: 11.84 kB / 330.6 MB, free: 2.324 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.242e-05/0.009869, allocations: 29.69 kB / 330.6 MB, free: 2.289 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.009981, allocations: 318.8 kB / 330.9 MB, free: 1.969 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.427e-05/0.01001, allocations: 10.83 kB / 330.9 MB, free: 1.957 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.873e-05/0.01003, allocations: 13.72 kB / 331 MB, free: 1.938 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.714e-05/0.01009, allocations: 43.28 kB / 331 MB, free: 1.887 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.01009, allocations: 0 / 331 MB, free: 1.887 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001059/0.0102, allocations: 64.44 kB / 331.1 MB, free: 1.816 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.01022, allocations: 8 kB / 331.1 MB, free: 1.809 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.01022, allocations: 0 / 331.1 MB, free: 1.809 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.01024, allocations: 4.297 kB / 331.1 MB, free: 1.805 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.728e-05/0.01031, allocations: 8 kB / 331.1 MB, free: 1.797 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.01032, allocations: 7.984 kB / 331.1 MB, free: 1.789 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.4e-05/0.01036, allocations: 7.938 kB / 331.1 MB, free: 1.781 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-06/0.01037, allocations: 8.031 kB / 331.1 MB, free: 1.773 MB / 298.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 8.579e-05/0.01046, allocations: 116.7 kB / 331.2 MB, free: 1.648 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.017e-05/0.01048, allocations: 7.984 kB / 331.2 MB, free: 1.641 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001308/0.01061, allocations: 62.77 kB / 331.3 MB, free: 1.574 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.01061, allocations: 0 / 331.3 MB, free: 1.574 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.01061, allocations: 0 / 331.3 MB, free: 1.574 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.01062, allocations: 7.938 kB / 331.3 MB, free: 1.566 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001075/0.01073, allocations: 81.86 kB / 331.4 MB, free: 1.469 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.01073, allocations: 0 / 331.4 MB, free: 1.469 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.815e-05/0.01077, allocations: 4 kB / 331.4 MB, free: 1.465 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.01077, allocations: 4 kB / 331.4 MB, free: 1.461 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.01078, allocations: 4 kB / 331.4 MB, free: 1.457 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.938e-06/0.01078, allocations: 7.984 kB / 331.4 MB, free: 1.449 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.01078, allocations: 0 / 331.4 MB, free: 1.449 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001178/0.0109, allocations: 78.72 kB / 331.5 MB, free: 1.352 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.496e-05/0.01093, allocations: 23.83 kB / 331.5 MB, free: 1.328 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.192e-05/0.01095, allocations: 0 / 331.5 MB, free: 1.328 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.449e-05/0.01099, allocations: 8 kB / 331.5 MB, free: 1.32 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.412e-05/0.01103, allocations: 3.984 kB / 331.5 MB, free: 1.316 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.514e-05/0.01104, allocations: 4 kB / 331.5 MB, free: 1.312 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.708e-05/0.01111, allocations: 59.58 kB / 331.6 MB, free: 1.25 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01111, allocations: 0 / 331.6 MB, free: 1.25 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002097/0.01132, allocations: 19.94 kB / 331.6 MB, free: 1.23 MB / 298.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.001253/0.01257, allocations: 0.4887 MB / 332.1 MB, free: 0.9883 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.681e-05/0.01266, allocations: 36.72 kB / 332.1 MB, free: 0.9492 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/0.01266, allocations: 0 / 332.1 MB, free: 0.9492 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.047e-05/0.01269, allocations: 20.86 kB / 332.1 MB, free: 0.9258 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001538/0.01285, allocations: 35.3 kB / 332.2 MB, free: 0.8945 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003121/0.01316, allocations: 199.1 kB / 332.4 MB, free: 0.6719 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.85e-05/0.0132, allocations: 67.33 kB / 332.4 MB, free: 0.5859 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.964e-05/0.01323, allocations: 4.5 kB / 332.4 MB, free: 0.582 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.329e-05/0.01329, allocations: 67.36 kB / 332.5 MB, free: 0.5156 MB / 298.7 MB Notification: Performance of SimCode: time 8.52e-07/0.01329, allocations: 0 / 332.5 MB, free: 0.5156 MB / 298.7 MB Notification: Performance of Templates: time 0.003504/0.01679, allocations: 1.767 MB / 334.3 MB, free: 14.78 MB / 314.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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9899700810201466]