Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001975/0.001975, allocations: 92.31 kB / 20.96 MB, free: 3.477 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.003138/0.003138, allocations: 161.7 kB / 24.27 MB, free: 176 kB / 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.545/1.545, allocations: 177.2 MB / 204.6 MB, free: 5.574 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3992/0.3992, allocations: 32.79 MB / 293.9 MB, free: 1.223 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88") translateModel(ModelicaTest.Tables.CombiTimeTable.Test88,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 375.3 MB, free: 4.891 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.025e-05/3.17e-05, allocations: 10.25 kB / 375.4 MB, free: 4.879 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test88): time 0.004556/0.004588, allocations: 2.183 MB / 377.5 MB, free: 2.684 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002985/0.007573, allocations: 1.275 MB / 378.8 MB, free: 1.402 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002548/0.007828, allocations: 3.938 kB / 378.8 MB, free: 1.398 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000531/0.008359, allocations: 123.3 kB / 378.9 MB, free: 1.277 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009388/0.009297, allocations: 246.9 kB / 379.2 MB, free: 1.035 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000622/0.009919, allocations: 195.4 kB / 379.4 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008957/0.01082, allocations: 478.4 kB / 379.8 MB, free: 384 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001883/0.011, allocations: 41.25 kB / 379.9 MB, free: 340 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007641/0.01177, allocations: 347.3 kB / 380.2 MB, free: 15.99 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002955/0.01206, allocations: 131.5 kB / 380.3 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 6.529e-05/0.01213, allocations: 20 kB / 380.4 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002267/0.01235, allocations: 79.75 kB / 380.4 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002246/0.01258, allocations: 135.5 kB / 380.6 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001843/0.01276, allocations: 103.5 kB / 380.7 MB, free: 15.53 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006872/0.01345, allocations: 422.4 kB / 381.1 MB, free: 15.12 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.01346, allocations: 0 / 381.1 MB, free: 15.12 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.01346, allocations: 0 / 381.1 MB, free: 15.12 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.843e-06/0.01347, allocations: 0 / 381.1 MB, free: 15.12 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.001309/0.01477, allocations: 0.7565 MB / 381.8 MB, free: 14.32 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.923e-05/0.01482, allocations: 11.98 kB / 381.9 MB, free: 14.31 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001559/0.01498, allocations: 84.5 kB / 381.9 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006237/0.0156, allocations: 362.4 kB / 382.3 MB, free: 13.85 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.422e-05/0.01563, allocations: 8.375 kB / 382.3 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.113e-05/0.01568, allocations: 16.38 kB / 382.3 MB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004415/0.01612, allocations: 202 kB / 382.5 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.027e-05/0.01614, allocations: 7.891 kB / 382.5 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.416e-05/0.01616, allocations: 4 kB / 382.5 MB, free: 13.6 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.01617, allocations: 4 kB / 382.5 MB, free: 13.6 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000279/0.01645, allocations: 107.9 kB / 382.6 MB, free: 13.49 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001071/0.01752, allocations: 0.7193 MB / 383.4 MB, free: 12.73 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007402/0.01826, allocations: 242.4 kB / 383.6 MB, free: 12.46 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002376/0.0185, allocations: 91.45 kB / 383.7 MB, free: 12.36 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.465e-05/0.01852, allocations: 8 kB / 383.7 MB, free: 12.35 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004448/0.01897, allocations: 208.3 kB / 383.9 MB, free: 12.12 MB / 362.7 MB Notification: Performance of pre-optimization done (n=28): time 1.493e-06/0.01897, allocations: 0 / 383.9 MB, free: 12.12 MB / 362.7 MB Notification: Performance of matching and sorting (n=44): time 0.002964/0.02193, allocations: 1.184 MB / 385.1 MB, free: 10.93 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001093/0.02204, allocations: 136.5 kB / 385.2 MB, free: 10.77 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00107/0.02311, allocations: 0.8087 MB / 386 MB, free: 9.945 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.714e-05/0.02316, allocations: 37.7 kB / 386.1 MB, free: 9.902 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002569/0.02342, allocations: 249 kB / 386.3 MB, free: 9.656 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000149/0.02357, allocations: 146.8 kB / 386.4 MB, free: 9.512 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001275/0.02369, allocations: 78.19 kB / 386.5 MB, free: 9.43 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0005301/0.02422, allocations: 382.7 kB / 386.9 MB, free: 9.047 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002805/0.0245, allocations: 113 kB / 387 MB, free: 8.938 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003585/0.02486, allocations: 195.7 kB / 387.2 MB, free: 8.723 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006537/0.02552, allocations: 331 kB / 387.5 MB, free: 8.375 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.02552, allocations: 0 / 387.5 MB, free: 8.375 MB / 362.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0009783/0.0265, allocations: 473 kB / 388 MB, free: 7.906 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.009e-05/0.02653, allocations: 15.98 kB / 388 MB, free: 7.891 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.176e-06/0.02653, allocations: 0 / 388 MB, free: 7.891 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.011e-05/0.02656, allocations: 4 kB / 388 MB, free: 7.887 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000312/0.02688, allocations: 87.91 kB / 388.1 MB, free: 7.801 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.136e-05/0.02689, allocations: 3.984 kB / 388.1 MB, free: 7.797 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001648/0.02705, allocations: 19.94 kB / 388.1 MB, free: 7.777 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.938e-05/0.02709, allocations: 19.98 kB / 388.1 MB, free: 7.758 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.0003114/0.0274, allocations: 228.1 kB / 388.3 MB, free: 7.527 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001401/0.02754, allocations: 83.58 kB / 388.4 MB, free: 7.445 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001134/0.02868, allocations: 0.5296 MB / 389 MB, free: 6.902 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.019e-05/0.02869, allocations: 11.94 kB / 389 MB, free: 6.891 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.02869, allocations: 0 / 389 MB, free: 6.891 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.0287, allocations: 0 / 389 MB, free: 6.891 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002064/0.03076, allocations: 1.244 MB / 390.2 MB, free: 5.582 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-06/0.03077, allocations: 4 kB / 390.2 MB, free: 5.578 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002015/0.03097, allocations: 67.92 kB / 390.3 MB, free: 5.512 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.885e-06/0.03098, allocations: 4 kB / 390.3 MB, free: 5.508 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.484e-05/0.03102, allocations: 15.98 kB / 390.3 MB, free: 5.492 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.046e-05/0.03103, allocations: 11.94 kB / 390.3 MB, free: 5.48 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.03103, allocations: 0 / 390.3 MB, free: 5.48 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001243/0.03227, allocations: 0.8459 MB / 391.2 MB, free: 4.586 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002019/0.03247, allocations: 103.5 kB / 391.3 MB, free: 4.484 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.164e-05/0.03256, allocations: 19.98 kB / 391.3 MB, free: 4.465 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003044/0.03286, allocations: 15.98 kB / 391.3 MB, free: 4.449 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001135/0.03297, allocations: 47.81 kB / 391.3 MB, free: 4.402 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.527e-05/0.03302, allocations: 16 kB / 391.4 MB, free: 4.387 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0007963/0.03382, allocations: 0.5967 MB / 392 MB, free: 3.793 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.03382, allocations: 0 / 392 MB, free: 3.793 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005965/0.03441, allocations: 95.92 kB / 392.1 MB, free: 3.699 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.002736/0.03715, allocations: 0.5687 MB / 392.6 MB, free: 3.367 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007433/0.03789, allocations: 311.1 kB / 392.9 MB, free: 3.062 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.03789, allocations: 0 / 392.9 MB, free: 3.062 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003798/0.03827, allocations: 164.3 kB / 393.1 MB, free: 2.902 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001028/0.0393, allocations: 145 kB / 393.2 MB, free: 2.773 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002295/0.0416, allocations: 1.108 MB / 394.3 MB, free: 1.598 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003953/0.04199, allocations: 292.4 kB / 394.6 MB, free: 1.293 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002386/0.04223, allocations: 79.25 kB / 394.7 MB, free: 1.215 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001459/0.04238, allocations: 56.48 kB / 394.8 MB, free: 1.16 MB / 362.7 MB Notification: Performance of SimCode: time 8.31e-07/0.04238, allocations: 4 kB / 394.8 MB, free: 1.156 MB / 362.7 MB Notification: Performance of Templates: time 0.01297/0.05535, allocations: 5.752 MB / 400.5 MB, free: 11.49 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test88/Test88.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test88.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.122975646983832]