Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test31.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.0009661/0.0009661, allocations: 80.92 kB / 21.49 MB, free: 2.992 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.001165/0.001165, allocations: 172.9 kB / 24.91 MB, free: 8.766 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 0.9595/0.9595, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.2561/0.2561, allocations: 34.27 MB / 296.1 MB, free: 0.668 MB / 266.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.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test31") translateModel(ModelicaTest.Tables.CombiTimeTable.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 325.4 MB, free: 7.535 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.228e-05/2.371e-05, allocations: 7.406 kB / 325.4 MB, free: 7.527 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test31): time 0.002547/0.002571, allocations: 1.799 MB / 327.2 MB, free: 5.715 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001317/0.003888, allocations: 1.003 MB / 328.2 MB, free: 4.707 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.766e-05/0.003965, allocations: 4 kB / 328.2 MB, free: 4.703 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000295/0.00426, allocations: 39.7 kB / 328.2 MB, free: 4.664 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002759/0.004536, allocations: 95.47 kB / 328.3 MB, free: 4.57 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001641/0.0047, allocations: 83.59 kB / 328.4 MB, free: 4.488 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001628/0.004863, allocations: 99.7 kB / 328.5 MB, free: 4.391 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.32e-05/0.004956, allocations: 11.98 kB / 328.5 MB, free: 4.379 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.125e-05/0.005048, allocations: 55.77 kB / 328.6 MB, free: 4.324 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.707e-05/0.005125, allocations: 23.91 kB / 328.6 MB, free: 4.301 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.469e-05/0.005139, allocations: 4 kB / 328.6 MB, free: 4.297 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.241e-05/0.005212, allocations: 43.94 kB / 328.6 MB, free: 4.254 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.434e-05/0.005256, allocations: 27.91 kB / 328.7 MB, free: 4.227 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.015e-05/0.005286, allocations: 23.86 kB / 328.7 MB, free: 4.203 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001629/0.005449, allocations: 103.6 kB / 328.8 MB, free: 4.102 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.543e-06/0.005451, allocations: 0 / 328.8 MB, free: 4.102 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.42e-07/0.005452, allocations: 0 / 328.8 MB, free: 4.102 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.777e-06/0.005455, allocations: 0 / 328.8 MB, free: 4.102 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.0003548/0.00581, allocations: 325.5 kB / 329.1 MB, free: 3.762 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.005843, allocations: 8.031 kB / 329.1 MB, free: 3.754 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.227e-05/0.005876, allocations: 8.922 kB / 329.1 MB, free: 3.746 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001555/0.006031, allocations: 151.4 kB / 329.3 MB, free: 3.574 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.481e-05/0.006046, allocations: 4.375 kB / 329.3 MB, free: 3.57 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.638e-05/0.006062, allocations: 8.312 kB / 329.3 MB, free: 3.562 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001018/0.006164, allocations: 65.7 kB / 329.4 MB, free: 3.488 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.006176, allocations: 3.938 kB / 329.4 MB, free: 3.484 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.312e-06/0.006182, allocations: 0 / 329.4 MB, free: 3.484 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.006189, allocations: 4 kB / 329.4 MB, free: 3.48 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.274e-05/0.006212, allocations: 7.984 kB / 329.4 MB, free: 3.473 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002136/0.006426, allocations: 170 kB / 329.5 MB, free: 3.289 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.434e-05/0.00652, allocations: 81.3 kB / 329.6 MB, free: 3.199 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.156e-05/0.006541, allocations: 16.8 kB / 329.6 MB, free: 3.18 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.216e-05/0.006554, allocations: 0 / 329.6 MB, free: 3.18 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.382e-05/0.006647, allocations: 70.14 kB / 329.7 MB, free: 3.098 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.663e-06/0.006649, allocations: 0 / 329.7 MB, free: 3.098 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003098/0.006959, allocations: 113.5 kB / 329.8 MB, free: 2.98 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.194e-05/0.006991, allocations: 51.41 kB / 329.9 MB, free: 2.918 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000112/0.007103, allocations: 177.3 kB / 330 MB, free: 2.73 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.563e-05/0.007118, allocations: 25.7 kB / 330.1 MB, free: 2.699 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.431e-05/0.007153, allocations: 100.1 kB / 330.2 MB, free: 2.598 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.91e-05/0.007182, allocations: 27.78 kB / 330.2 MB, free: 2.57 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.062e-05/0.007213, allocations: 29.7 kB / 330.2 MB, free: 2.535 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.544e-05/0.007288, allocations: 322.8 kB / 330.5 MB, free: 2.211 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.626e-05/0.007304, allocations: 10.81 kB / 330.5 MB, free: 2.199 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.752e-05/0.007332, allocations: 29.64 kB / 330.6 MB, free: 2.164 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.263e-05/0.007374, allocations: 32.53 kB / 330.6 MB, free: 2.125 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.007377, allocations: 4 kB / 330.6 MB, free: 2.121 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.427e-05/0.007451, allocations: 76.36 kB / 330.7 MB, free: 2.039 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.007464, allocations: 11.98 kB / 330.7 MB, free: 2.027 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.00747, allocations: 8.016 kB / 330.7 MB, free: 2.02 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.007484, allocations: 0 / 330.7 MB, free: 2.02 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.411e-05/0.007548, allocations: 12 kB / 330.7 MB, free: 2.008 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.366e-06/0.007551, allocations: 4 kB / 330.7 MB, free: 2.004 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.929e-05/0.007581, allocations: 4 kB / 330.7 MB, free: 2 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.634e-06/0.007588, allocations: 7.984 kB / 330.7 MB, free: 1.992 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 6.386e-05/0.007652, allocations: 120.6 kB / 330.8 MB, free: 1.863 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.147e-05/0.007664, allocations: 11.92 kB / 330.9 MB, free: 1.852 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.762e-05/0.007761, allocations: 71.14 kB / 330.9 MB, free: 1.773 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.007765, allocations: 4 kB / 330.9 MB, free: 1.77 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-06/0.007766, allocations: 7.938 kB / 330.9 MB, free: 1.762 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.007771, allocations: 0 / 330.9 MB, free: 1.762 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002181/0.007989, allocations: 299.5 kB / 331.2 MB, free: 1.441 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.007992, allocations: 7.984 kB / 331.2 MB, free: 1.434 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.389e-05/0.008016, allocations: 11.94 kB / 331.3 MB, free: 1.422 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.008019, allocations: 0 / 331.3 MB, free: 1.422 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.711e-06/0.008024, allocations: 0 / 331.3 MB, free: 1.422 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.008026, allocations: 4 kB / 331.3 MB, free: 1.418 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.008027, allocations: 0 / 331.3 MB, free: 1.418 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001051/0.008132, allocations: 215 kB / 331.5 MB, free: 1.188 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.109e-05/0.008143, allocations: 15.98 kB / 331.5 MB, free: 1.172 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.639e-05/0.008159, allocations: 4 kB / 331.5 MB, free: 1.168 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.69e-05/0.008196, allocations: 384 / 331.5 MB, free: 1.168 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.469e-05/0.008231, allocations: 7.984 kB / 331.5 MB, free: 1.16 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.194e-05/0.008243, allocations: 8 kB / 331.5 MB, free: 1.152 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.026e-05/0.008283, allocations: 43.64 kB / 331.5 MB, free: 1.102 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.008283, allocations: 0 / 331.5 MB, free: 1.102 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001436/0.008427, allocations: 27.94 kB / 331.6 MB, free: 1.074 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.001212/0.009638, allocations: 0.5834 MB / 332.2 MB, free: 0.793 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.968e-05/0.009728, allocations: 44.77 kB / 332.2 MB, free: 0.7461 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.009731, allocations: 0 / 332.2 MB, free: 0.7461 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.146e-05/0.009762, allocations: 28.8 kB / 332.2 MB, free: 0.7148 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001758/0.009938, allocations: 35.03 kB / 332.3 MB, free: 0.6836 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003168/0.01026, allocations: 215.7 kB / 332.5 MB, free: 452 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.945e-05/0.01029, allocations: 71.33 kB / 332.5 MB, free: 360 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.493e-05/0.01033, allocations: 13.28 kB / 332.6 MB, free: 344 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.213e-05/0.0104, allocations: 71.36 kB / 332.6 MB, free: 272 kB / 298.7 MB Notification: Performance of SimCode: time 7.01e-07/0.0104, allocations: 0 / 332.6 MB, free: 272 kB / 298.7 MB Notification: Performance of Templates: time 0.003382/0.01378, allocations: 2.018 MB / 334.6 MB, free: 14.28 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test31.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test31 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test31/Test31.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.952428444288671]