Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001527/0.001527, allocations: 80.41 kB / 22.21 MB, free: 2.289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001907/0.001907, allocations: 169.8 kB / 25.61 MB, free: 8.902 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.001/1.001, allocations: 177.1 MB / 206 MB, free: 4.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.1471/0.1471, allocations: 34.26 MB / 296.8 MB, free: 13.93 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73") translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 379.4 MB, free: 23.32 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.971e-05/2.143e-05, allocations: 3.734 kB / 379.4 MB, free: 23.32 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.002148/0.002169, allocations: 1.922 MB / 381.3 MB, free: 21.38 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001183/0.003352, allocations: 1.087 MB / 382.4 MB, free: 20.29 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.23e-05/0.003434, allocations: 3.938 kB / 382.4 MB, free: 20.29 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002551/0.003689, allocations: 159.4 kB / 382.5 MB, free: 20.13 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002827/0.003972, allocations: 191.1 kB / 382.7 MB, free: 19.94 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001907/0.004162, allocations: 123.5 kB / 382.9 MB, free: 19.82 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000194/0.004356, allocations: 247.2 kB / 383.1 MB, free: 19.58 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.936e-05/0.004436, allocations: 25.94 kB / 383.1 MB, free: 19.55 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001121/0.004548, allocations: 131.7 kB / 383.3 MB, free: 19.43 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001091/0.004657, allocations: 131.7 kB / 383.4 MB, free: 19.3 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.687e-05/0.004674, allocations: 8 kB / 383.4 MB, free: 19.29 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.218e-05/0.004756, allocations: 75.77 kB / 383.5 MB, free: 19.21 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.898e-05/0.004805, allocations: 55.78 kB / 383.5 MB, free: 19.16 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.631e-05/0.004841, allocations: 43.78 kB / 383.6 MB, free: 19.12 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001605/0.005002, allocations: 183.3 kB / 383.7 MB, free: 18.94 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.005004, allocations: 0 / 383.7 MB, free: 18.94 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.005005, allocations: 0 / 383.7 MB, free: 18.94 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.807e-06/0.005008, allocations: 0 / 383.7 MB, free: 18.94 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.000376/0.005384, allocations: 0.5691 MB / 384.3 MB, free: 18.33 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.555e-05/0.00541, allocations: 16.03 kB / 384.3 MB, free: 18.32 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.122e-05/0.005451, allocations: 28.8 kB / 384.4 MB, free: 18.29 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001473/0.005598, allocations: 216.6 kB / 384.6 MB, free: 18.05 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.581e-05/0.005614, allocations: 8.359 kB / 384.6 MB, free: 18.04 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.636e-05/0.005631, allocations: 12.33 kB / 384.6 MB, free: 18.03 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001173/0.005748, allocations: 113.4 kB / 384.7 MB, free: 17.9 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.005758, allocations: 3.938 kB / 384.7 MB, free: 17.9 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.275e-06/0.005766, allocations: 0 / 384.7 MB, free: 17.9 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.005772, allocations: 4 kB / 384.7 MB, free: 17.89 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.83e-05/0.00581, allocations: 31.89 kB / 384.7 MB, free: 17.86 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002567/0.006066, allocations: 459.2 kB / 385.2 MB, free: 17.38 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001741/0.006241, allocations: 113.9 kB / 385.3 MB, free: 17.25 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.025e-05/0.006271, allocations: 35.61 kB / 385.3 MB, free: 17.2 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.738e-06/0.006281, allocations: 7.938 kB / 385.3 MB, free: 17.2 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001051/0.006386, allocations: 119.7 kB / 385.5 MB, free: 17.06 MB / 314.7 MB Notification: Performance of pre-optimization done (n=14): time 1.483e-06/0.006387, allocations: 0 / 385.5 MB, free: 17.06 MB / 314.7 MB Notification: Performance of matching and sorting (n=22): time 0.0005782/0.006965, allocations: 370.2 kB / 385.8 MB, free: 16.69 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.428e-05/0.00699, allocations: 85.11 kB / 385.9 MB, free: 16.59 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001433/0.007133, allocations: 350.1 kB / 386.2 MB, free: 16.23 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.353e-05/0.007146, allocations: 33.7 kB / 386.3 MB, free: 16.2 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.378e-05/0.0072, allocations: 203.2 kB / 386.5 MB, free: 15.99 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.728e-05/0.007238, allocations: 79.36 kB / 386.5 MB, free: 15.91 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.048e-05/0.007278, allocations: 47.34 kB / 386.6 MB, free: 15.86 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.466e-05/0.007333, allocations: 0.5273 MB / 387.1 MB, free: 15.32 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.293e-05/0.007366, allocations: 27.98 kB / 387.1 MB, free: 15.29 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.553e-05/0.007411, allocations: 66.7 kB / 387.2 MB, free: 15.21 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.439e-05/0.007496, allocations: 114.6 kB / 387.3 MB, free: 15.08 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.007497, allocations: 0 / 387.3 MB, free: 15.08 MB / 314.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001584/0.007655, allocations: 181.3 kB / 387.5 MB, free: 14.9 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.007668, allocations: 8 kB / 387.5 MB, free: 14.89 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.007672, allocations: 0 / 387.5 MB, free: 14.89 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.749e-06/0.007681, allocations: 7.922 kB / 387.5 MB, free: 14.88 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.522e-05/0.007767, allocations: 48.05 kB / 387.6 MB, free: 14.84 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.196e-06/0.00777, allocations: 0 / 387.6 MB, free: 14.84 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.411e-05/0.007814, allocations: 11.94 kB / 387.6 MB, free: 14.82 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.127e-06/0.007823, allocations: 11.98 kB / 387.6 MB, free: 14.81 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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 6.326e-05/0.007886, allocations: 168.5 kB / 387.8 MB, free: 14.64 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.882e-05/0.007915, allocations: 35.81 kB / 387.8 MB, free: 14.6 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002139/0.008129, allocations: 219.9 kB / 388 MB, free: 14.38 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.008132, allocations: 4 kB / 388 MB, free: 14.38 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.008134, allocations: 0 / 388 MB, free: 14.38 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.008139, allocations: 7.938 kB / 388 MB, free: 14.37 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003795/0.008518, allocations: 0.683 MB / 388.7 MB, free: 13.63 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.00852, allocations: 3.938 kB / 388.7 MB, free: 13.63 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.282e-05/0.008573, allocations: 31.98 kB / 388.7 MB, free: 13.6 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.008576, allocations: 3.938 kB / 388.7 MB, free: 13.59 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.008587, allocations: 15.98 kB / 388.8 MB, free: 13.58 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.00859, allocations: 3.938 kB / 388.8 MB, free: 13.57 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.008592, allocations: 4 kB / 388.8 MB, free: 13.57 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001853/0.008778, allocations: 0.4913 MB / 389.2 MB, free: 13.04 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.904e-05/0.008797, allocations: 39.67 kB / 389.3 MB, free: 13 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.442e-05/0.008821, allocations: 11.98 kB / 389.3 MB, free: 12.99 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.864e-05/0.0089, allocations: 4 kB / 389.3 MB, free: 12.99 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.244e-05/0.008932, allocations: 19.97 kB / 389.3 MB, free: 12.97 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-05/0.008948, allocations: 8 kB / 389.3 MB, free: 12.96 MB / 314.7 MB Notification: Performance of sorting global known variables: time 8.428e-05/0.009032, allocations: 234.9 kB / 389.6 MB, free: 12.73 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009032, allocations: 0 / 389.6 MB, free: 12.73 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002291/0.009261, allocations: 47.94 kB / 389.6 MB, free: 12.68 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * 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.0009739/0.01024, allocations: 499 kB / 390.1 MB, free: 12.38 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001447/0.01038, allocations: 119.4 kB / 390.2 MB, free: 12.26 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.01038, allocations: 0 / 390.2 MB, free: 12.26 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.495e-05/0.01044, allocations: 68.88 kB / 390.3 MB, free: 12.19 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003223/0.01076, allocations: 69.23 kB / 390.3 MB, free: 12.12 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004006/0.01116, allocations: 463.4 kB / 390.8 MB, free: 11.62 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.227e-05/0.0112, allocations: 100.2 kB / 390.9 MB, free: 11.5 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.32e-05/0.01126, allocations: 46.11 kB / 390.9 MB, free: 11.46 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.937e-05/0.01135, allocations: 114.2 kB / 391.1 MB, free: 11.34 MB / 314.7 MB Notification: Performance of SimCode: time 6.01e-07/0.01135, allocations: 0 / 391.1 MB, free: 11.34 MB / 314.7 MB Notification: Performance of Templates: time 0.004744/0.0161, allocations: 3.732 MB / 394.8 MB, free: 7.68 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.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: 3.196448932867497]