Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88.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.001001/0.001001, allocations: 80.8 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.001056/0.001056, allocations: 169.1 kB / 24.91 MB, free: 9.199 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.967/0.967, allocations: 177.1 MB / 205.3 MB, free: 5.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.2597/0.2597, allocations: 34.26 MB / 296.1 MB, free: 0.7031 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.Test88,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.[0-9,]+.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.[0-9,]+.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88") translateModel(ModelicaTest.Tables.CombiTimeTable.Test88,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.[0-9,]+.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.[0-9,]+.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.106e-06/3.106e-06, allocations: 4 kB / 325.4 MB, free: 7.551 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.345e-05/1.655e-05, allocations: 3.016 kB / 325.4 MB, free: 7.547 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test88): time 0.003293/0.00331, allocations: 2.285 MB / 327.7 MB, free: 5.25 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002041/0.00535, allocations: 1.318 MB / 329 MB, free: 3.926 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001336/0.005484, allocations: 11.94 kB / 329 MB, free: 3.914 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003708/0.005855, allocations: 111.3 kB / 329.1 MB, free: 3.805 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004505/0.006305, allocations: 254.7 kB / 329.4 MB, free: 3.555 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003173/0.006623, allocations: 191.5 kB / 329.5 MB, free: 3.367 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004898/0.007112, allocations: 474.4 kB / 330 MB, free: 2.902 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000122/0.007234, allocations: 45.23 kB / 330.1 MB, free: 2.852 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003862/0.007621, allocations: 331.2 kB / 330.4 MB, free: 2.527 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001755/0.007796, allocations: 135.5 kB / 330.5 MB, free: 2.395 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.863e-05/0.007835, allocations: 20 kB / 330.5 MB, free: 2.375 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000132/0.007967, allocations: 67.92 kB / 330.6 MB, free: 2.309 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001329/0.0081, allocations: 143.5 kB / 330.7 MB, free: 2.168 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001018/0.008202, allocations: 103.5 kB / 330.8 MB, free: 2.066 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003921/0.008594, allocations: 342.5 kB / 331.2 MB, free: 1.73 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.462e-06/0.008595, allocations: 0 / 331.2 MB, free: 1.73 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.008596, allocations: 0 / 331.2 MB, free: 1.73 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.008601, allocations: 4 kB / 331.2 MB, free: 1.727 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0007864/0.009387, allocations: 0.7329 MB / 331.9 MB, free: 0.9648 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.106e-05/0.009418, allocations: 8.031 kB / 331.9 MB, free: 0.957 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.654e-05/0.009495, allocations: 44.89 kB / 332 MB, free: 0.9141 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003812/0.009876, allocations: 330.5 kB / 332.3 MB, free: 0.5625 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.285e-05/0.009899, allocations: 12.38 kB / 332.3 MB, free: 0.5508 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.433e-05/0.009933, allocations: 20.36 kB / 332.3 MB, free: 0.5312 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002586/0.01019, allocations: 185 kB / 332.5 MB, free: 336 kB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.689e-05/0.01021, allocations: 7.891 kB / 332.5 MB, free: 328 kB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.585e-05/0.01022, allocations: 12 kB / 332.5 MB, free: 316 kB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.176e-06/0.01023, allocations: 4 kB / 332.5 MB, free: 312 kB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.482e-05/0.01033, allocations: 55.2 kB / 332.6 MB, free: 252 kB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005845/0.01091, allocations: 0.5417 MB / 333.1 MB, free: 15.67 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004011/0.01131, allocations: 369.3 kB / 333.5 MB, free: 15.27 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.071e-05/0.01139, allocations: 59.66 kB / 333.5 MB, free: 15.2 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.666e-05/0.01141, allocations: 8 kB / 333.5 MB, free: 15.19 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002265/0.01164, allocations: 176.2 kB / 333.7 MB, free: 15 MB / 314.7 MB Notification: Performance of pre-optimization done (n=28): time 1.944e-06/0.01164, allocations: 0 / 333.7 MB, free: 15 MB / 314.7 MB Notification: Performance of matching and sorting (n=44): time 0.001087/0.01273, allocations: 0.6027 MB / 334.3 MB, free: 14.39 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.968e-05/0.01278, allocations: 140.5 kB / 334.5 MB, free: 14.22 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000354/0.01313, allocations: 0.5642 MB / 335 MB, free: 13.64 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.221e-05/0.01315, allocations: 37.7 kB / 335.1 MB, free: 13.6 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.213e-05/0.01321, allocations: 158.2 kB / 335.2 MB, free: 13.44 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.417e-05/0.01329, allocations: 146.8 kB / 335.4 MB, free: 13.3 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.169e-05/0.01336, allocations: 78.11 kB / 335.4 MB, free: 13.21 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.01348, allocations: 374.6 kB / 335.8 MB, free: 12.84 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.998e-05/0.01355, allocations: 47.8 kB / 335.8 MB, free: 12.79 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.125e-05/0.01363, allocations: 123.7 kB / 336 MB, free: 12.65 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001581/0.01379, allocations: 199 kB / 336.2 MB, free: 12.43 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.01379, allocations: 3.938 kB / 336.2 MB, free: 12.43 MB / 314.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0002228/0.01402, allocations: 256.6 kB / 336.4 MB, free: 12.17 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.01403, allocations: 8.125 kB / 336.4 MB, free: 12.16 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.01403, allocations: 4 kB / 336.4 MB, free: 12.16 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.01405, allocations: 4 kB / 336.4 MB, free: 12.15 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001534/0.0142, allocations: 87.83 kB / 336.5 MB, free: 12.07 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.01421, allocations: 8 kB / 336.5 MB, free: 12.06 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.133e-05/0.01428, allocations: 19.98 kB / 336.5 MB, free: 12.04 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/0.01429, allocations: 8 kB / 336.5 MB, free: 12.03 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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 0.0001293/0.01442, allocations: 147 kB / 336.7 MB, free: 11.88 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.391e-05/0.01447, allocations: 47.95 kB / 336.7 MB, free: 11.83 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002783/0.01474, allocations: 294.4 kB / 337 MB, free: 11.54 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.01475, allocations: 7.984 kB / 337 MB, free: 11.53 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-06/0.01475, allocations: 4 kB / 337 MB, free: 11.52 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.01476, allocations: 3.984 kB / 337 MB, free: 11.52 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006391/0.0154, allocations: 1.041 MB / 338.1 MB, free: 10.43 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.0154, allocations: 4.25 kB / 338.1 MB, free: 10.42 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.8e-05/0.0155, allocations: 63.91 kB / 338.1 MB, free: 10.36 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.0155, allocations: 15.88 kB / 338.2 MB, free: 10.34 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.783e-05/0.01552, allocations: 19.98 kB / 338.2 MB, free: 10.32 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.01552, allocations: 4 kB / 338.2 MB, free: 10.32 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.01553, allocations: 7.938 kB / 338.2 MB, free: 10.31 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003393/0.01587, allocations: 0.7593 MB / 339 MB, free: 9.504 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.732e-05/0.01595, allocations: 79.48 kB / 339 MB, free: 9.426 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.007e-05/0.01599, allocations: 16 kB / 339 MB, free: 9.41 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001439/0.01614, allocations: 23.98 kB / 339.1 MB, free: 9.387 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.292e-05/0.01619, allocations: 39.88 kB / 339.1 MB, free: 9.348 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.551e-05/0.01622, allocations: 19.98 kB / 339.1 MB, free: 9.328 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001906/0.01641, allocations: 295.4 kB / 339.4 MB, free: 9.039 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01641, allocations: 0 / 339.4 MB, free: 9.039 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002992/0.01671, allocations: 95.92 kB / 339.5 MB, free: 8.945 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.001338/0.01804, allocations: 0.6575 MB / 340.2 MB, free: 8.613 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002065/0.01825, allocations: 205 kB / 340.4 MB, free: 8.41 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.954e-06/0.01826, allocations: 4 kB / 340.4 MB, free: 8.406 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001798/0.01844, allocations: 121.5 kB / 340.5 MB, free: 8.281 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004764/0.01891, allocations: 148.6 kB / 340.6 MB, free: 8.156 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007843/0.0197, allocations: 0.8956 MB / 341.5 MB, free: 7.191 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.563e-05/0.01979, allocations: 150.2 kB / 341.7 MB, free: 7.023 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.00012/0.01991, allocations: 83.23 kB / 341.8 MB, free: 6.941 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001633/0.02008, allocations: 135.3 kB / 341.9 MB, free: 6.809 MB / 314.7 MB Notification: Performance of SimCode: time 5.81e-07/0.02008, allocations: 0 / 341.9 MB, free: 6.809 MB / 314.7 MB Notification: Performance of Templates: time 0.007852/0.02793, allocations: 6.287 MB / 348.2 MB, free: 0.6445 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test88/Test88.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.1033949689008296]