Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.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.0009469/0.0009469, allocations: 84.73 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.0009613/0.0009613, allocations: 163 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.9476/0.9476, allocations: 177 MB / 205.2 MB, free: 5.062 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.2548/0.2548, allocations: 34.86 MB / 296.6 MB, free: 404 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.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|err1.y|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14") translateModel(ModelicaTest.Tables.CombiTimeTable.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|err1.y|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 326 MB, free: 7.082 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.204e-05/2.359e-05, allocations: 4.984 kB / 326 MB, free: 7.078 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.0023/0.002323, allocations: 2.049 MB / 328 MB, free: 5.02 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001386/0.00371, allocations: 1.083 MB / 329.1 MB, free: 3.93 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.86e-05/0.003809, allocations: 3.938 kB / 329.1 MB, free: 3.926 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002586/0.004067, allocations: 55.62 kB / 329.2 MB, free: 3.871 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002737/0.004341, allocations: 115.3 kB / 329.3 MB, free: 3.758 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002132/0.004554, allocations: 119.5 kB / 329.4 MB, free: 3.641 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002143/0.004768, allocations: 207.3 kB / 329.6 MB, free: 3.438 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.461e-05/0.004853, allocations: 30.36 kB / 329.6 MB, free: 3.406 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000127/0.00498, allocations: 119.6 kB / 329.8 MB, free: 3.289 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.012e-05/0.00507, allocations: 55.81 kB / 329.8 MB, free: 3.234 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.011e-05/0.00509, allocations: 12 kB / 329.8 MB, free: 3.223 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.739e-05/0.005168, allocations: 55.97 kB / 329.9 MB, free: 3.168 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.256e-05/0.00522, allocations: 39.84 kB / 329.9 MB, free: 3.129 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.89e-05/0.005269, allocations: 43.84 kB / 330 MB, free: 3.086 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001933/0.005462, allocations: 175.2 kB / 330.1 MB, free: 2.914 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.392e-06/0.005464, allocations: 0 / 330.1 MB, free: 2.914 MB / 298.7 MB Notification: Performance of FrontEnd: time 4.91e-07/0.005464, allocations: 0 / 330.1 MB, free: 2.914 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.016e-06/0.005467, allocations: 0 / 330.1 MB, free: 2.914 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.000492/0.005959, allocations: 468.5 kB / 330.6 MB, free: 2.422 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.789e-05/0.005987, allocations: 8.031 kB / 330.6 MB, free: 2.414 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.743e-05/0.006024, allocations: 24.92 kB / 330.6 MB, free: 2.391 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001729/0.006197, allocations: 177.4 kB / 330.8 MB, free: 2.191 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/0.006211, allocations: 4.375 kB / 330.8 MB, free: 2.188 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.342e-05/0.006234, allocations: 12.38 kB / 330.8 MB, free: 2.176 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001793/0.006413, allocations: 160 kB / 331 MB, free: 1.996 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.006421, allocations: 192 / 331 MB, free: 1.996 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.006432, allocations: 4.359 kB / 331 MB, free: 1.992 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.712e-06/0.006439, allocations: 7.938 kB / 331 MB, free: 1.984 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.826e-05/0.006487, allocations: 34.69 kB / 331 MB, free: 1.949 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003138/0.006801, allocations: 382 kB / 331.4 MB, free: 1.551 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001631/0.006964, allocations: 117.2 kB / 331.5 MB, free: 1.426 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.19e-05/0.006996, allocations: 28.78 kB / 331.5 MB, free: 1.395 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.104e-05/0.007007, allocations: 0 / 331.5 MB, free: 1.395 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001181/0.007125, allocations: 123.8 kB / 331.6 MB, free: 1.254 MB / 298.7 MB Notification: Performance of pre-optimization done (n=12): time 1.022e-06/0.007126, allocations: 0 / 331.6 MB, free: 1.254 MB / 298.7 MB Notification: Performance of matching and sorting (n=12): time 0.0001501/0.007276, allocations: 94.97 kB / 331.7 MB, free: 1.156 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.004e-05/0.007306, allocations: 55.41 kB / 331.8 MB, free: 1.09 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001197/0.007426, allocations: 205.1 kB / 332 MB, free: 0.8672 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.662e-05/0.007442, allocations: 37.64 kB / 332 MB, free: 0.8242 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.554e-05/0.007488, allocations: 112.9 kB / 332.1 MB, free: 0.707 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.798e-05/0.007516, allocations: 39.72 kB / 332.2 MB, free: 0.668 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.25e-05/0.007558, allocations: 37.69 kB / 332.2 MB, free: 0.625 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.118e-05/0.00763, allocations: 330.8 kB / 332.5 MB, free: 300 kB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.902e-05/0.007669, allocations: 45.14 kB / 332.6 MB, free: 248 kB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.847e-05/0.007717, allocations: 81.91 kB / 332.7 MB, free: 144 kB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.108e-05/0.007798, allocations: 117.2 kB / 332.8 MB, free: 4 kB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.0078, allocations: 0 / 332.8 MB, free: 4 kB / 298.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001353/0.007935, allocations: 167.7 kB / 332.9 MB, free: 15.82 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.15e-05/0.007957, allocations: 31.42 kB / 333 MB, free: 15.79 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.007962, allocations: 4 kB / 333 MB, free: 15.78 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.007973, allocations: 128 / 333 MB, free: 15.78 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.322e-05/0.008057, allocations: 31.98 kB / 333 MB, free: 15.75 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.008061, allocations: 7.984 kB / 333 MB, free: 15.74 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.644e-05/0.008128, allocations: 27.88 kB / 333 MB, free: 15.71 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/0.008137, allocations: 4 kB / 333 MB, free: 15.71 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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 7.177e-05/0.008209, allocations: 124.6 kB / 333.2 MB, free: 15.58 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.795e-05/0.008227, allocations: 15.92 kB / 333.2 MB, free: 15.56 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001125/0.008339, allocations: 99.86 kB / 333.3 MB, free: 15.46 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.008341, allocations: 0 / 333.3 MB, free: 15.46 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.008342, allocations: 4 kB / 333.3 MB, free: 15.45 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.008346, allocations: 7.922 kB / 333.3 MB, free: 15.45 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.311e-05/0.00844, allocations: 113.7 kB / 333.4 MB, free: 15.32 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.92e-07/0.00844, allocations: 0 / 333.4 MB, free: 15.32 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.743e-05/0.008498, allocations: 15.98 kB / 333.4 MB, free: 15.3 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.008501, allocations: 7.938 kB / 333.4 MB, free: 15.29 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.957e-06/0.00851, allocations: 4 kB / 333.4 MB, free: 15.29 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.008511, allocations: 4 kB / 333.4 MB, free: 15.29 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.008513, allocations: 3.984 kB / 333.4 MB, free: 15.28 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001426/0.008656, allocations: 125.5 kB / 333.6 MB, free: 15.14 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.621e-05/0.008672, allocations: 19.94 kB / 333.6 MB, free: 15.12 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.004e-05/0.008692, allocations: 15.86 kB / 333.6 MB, free: 15.11 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.352e-05/0.008745, allocations: 19.92 kB / 333.6 MB, free: 15.09 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.806e-05/0.008783, allocations: 15.97 kB / 333.6 MB, free: 15.07 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.878e-06/0.008793, allocations: 0 / 333.6 MB, free: 15.07 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.277e-05/0.008846, allocations: 74.23 kB / 333.7 MB, free: 15 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008846, allocations: 0 / 333.7 MB, free: 15 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001438/0.00899, allocations: 47.89 kB / 333.8 MB, free: 14.95 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.000984/0.009974, allocations: 0.497 MB / 334.2 MB, free: 14.7 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001493/0.01012, allocations: 145.9 kB / 334.4 MB, free: 14.54 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.01013, allocations: 4 kB / 334.4 MB, free: 14.54 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.863e-05/0.01018, allocations: 40.77 kB / 334.4 MB, free: 14.49 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001462/0.01032, allocations: 40.7 kB / 334.5 MB, free: 14.45 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003897/0.01071, allocations: 303.7 kB / 334.8 MB, free: 14.13 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.605e-05/0.01075, allocations: 79.98 kB / 334.8 MB, free: 14.03 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.23e-05/0.0108, allocations: 21.45 kB / 334.9 MB, free: 14.01 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001016/0.0109, allocations: 91.28 kB / 335 MB, free: 13.92 MB / 314.7 MB Notification: Performance of SimCode: time 7.51e-07/0.0109, allocations: 0 / 335 MB, free: 13.92 MB / 314.7 MB Notification: Performance of Templates: time 0.004516/0.01542, allocations: 3.21 MB / 338.2 MB, free: 10.77 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test14/Test14.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.9310987908393145]