Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.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.0009039/0.0009039, 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.001359/0.001359, allocations: 158.5 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 0.9757/0.9757, allocations: 177 MB / 205.2 MB, free: 5.035 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.2605/0.2605, allocations: 34.86 MB / 296.6 MB, free: 488 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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3") translateModel(ModelicaTest.Tables.CombiTimeTable.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 326 MB, free: 7.086 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.324e-05/1.443e-05, allocations: 5.125 kB / 326 MB, free: 7.082 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.001907/0.001921, allocations: 1.755 MB / 327.8 MB, free: 5.312 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001087/0.003008, allocations: 1.009 MB / 328.8 MB, free: 4.297 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.841e-05/0.003067, allocations: 0 / 328.8 MB, free: 4.297 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002459/0.003313, allocations: 39.7 kB / 328.8 MB, free: 4.258 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002381/0.003551, allocations: 95.48 kB / 328.9 MB, free: 4.164 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001328/0.003684, allocations: 75.61 kB / 329 MB, free: 4.09 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000137/0.00382, allocations: 112.4 kB / 329.1 MB, free: 3.98 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.577e-05/0.003886, allocations: 7.984 kB / 329.1 MB, free: 3.973 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.79e-05/0.003964, allocations: 67.75 kB / 329.2 MB, free: 3.906 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.221e-05/0.004026, allocations: 19.92 kB / 329.2 MB, free: 3.887 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.21e-05/0.004038, allocations: 8 kB / 329.2 MB, free: 3.879 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.499e-05/0.004103, allocations: 43.92 kB / 329.2 MB, free: 3.836 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.826e-05/0.004142, allocations: 19.91 kB / 329.2 MB, free: 3.816 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.724e-05/0.004169, allocations: 15.94 kB / 329.3 MB, free: 3.801 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001276/0.004297, allocations: 99.59 kB / 329.4 MB, free: 3.703 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.192e-06/0.004298, allocations: 0 / 329.4 MB, free: 3.703 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.004298, allocations: 0 / 329.4 MB, free: 3.703 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.106e-06/0.004302, allocations: 0 / 329.4 MB, free: 3.703 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000311/0.004612, allocations: 313.6 kB / 329.7 MB, free: 3.375 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.618e-05/0.004639, allocations: 12.03 kB / 329.7 MB, free: 3.363 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.642e-05/0.004665, allocations: 16.92 kB / 329.7 MB, free: 3.348 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001267/0.004792, allocations: 149.5 kB / 329.8 MB, free: 3.176 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.273e-05/0.004804, allocations: 384 / 329.8 MB, free: 3.176 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.969e-05/0.004824, allocations: 8.375 kB / 329.9 MB, free: 3.168 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.501e-05/0.004909, allocations: 57.77 kB / 329.9 MB, free: 3.102 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.004917, allocations: 192 / 329.9 MB, free: 3.102 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.615e-06/0.004924, allocations: 4.375 kB / 329.9 MB, free: 3.098 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.311e-06/0.004931, allocations: 7.938 kB / 329.9 MB, free: 3.09 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.235e-05/0.004953, allocations: 11.92 kB / 329.9 MB, free: 3.078 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000167/0.00512, allocations: 166 kB / 330.1 MB, free: 2.898 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.725e-05/0.005197, allocations: 85.28 kB / 330.2 MB, free: 2.805 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.878e-05/0.005216, allocations: 12.92 kB / 330.2 MB, free: 2.789 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.496e-06/0.005224, allocations: 0 / 330.2 MB, free: 2.789 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.626e-05/0.005291, allocations: 62.16 kB / 330.2 MB, free: 2.715 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 5.91e-07/0.005291, allocations: 0 / 330.2 MB, free: 2.715 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002489/0.00554, allocations: 121.5 kB / 330.4 MB, free: 2.59 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.665e-05/0.005567, allocations: 55.34 kB / 330.4 MB, free: 2.523 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.909e-05/0.005656, allocations: 171.1 kB / 330.6 MB, free: 2.344 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.286e-05/0.005669, allocations: 25.7 kB / 330.6 MB, free: 2.312 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.751e-05/0.005696, allocations: 92.11 kB / 330.7 MB, free: 2.219 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.103e-05/0.005717, allocations: 23.8 kB / 330.7 MB, free: 2.195 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.744e-05/0.005745, allocations: 29.69 kB / 330.8 MB, free: 2.16 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.601e-05/0.005811, allocations: 318.8 kB / 331.1 MB, free: 1.84 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.448e-05/0.005825, allocations: 10.83 kB / 331.1 MB, free: 1.828 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.198e-05/0.005847, allocations: 25.7 kB / 331.1 MB, free: 1.797 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.879e-05/0.005886, allocations: 44.45 kB / 331.1 MB, free: 1.746 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.005887, allocations: 4 kB / 331.2 MB, free: 1.742 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 6.41e-05/0.005951, allocations: 72.48 kB / 331.2 MB, free: 1.664 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.025e-05/0.005961, allocations: 9.188 kB / 331.2 MB, free: 1.656 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.005967, allocations: 4 kB / 331.2 MB, free: 1.652 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/0.005978, allocations: 0 / 331.2 MB, free: 1.652 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.117e-05/0.006029, allocations: 19.92 kB / 331.3 MB, free: 1.633 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.226e-06/0.006032, allocations: 0 / 331.3 MB, free: 1.633 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.464e-05/0.006057, allocations: 4.375 kB / 331.3 MB, free: 1.629 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.179e-06/0.006062, allocations: 0 / 331.3 MB, free: 1.629 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 (10): * Single equations (assignments): 10 * 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 5.516e-05/0.006117, allocations: 116.7 kB / 331.4 MB, free: 1.504 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.161e-05/0.006129, allocations: 15.95 kB / 331.4 MB, free: 1.488 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.736e-05/0.006216, allocations: 82.39 kB / 331.5 MB, free: 1.402 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.006217, allocations: 0 / 331.5 MB, free: 1.402 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-06/0.006218, allocations: 0 / 331.5 MB, free: 1.402 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.006221, allocations: 0 / 331.5 MB, free: 1.402 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000198/0.006419, allocations: 287.6 kB / 331.7 MB, free: 1.094 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.006421, allocations: 7.938 kB / 331.8 MB, free: 1.086 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.06e-05/0.006442, allocations: 8 kB / 331.8 MB, free: 1.078 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.006443, allocations: 0 / 331.8 MB, free: 1.078 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.002e-06/0.006449, allocations: 4 kB / 331.8 MB, free: 1.074 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.006451, allocations: 8.109 kB / 331.8 MB, free: 1.066 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.006452, allocations: 3.984 kB / 331.8 MB, free: 1.062 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.268e-05/0.006545, allocations: 216.8 kB / 332 MB, free: 0.8281 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.083e-05/0.006556, allocations: 11.89 kB / 332 MB, free: 0.8164 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.421e-05/0.00657, allocations: 4 kB / 332 MB, free: 0.8125 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.561e-05/0.006606, allocations: 4 kB / 332 MB, free: 0.8086 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.229e-05/0.006628, allocations: 11.92 kB / 332 MB, free: 0.7969 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.668e-06/0.006638, allocations: 3.984 kB / 332 MB, free: 0.793 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.374e-05/0.006671, allocations: 52.45 kB / 332.1 MB, free: 0.7383 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006671, allocations: 0 / 332.1 MB, free: 0.7383 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001341/0.006805, allocations: 27.94 kB / 332.1 MB, free: 0.7109 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 7 * 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.001112/0.007918, allocations: 0.5468 MB / 332.7 MB, free: 452 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.867e-05/0.007997, allocations: 48.77 kB / 332.7 MB, free: 400 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.007999, allocations: 0 / 332.7 MB, free: 400 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.813e-05/0.008027, allocations: 24.84 kB / 332.7 MB, free: 372 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001527/0.00818, allocations: 43.97 kB / 332.8 MB, free: 332 kB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00027/0.00845, allocations: 204.4 kB / 333 MB, free: 92 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.219e-05/0.008482, allocations: 67.34 kB / 333 MB, free: 4 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.196e-05/0.008524, allocations: 17.36 kB / 333 MB, free: 15.98 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.529e-05/0.008579, allocations: 67.5 kB / 333.1 MB, free: 15.92 MB / 314.7 MB Notification: Performance of SimCode: time 4.11e-07/0.00858, allocations: 0 / 333.1 MB, free: 15.92 MB / 314.7 MB Notification: Performance of Templates: time 0.003033/0.01161, allocations: 2.013 MB / 335.1 MB, free: 13.94 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test3/Test3.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.984598313923925]