Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001389/0.001389, allocations: 77.88 kB / 21.42 MB, free: 3.066 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.001568/0.001568, allocations: 168.7 kB / 24.82 MB, free: 9.262 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.026/1.026, allocations: 177.1 MB / 205.3 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] 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.2351/0.2351, allocations: 32.81 MB / 294.6 MB, free: 1.16 MB / 266.7 MB " [Timeout remaining time 180] 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.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.0.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.0.0_ModelicaTest.Tables.CombiTimeTable.Test87") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.923e-06/1.923e-06, allocations: 0 / 376.6 MB, free: 4.27 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.514e-05/1.706e-05, allocations: 2.312 kB / 376.6 MB, free: 4.266 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test87): time 0.002459/0.002476, allocations: 2.241 MB / 378.8 MB, free: 2.008 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001536/0.004012, allocations: 1.279 MB / 380.1 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001258/0.004138, allocations: 11.94 kB / 380.1 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000426/0.004564, allocations: 131.3 kB / 380.2 MB, free: 0.582 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005588/0.005123, allocations: 274.6 kB / 380.5 MB, free: 320 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004452/0.005568, allocations: 195.4 kB / 380.7 MB, free: 124 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005517/0.00612, allocations: 474.5 kB / 381.2 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001473/0.006267, allocations: 41.25 kB / 381.2 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004887/0.006756, allocations: 387.1 kB / 381.6 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002094/0.006965, allocations: 147.5 kB / 381.7 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.796e-05/0.007013, allocations: 16 kB / 381.7 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001616/0.007174, allocations: 75.86 kB / 381.8 MB, free: 15 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001595/0.007334, allocations: 163.4 kB / 382 MB, free: 14.84 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001168/0.007451, allocations: 107.4 kB / 382.1 MB, free: 14.73 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004531/0.007904, allocations: 374.3 kB / 382.5 MB, free: 14.37 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.007908, allocations: 4 kB / 382.5 MB, free: 14.36 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.007909, allocations: 0 / 382.5 MB, free: 14.36 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.873e-06/0.007916, allocations: 4 kB / 382.5 MB, free: 14.36 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.001069/0.008985, allocations: 0.9455 MB / 383.4 MB, free: 13.37 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.009028, allocations: 12.02 kB / 383.4 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001212/0.009149, allocations: 88.42 kB / 383.5 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004568/0.009606, allocations: 373.1 kB / 383.9 MB, free: 12.88 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.709e-05/0.009633, allocations: 12.38 kB / 383.9 MB, free: 12.87 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.769e-05/0.009671, allocations: 16.36 kB / 383.9 MB, free: 12.86 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002906/0.009961, allocations: 177.5 kB / 384.1 MB, free: 12.66 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.983e-05/0.009981, allocations: 15.89 kB / 384.1 MB, free: 12.64 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.875e-05/0.01, allocations: 7.984 kB / 384.1 MB, free: 12.63 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.01001, allocations: 4 kB / 384.1 MB, free: 12.63 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001142/0.01012, allocations: 47.88 kB / 384.1 MB, free: 12.58 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008146/0.01094, allocations: 0.8562 MB / 385 MB, free: 11.68 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003272/0.01127, allocations: 220.2 kB / 385.2 MB, free: 11.42 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.399e-05/0.01133, allocations: 82.95 kB / 385.3 MB, free: 11.32 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.92e-05/0.01135, allocations: 4 kB / 385.3 MB, free: 11.32 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000179/0.01153, allocations: 185.2 kB / 385.5 MB, free: 11.11 MB / 362.7 MB Notification: Performance of pre-optimization done (n=28): time 1.543e-06/0.01153, allocations: 0 / 385.5 MB, free: 11.11 MB / 362.7 MB Notification: Performance of matching and sorting (n=44): time 0.001064/0.01259, allocations: 0.7247 MB / 386.2 MB, free: 10.38 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.818e-05/0.01265, allocations: 140.5 kB / 386.3 MB, free: 10.21 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004758/0.01313, allocations: 0.7374 MB / 387.1 MB, free: 9.449 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.785e-05/0.01315, allocations: 37.7 kB / 387.1 MB, free: 9.406 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001711/0.01333, allocations: 347.6 kB / 387.5 MB, free: 9.062 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.177e-05/0.01342, allocations: 142.8 kB / 387.6 MB, free: 8.922 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.03e-05/0.0135, allocations: 91.77 kB / 387.7 MB, free: 8.824 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.01363, allocations: 0.4926 MB / 388.2 MB, free: 8.324 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.683e-05/0.01368, allocations: 48.95 kB / 388.2 MB, free: 8.277 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001032/0.01379, allocations: 154.4 kB / 388.4 MB, free: 8.094 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001857/0.01397, allocations: 225.6 kB / 388.6 MB, free: 7.84 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.01398, allocations: 3.938 kB / 388.6 MB, free: 7.836 MB / 362.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0003087/0.01429, allocations: 349.1 kB / 388.9 MB, free: 7.488 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.0143, allocations: 8.125 kB / 388.9 MB, free: 7.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.01431, allocations: 4 kB / 389 MB, free: 7.477 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.01432, allocations: 7.984 kB / 389 MB, free: 7.469 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001448/0.01447, allocations: 87.84 kB / 389 MB, free: 7.383 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.01447, allocations: 4 kB / 389.1 MB, free: 7.379 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.399e-05/0.01455, allocations: 15.98 kB / 389.1 MB, free: 7.363 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.453e-05/0.01456, allocations: 12 kB / 389.1 MB, free: 7.352 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.0001199/0.01468, allocations: 194.9 kB / 389.3 MB, free: 7.152 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.971e-05/0.01475, allocations: 99.42 kB / 389.4 MB, free: 7.055 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004152/0.01517, allocations: 415.7 kB / 389.8 MB, free: 6.637 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.379e-06/0.01517, allocations: 4 kB / 389.8 MB, free: 6.633 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.01517, allocations: 3.984 kB / 389.8 MB, free: 6.629 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.653e-06/0.01518, allocations: 4 kB / 389.8 MB, free: 6.625 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009099/0.01609, allocations: 1.293 MB / 391.1 MB, free: 5.262 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.01609, allocations: 4.25 kB / 391.1 MB, free: 5.258 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.717e-05/0.01619, allocations: 75.84 kB / 391.2 MB, free: 5.184 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.169e-06/0.0162, allocations: 11.88 kB / 391.2 MB, free: 5.172 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.705e-05/0.01621, allocations: 16 kB / 391.2 MB, free: 5.156 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.626e-06/0.01622, allocations: 4 kB / 391.2 MB, free: 5.152 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.01622, allocations: 4 kB / 391.2 MB, free: 5.148 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005071/0.01673, allocations: 0.9498 MB / 392.1 MB, free: 4.137 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001145/0.01684, allocations: 111.4 kB / 392.2 MB, free: 4.027 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.338e-05/0.01688, allocations: 16 kB / 392.3 MB, free: 4.012 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000151/0.01704, allocations: 19.98 kB / 392.3 MB, free: 3.992 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.012e-05/0.0171, allocations: 43.88 kB / 392.3 MB, free: 3.949 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.743e-05/0.01712, allocations: 23.98 kB / 392.3 MB, free: 3.926 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002759/0.0174, allocations: 462.8 kB / 392.8 MB, free: 3.48 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.0174, allocations: 4 kB / 392.8 MB, free: 3.477 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003452/0.01774, allocations: 91.92 kB / 392.9 MB, free: 3.387 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.001051/0.0188, allocations: 0.4973 MB / 393.4 MB, free: 3.07 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002423/0.01904, allocations: 215.8 kB / 393.6 MB, free: 2.855 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.01904, allocations: 4 kB / 393.6 MB, free: 2.852 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001162/0.01916, allocations: 133 kB / 393.7 MB, free: 2.719 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005373/0.01969, allocations: 153.1 kB / 393.9 MB, free: 2.578 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009221/0.02062, allocations: 1.03 MB / 394.9 MB, free: 1.461 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001063/0.02072, allocations: 158.1 kB / 395.1 MB, free: 1.289 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001252/0.02085, allocations: 79.23 kB / 395.1 MB, free: 1.211 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001848/0.02103, allocations: 174.1 kB / 395.3 MB, free: 1.039 MB / 362.7 MB Notification: Performance of SimCode: time 6.61e-07/0.02103, allocations: 0 / 395.3 MB, free: 1.039 MB / 362.7 MB Notification: Performance of Templates: time 0.008223/0.02926, allocations: 6.407 MB / 401.7 MB, free: 10.75 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.1512907301075757]