Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.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.001082/0.001082, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001612/0.001612, allocations: 168.8 kB / 24.82 MB, free: 9.27 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.065/1.065, allocations: 177.1 MB / 205.3 MB, free: 5.512 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.2891/0.2891, allocations: 34.26 MB / 296.1 MB, free: 0.7109 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.Test87,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.Test87") translateModel(ModelicaTest.Tables.CombiTimeTable.Test87,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.Test87") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.825e-06/2.825e-06, allocations: 0 / 378.6 MB, free: 2.277 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.705e-05/3.987e-05, allocations: 2.312 kB / 378.6 MB, free: 2.273 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test87): time 0.004496/0.004536, allocations: 2.23 MB / 380.8 MB, free: 28 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002639/0.007175, allocations: 1.29 MB / 382.1 MB, free: 14.73 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002905/0.007466, allocations: 7.938 kB / 382.1 MB, free: 14.73 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005288/0.007994, allocations: 139.2 kB / 382.3 MB, free: 14.59 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007407/0.008735, allocations: 266.7 kB / 382.5 MB, free: 14.33 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00057/0.009305, allocations: 191.5 kB / 382.7 MB, free: 14.14 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006925/0.009998, allocations: 486.4 kB / 383.2 MB, free: 13.66 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001813/0.01018, allocations: 41.25 kB / 383.2 MB, free: 13.62 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005781/0.01076, allocations: 387.1 kB / 383.6 MB, free: 13.24 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002247/0.01098, allocations: 135.5 kB / 383.7 MB, free: 13.11 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.433e-05/0.01103, allocations: 20 kB / 383.8 MB, free: 13.09 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001873/0.01121, allocations: 75.91 kB / 383.8 MB, free: 13.02 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001569/0.01137, allocations: 159.4 kB / 384 MB, free: 12.86 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001108/0.01148, allocations: 111.4 kB / 384.1 MB, free: 12.75 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005134/0.01199, allocations: 374.3 kB / 384.5 MB, free: 12.38 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.012, allocations: 4 kB / 384.5 MB, free: 12.38 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.012, allocations: 0 / 384.5 MB, free: 12.38 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.904e-06/0.01201, allocations: 0 / 384.5 MB, free: 12.38 MB / 362.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.001177/0.01319, allocations: 0.9533 MB / 385.4 MB, free: 11.38 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.01323, allocations: 12.03 kB / 385.4 MB, free: 11.37 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001394/0.01337, allocations: 84.42 kB / 385.5 MB, free: 11.29 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004331/0.0138, allocations: 377 kB / 385.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.6e-05/0.01383, allocations: 8.375 kB / 385.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.476e-05/0.01386, allocations: 20.33 kB / 385.9 MB, free: 10.87 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002915/0.01415, allocations: 197.5 kB / 386.1 MB, free: 10.65 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.756e-05/0.01417, allocations: 3.938 kB / 386.1 MB, free: 10.64 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/0.01419, allocations: 0 / 386.1 MB, free: 10.64 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.01419, allocations: 4 kB / 386.1 MB, free: 10.64 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001048/0.0143, allocations: 59.86 kB / 386.2 MB, free: 10.58 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008985/0.0152, allocations: 0.8562 MB / 387 MB, free: 9.684 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004316/0.01563, allocations: 224.4 kB / 387.2 MB, free: 9.414 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.408e-05/0.01572, allocations: 70.78 kB / 387.3 MB, free: 9.328 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.028e-05/0.01575, allocations: 4 kB / 387.3 MB, free: 9.324 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000332/0.01609, allocations: 189.2 kB / 387.5 MB, free: 9.109 MB / 362.7 MB Notification: Performance of pre-optimization done (n=28): time 2.585e-06/0.01609, allocations: 0 / 387.5 MB, free: 9.109 MB / 362.7 MB Notification: Performance of matching and sorting (n=44): time 0.001476/0.01756, allocations: 0.7203 MB / 388.2 MB, free: 8.383 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.202e-05/0.01763, allocations: 136.5 kB / 388.4 MB, free: 8.219 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005153/0.01814, allocations: 0.7335 MB / 389.1 MB, free: 7.465 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.756e-05/0.01818, allocations: 37.7 kB / 389.1 MB, free: 7.422 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001799/0.01836, allocations: 351.6 kB / 389.5 MB, free: 7.074 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001053/0.01846, allocations: 146.8 kB / 389.6 MB, free: 6.93 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.42e-05/0.01856, allocations: 83.78 kB / 389.7 MB, free: 6.84 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.0187, allocations: 0.4926 MB / 390.2 MB, free: 6.34 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.55e-05/0.01877, allocations: 56.95 kB / 390.2 MB, free: 6.285 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001121/0.01888, allocations: 150.3 kB / 390.4 MB, free: 6.109 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001336/0.02022, allocations: 221.6 kB / 390.6 MB, free: 5.859 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.905e-06/0.02023, allocations: 7.938 kB / 390.6 MB, free: 5.852 MB / 362.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005828/0.02081, allocations: 352.8 kB / 391 MB, free: 5.5 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.557e-05/0.02084, allocations: 8 kB / 391 MB, free: 5.492 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.198e-06/0.02085, allocations: 0 / 391 MB, free: 5.492 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.383e-05/0.02087, allocations: 4 kB / 391 MB, free: 5.488 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002396/0.02111, allocations: 87.89 kB / 391.1 MB, free: 5.402 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.02112, allocations: 5.172 kB / 391.1 MB, free: 5.398 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001032/0.02122, allocations: 23.94 kB / 391.1 MB, free: 5.375 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.896e-05/0.02124, allocations: 12 kB / 391.1 MB, free: 5.363 MB / 362.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.0001593/0.0214, allocations: 194.9 kB / 391.3 MB, free: 5.164 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.991e-05/0.02148, allocations: 95.61 kB / 391.4 MB, free: 5.07 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004792/0.02196, allocations: 419.6 kB / 391.8 MB, free: 4.648 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.674e-06/0.02197, allocations: 8 kB / 391.8 MB, free: 4.641 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.085e-06/0.02197, allocations: 0 / 391.8 MB, free: 4.641 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.001e-05/0.02198, allocations: 7.969 kB / 391.8 MB, free: 4.633 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001101/0.02308, allocations: 1.297 MB / 393.1 MB, free: 3.266 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.02308, allocations: 7.938 kB / 393.1 MB, free: 3.258 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001203/0.02321, allocations: 71.91 kB / 393.2 MB, free: 3.188 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.116e-05/0.02322, allocations: 7.938 kB / 393.2 MB, free: 3.18 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.965e-05/0.02324, allocations: 19.98 kB / 393.2 MB, free: 3.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.704e-06/0.02324, allocations: 7.938 kB / 393.2 MB, free: 3.152 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.02325, allocations: 4 kB / 393.2 MB, free: 3.148 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006661/0.02391, allocations: 0.9421 MB / 394.2 MB, free: 2.145 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000127/0.02404, allocations: 111.5 kB / 394.3 MB, free: 2.035 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.756e-05/0.02409, allocations: 19.98 kB / 394.3 MB, free: 2.016 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001574/0.02425, allocations: 19.98 kB / 394.3 MB, free: 1.996 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.014e-05/0.02432, allocations: 39.88 kB / 394.4 MB, free: 1.957 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.532e-05/0.02435, allocations: 20 kB / 394.4 MB, free: 1.938 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003194/0.02467, allocations: 470.8 kB / 394.8 MB, free: 1.484 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.02467, allocations: 0 / 394.8 MB, free: 1.484 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000391/0.02506, allocations: 87.94 kB / 394.9 MB, free: 1.398 MB / 362.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.001249/0.02631, allocations: 0.4994 MB / 395.4 MB, free: 1.082 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002854/0.0266, allocations: 220.4 kB / 395.6 MB, free: 0.8633 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.0266, allocations: 0 / 395.6 MB, free: 0.8633 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001264/0.02672, allocations: 140.8 kB / 395.8 MB, free: 0.7188 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006021/0.02733, allocations: 149 kB / 395.9 MB, free: 0.582 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001183/0.02851, allocations: 1.023 MB / 396.9 MB, free: 15.48 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001193/0.02863, allocations: 170 kB / 397.1 MB, free: 15.29 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001513/0.02878, allocations: 75.25 kB / 397.2 MB, free: 15.22 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002001/0.02898, allocations: 166.1 kB / 397.3 MB, free: 15.05 MB / 378.7 MB Notification: Performance of SimCode: time 9.31e-07/0.02898, allocations: 4 kB / 397.3 MB, free: 15.05 MB / 378.7 MB Notification: Performance of Templates: time 0.01103/0.04001, allocations: 6.386 MB / 403.7 MB, free: 8.773 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test87/Test87.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.4613175648264587]