Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.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.0009453/0.0009453, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.0009313/0.0009313, allocations: 165 kB / 24.56 MB, free: 12 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 0.9285/0.9285, allocations: 177.1 MB / 205 MB, free: 5.637 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.2473/0.2473, allocations: 32.8 MB / 294.3 MB, free: 1.262 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.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77") translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.336e-06/3.336e-06, allocations: 3.984 kB / 376.1 MB, free: 4.566 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.399e-05/2.733e-05, allocations: 6.312 kB / 376.1 MB, free: 4.559 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.002215/0.002242, allocations: 1.941 MB / 378.1 MB, free: 2.602 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001403/0.003646, allocations: 1.106 MB / 379.2 MB, free: 1.492 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.032e-05/0.003736, allocations: 7.938 kB / 379.2 MB, free: 1.484 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003682/0.004104, allocations: 163.3 kB / 379.3 MB, free: 1.324 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000367/0.004471, allocations: 187.2 kB / 379.5 MB, free: 1.141 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000229/0.0047, allocations: 119.5 kB / 379.6 MB, free: 1.023 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002705/0.004971, allocations: 259.2 kB / 379.9 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.005081, allocations: 21.94 kB / 379.9 MB, free: 0.75 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001379/0.005219, allocations: 135.7 kB / 380 MB, free: 0.6172 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000132/0.005351, allocations: 127.7 kB / 380.2 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.209e-05/0.005373, allocations: 12 kB / 380.2 MB, free: 492 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001019/0.005475, allocations: 63.86 kB / 380.2 MB, free: 428 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.621e-05/0.005541, allocations: 55.77 kB / 380.3 MB, free: 372 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.76e-05/0.005599, allocations: 43.8 kB / 380.3 MB, free: 328 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002971/0.005896, allocations: 179.3 kB / 380.5 MB, free: 148 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.005898, allocations: 0 / 380.5 MB, free: 148 kB / 346.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.005899, allocations: 7.938 kB / 380.5 MB, free: 140 kB / 346.7 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.005904, allocations: 0 / 380.5 MB, free: 140 kB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006024/0.006506, allocations: 0.5731 MB / 381.1 MB, free: 15.53 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/0.00654, allocations: 8.031 kB / 381.1 MB, free: 15.52 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.008e-05/0.0066, allocations: 32.8 kB / 381.1 MB, free: 15.49 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002161/0.006816, allocations: 216.6 kB / 381.3 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.152e-05/0.006838, allocations: 8.375 kB / 381.4 MB, free: 15.24 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.556e-05/0.006863, allocations: 8.375 kB / 381.4 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000189/0.007052, allocations: 114.2 kB / 381.5 MB, free: 15.1 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.007067, allocations: 3.938 kB / 381.5 MB, free: 15.1 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.672e-05/0.007083, allocations: 12 kB / 381.5 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.007092, allocations: 0 / 381.5 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.625e-05/0.007159, allocations: 35.91 kB / 381.5 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004256/0.007584, allocations: 0.4907 MB / 382 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002425/0.007827, allocations: 118.1 kB / 382.1 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.59e-05/0.007873, allocations: 35.48 kB / 382.2 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.376e-05/0.007886, allocations: 4 kB / 382.2 MB, free: 14.33 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001461/0.008032, allocations: 124.3 kB / 382.3 MB, free: 14.19 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.112e-06/0.008034, allocations: 0 / 382.3 MB, free: 14.19 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.0007538/0.008787, allocations: 453.5 kB / 382.7 MB, free: 13.74 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.79e-05/0.008825, allocations: 81.05 kB / 382.8 MB, free: 13.64 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002432/0.009069, allocations: 354.3 kB / 383.2 MB, free: 13.28 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.009087, allocations: 33.7 kB / 383.2 MB, free: 13.24 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.235e-05/0.00918, allocations: 203.2 kB / 383.4 MB, free: 13.04 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.587e-05/0.009236, allocations: 83.34 kB / 383.5 MB, free: 12.95 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.18e-05/0.009287, allocations: 55.36 kB / 383.5 MB, free: 12.89 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.009443, allocations: 0.5157 MB / 384 MB, free: 12.36 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.087e-05/0.009494, allocations: 27.98 kB / 384.1 MB, free: 12.34 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.31e-05/0.009567, allocations: 82.7 kB / 384.1 MB, free: 12.24 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001332/0.009701, allocations: 130.8 kB / 384.3 MB, free: 12.09 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.009702, allocations: 0 / 384.3 MB, free: 12.09 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000218/0.00992, allocations: 197.3 kB / 384.5 MB, free: 11.89 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/0.009931, allocations: 8.062 kB / 384.5 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.009936, allocations: 0 / 384.5 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.009949, allocations: 4 kB / 384.5 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.946e-05/0.01004, allocations: 39.92 kB / 384.5 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.01005, allocations: 7.938 kB / 384.5 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.474e-05/0.01009, allocations: 11.98 kB / 384.5 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.217e-05/0.0101, allocations: 12 kB / 384.6 MB, free: 11.81 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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 8.665e-05/0.01019, allocations: 164.5 kB / 384.7 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.644e-05/0.01023, allocations: 43.77 kB / 384.8 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002622/0.01049, allocations: 227.8 kB / 385 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.01049, allocations: 4 kB / 385 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.0105, allocations: 3.938 kB / 385 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.0105, allocations: 7.984 kB / 385 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005386/0.01104, allocations: 0.737 MB / 385.7 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.01104, allocations: 0 / 385.7 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.631e-05/0.0111, allocations: 35.98 kB / 385.8 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.0111, allocations: 3.984 kB / 385.8 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.361e-05/0.01112, allocations: 12.11 kB / 385.8 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.01112, allocations: 7.938 kB / 385.8 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.01112, allocations: 3.984 kB / 385.8 MB, free: 10.49 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002911/0.01141, allocations: 0.5005 MB / 386.3 MB, free: 9.957 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.331e-05/0.01144, allocations: 31.8 kB / 386.3 MB, free: 9.926 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.287e-05/0.01146, allocations: 4 kB / 386.3 MB, free: 9.922 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.428e-05/0.01153, allocations: 12 kB / 386.3 MB, free: 9.91 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.438e-05/0.01158, allocations: 23.91 kB / 386.4 MB, free: 9.887 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.788e-05/0.0116, allocations: 11.98 kB / 386.4 MB, free: 9.875 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001367/0.01173, allocations: 250.9 kB / 386.6 MB, free: 9.629 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01173, allocations: 4 kB / 386.6 MB, free: 9.625 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002361/0.01197, allocations: 55.92 kB / 386.7 MB, free: 9.57 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001011/0.01298, allocations: 487.5 kB / 387.2 MB, free: 9.281 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002144/0.0132, allocations: 136 kB / 387.3 MB, free: 9.145 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.0132, allocations: 0 / 387.3 MB, free: 9.145 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.367e-05/0.01328, allocations: 75.52 kB / 387.4 MB, free: 9.066 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000347/0.01363, allocations: 68.48 kB / 387.4 MB, free: 9 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005698/0.0142, allocations: 469.5 kB / 387.9 MB, free: 8.492 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.338e-05/0.01426, allocations: 88.69 kB / 388 MB, free: 8.387 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.346e-05/0.01433, allocations: 45.91 kB / 388 MB, free: 8.344 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.499e-05/0.01439, allocations: 28.5 kB / 388 MB, free: 8.316 MB / 362.7 MB Notification: Performance of SimCode: time 6.82e-07/0.01439, allocations: 0 / 388 MB, free: 8.316 MB / 362.7 MB Notification: Performance of Templates: time 0.005419/0.01981, allocations: 3.6 MB / 391.6 MB, free: 4.77 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.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.9709886140190065]