Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.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.001116/0.001116, allocations: 77.97 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.001046/0.001046, allocations: 167.5 kB / 24.82 MB, free: 9.258 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.9768/0.9768, allocations: 177.1 MB / 205.3 MB, free: 5.484 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.2795/0.2795, allocations: 32.81 MB / 294.6 MB, free: 1.25 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.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_s.y.[0-9,]+.|d_t_s.y|t_min.y.[0-9,]+.|d_t_min.y|t_h.y.[0-9,]+.|d_t_h.y|t_d.y.[0-9,]+.|d_t_d.y|t_ms.y.[0-9,]+.|d_t_ms.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67") translateModel(ModelicaTest.Tables.CombiTimeTable.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_s.y.[0-9,]+.|d_t_s.y|t_min.y.[0-9,]+.|d_t_min.y|t_h.y.[0-9,]+.|d_t_h.y|t_d.y.[0-9,]+.|d_t_d.y|t_ms.y.[0-9,]+.|d_t_ms.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 376.6 MB, free: 4.328 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.877e-05/2.014e-05, allocations: 2.312 kB / 376.6 MB, free: 4.324 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.002714/0.002734, allocations: 2.323 MB / 378.9 MB, free: 1.984 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00181/0.004544, allocations: 1.36 MB / 380.2 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001489/0.004693, allocations: 7.938 kB / 380.2 MB, free: 0.6133 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004259/0.005119, allocations: 294.8 kB / 380.5 MB, free: 332 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004793/0.005598, allocations: 346.5 kB / 380.9 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003517/0.00595, allocations: 227.3 kB / 381.1 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004806/0.00643, allocations: 0.5684 MB / 381.7 MB, free: 15.19 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001172/0.006548, allocations: 37.27 kB / 381.7 MB, free: 15.15 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003079/0.006855, allocations: 299.2 kB / 382 MB, free: 14.86 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002334/0.007089, allocations: 259.3 kB / 382.2 MB, free: 14.61 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.366e-05/0.007122, allocations: 20 kB / 382.3 MB, free: 14.59 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001032/0.007226, allocations: 59.92 kB / 382.3 MB, free: 14.53 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.263e-05/0.007318, allocations: 127.5 kB / 382.5 MB, free: 14.4 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001038/0.007422, allocations: 99.58 kB / 382.5 MB, free: 14.3 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002943/0.007716, allocations: 330.5 kB / 382.9 MB, free: 13.98 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.007719, allocations: 0 / 382.9 MB, free: 13.98 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.00772, allocations: 0 / 382.9 MB, free: 13.98 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.007725, allocations: 0 / 382.9 MB, free: 13.98 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0007617/0.008487, allocations: 0.8456 MB / 383.7 MB, free: 13.09 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.008523, allocations: 11.98 kB / 383.7 MB, free: 13.08 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.583e-05/0.008609, allocations: 68.56 kB / 383.8 MB, free: 13.02 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003853/0.008994, allocations: 351.1 kB / 384.1 MB, free: 12.64 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.945e-05/0.009013, allocations: 12.38 kB / 384.1 MB, free: 12.63 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.281e-05/0.009036, allocations: 8.375 kB / 384.2 MB, free: 12.62 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001969/0.009233, allocations: 201.7 kB / 384.4 MB, free: 12.4 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.009245, allocations: 7.938 kB / 384.4 MB, free: 12.39 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.009256, allocations: 8 kB / 384.4 MB, free: 12.38 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.009263, allocations: 4 kB / 384.4 MB, free: 12.38 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.629e-05/0.009339, allocations: 51.88 kB / 384.4 MB, free: 12.33 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005553/0.009895, allocations: 0.9489 MB / 385.4 MB, free: 11.33 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00023/0.01012, allocations: 255.6 kB / 385.6 MB, free: 11.02 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.666e-05/0.01019, allocations: 82.34 kB / 385.7 MB, free: 10.92 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.826e-05/0.01021, allocations: 8 kB / 385.7 MB, free: 10.91 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003275/0.01054, allocations: 211.2 kB / 385.9 MB, free: 10.67 MB / 362.7 MB Notification: Performance of pre-optimization done (n=30): time 1.363e-06/0.01054, allocations: 0 / 385.9 MB, free: 10.67 MB / 362.7 MB Notification: Performance of matching and sorting (n=40): time 0.0007752/0.01131, allocations: 0.5605 MB / 386.5 MB, free: 10.1 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.448e-05/0.01137, allocations: 174.1 kB / 386.6 MB, free: 9.895 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003421/0.01171, allocations: 0.5609 MB / 387.2 MB, free: 9.316 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.266e-05/0.01173, allocations: 37.7 kB / 387.2 MB, free: 9.273 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001393/0.01187, allocations: 295.7 kB / 387.5 MB, free: 8.98 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.139e-05/0.01194, allocations: 131 kB / 387.7 MB, free: 8.852 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.87e-05/0.01201, allocations: 79.75 kB / 387.7 MB, free: 8.766 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001416/0.01215, allocations: 0.5624 MB / 388.3 MB, free: 8.191 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.657e-05/0.01221, allocations: 40.97 kB / 388.3 MB, free: 8.152 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001056/0.01232, allocations: 157.7 kB / 388.5 MB, free: 7.957 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001803/0.0125, allocations: 241 kB / 388.7 MB, free: 7.68 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.0125, allocations: 0 / 388.7 MB, free: 7.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0002899/0.01279, allocations: 313 kB / 389 MB, free: 7.367 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/0.0128, allocations: 8 kB / 389 MB, free: 7.359 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.972e-06/0.01281, allocations: 0.5938 kB / 389 MB, free: 7.359 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.01282, allocations: 8 kB / 389.1 MB, free: 7.352 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001591/0.01298, allocations: 91.77 kB / 389.1 MB, free: 7.262 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.01298, allocations: 4 kB / 389.1 MB, free: 7.258 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.707e-05/0.01308, allocations: 27.98 kB / 389.2 MB, free: 7.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.379e-05/0.01309, allocations: 8 kB / 389.2 MB, free: 7.223 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.t_s.nextTimeEvent,$whenCondition5,t_s.nextTimeEventScaled,$PRE.t_s.nextTimeEventScaled,t_s.nextTimeEvent,$PRE.t_min.nextTimeEvent,$whenCondition4,t_min.nextTimeEventScaled,$PRE.t_min.nextTimeEventScaled,t_min.nextTimeEvent,$PRE.t_h.nextTimeEvent,$whenCondition3,t_h.nextTimeEventScaled,$PRE.t_h.nextTimeEventScaled,t_h.nextTimeEvent,$PRE.t_d.nextTimeEvent,$whenCondition2,t_d.nextTimeEventScaled,$PRE.t_d.nextTimeEventScaled,t_d.nextTimeEvent,$PRE.t_ms.nextTimeEvent,$whenCondition1,t_ms.nextTimeEventScaled,$PRE.t_ms.nextTimeEventScaled,t_ms.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * 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.0003792/0.01347, allocations: 203 kB / 389.4 MB, free: 7.012 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.553e-05/0.01354, allocations: 79.58 kB / 389.5 MB, free: 6.934 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003807/0.01392, allocations: 374.1 kB / 389.8 MB, free: 6.559 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.01392, allocations: 8 kB / 389.8 MB, free: 6.551 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.01393, allocations: 11.92 kB / 389.8 MB, free: 6.539 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.01393, allocations: 0 / 389.8 MB, free: 6.539 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008139/0.01475, allocations: 1.309 MB / 391.2 MB, free: 5.172 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.01475, allocations: 0 / 391.2 MB, free: 5.172 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.927e-05/0.01484, allocations: 55.91 kB / 391.2 MB, free: 5.117 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.01484, allocations: 4 kB / 391.2 MB, free: 5.113 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.866e-05/0.01486, allocations: 24.14 kB / 391.2 MB, free: 5.09 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.01486, allocations: 4 kB / 391.2 MB, free: 5.086 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.01487, allocations: 4.391 kB / 391.2 MB, free: 5.082 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005145/0.01538, allocations: 1.014 MB / 392.3 MB, free: 4.02 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.398e-05/0.01542, allocations: 59.61 kB / 392.3 MB, free: 3.961 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.872e-05/0.01546, allocations: 8 kB / 392.3 MB, free: 3.953 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001782/0.01564, allocations: 23.98 kB / 392.3 MB, free: 3.93 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.144e-05/0.01569, allocations: 39.81 kB / 392.4 MB, free: 3.891 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.642e-05/0.01572, allocations: 23.98 kB / 392.4 MB, free: 3.867 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001966/0.01592, allocations: 366.7 kB / 392.8 MB, free: 3.512 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01592, allocations: 0 / 392.8 MB, free: 3.512 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003599/0.01628, allocations: 87.98 kB / 392.9 MB, free: 3.426 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled,$whenCondition2,t_d.nextTimeEvent,t_d.nextTimeEventScaled,$whenCondition3,t_h.nextTimeEvent,t_h.nextTimeEventScaled,$whenCondition4,t_min.nextTimeEvent,t_min.nextTimeEventScaled,$whenCondition5,t_s.nextTimeEvent,t_s.nextTimeEventScaled) * Number of discrete states: 10 (t_s.nextTimeEvent,t_s.nextTimeEventScaled,t_min.nextTimeEvent,t_min.nextTimeEventScaled,t_h.nextTimeEvent,t_h.nextTimeEventScaled,t_d.nextTimeEvent,t_d.nextTimeEventScaled,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.0008485/0.01712, allocations: 464.4 kB / 393.3 MB, free: 3.129 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002342/0.01736, allocations: 204.3 kB / 393.5 MB, free: 2.926 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.01736, allocations: 8.062 kB / 393.5 MB, free: 2.918 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001088/0.01747, allocations: 128.6 kB / 393.6 MB, free: 2.789 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006219/0.01809, allocations: 161.8 kB / 393.8 MB, free: 2.645 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001087/0.01918, allocations: 0.863 MB / 394.7 MB, free: 1.711 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.346e-05/0.01927, allocations: 133.9 kB / 394.8 MB, free: 1.559 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001397/0.01941, allocations: 79.39 kB / 394.9 MB, free: 1.48 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001983/0.01961, allocations: 182.1 kB / 395 MB, free: 1.301 MB / 362.7 MB Notification: Performance of SimCode: time 5.52e-07/0.01961, allocations: 0 / 395 MB, free: 1.301 MB / 362.7 MB Notification: Performance of Templates: time 0.008944/0.02856, allocations: 6.865 MB / 401.9 MB, free: 10.56 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test67/Test67.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.0918527618050575]