Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001538/0.001538, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001691/0.001691, allocations: 161 kB / 24.56 MB, free: 16 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.048/1.048, allocations: 177.1 MB / 205 MB, free: 5.625 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.2733/0.2733, allocations: 34.26 MB / 295.7 MB, free: 0.7461 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.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.1.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.1.0_ModelicaTest.Tables.CombiTimeTable.Test67") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 378.1 MB, free: 2.574 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.511e-05/2.689e-05, allocations: 6.25 kB / 378.1 MB, free: 2.566 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.00316/0.003187, allocations: 2.331 MB / 380.5 MB, free: 224 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001767/0.004954, allocations: 1.391 MB / 381.8 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001289/0.005083, allocations: 3.938 kB / 381.8 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005005/0.005583, allocations: 290.8 kB / 382.1 MB, free: 14.54 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005121/0.006096, allocations: 346.4 kB / 382.5 MB, free: 14.2 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003023/0.006398, allocations: 223.5 kB / 382.7 MB, free: 13.98 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000469/0.006867, allocations: 0.58 MB / 383.3 MB, free: 13.39 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001383/0.007005, allocations: 33.27 kB / 383.3 MB, free: 13.36 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002764/0.007281, allocations: 303.2 kB / 383.6 MB, free: 13.06 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002389/0.00752, allocations: 255.4 kB / 383.8 MB, free: 12.81 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.705e-05/0.007557, allocations: 20 kB / 383.9 MB, free: 12.79 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001034/0.007661, allocations: 59.92 kB / 383.9 MB, free: 12.73 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001111/0.007772, allocations: 127.5 kB / 384 MB, free: 12.61 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 9.181e-05/0.007864, allocations: 99.58 kB / 384.1 MB, free: 12.51 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003415/0.008205, allocations: 330.5 kB / 384.5 MB, free: 12.19 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.345e-06/0.008208, allocations: 0 / 384.5 MB, free: 12.19 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.314e-06/0.00821, allocations: 3.984 kB / 384.5 MB, free: 12.18 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.631e-06/0.008216, allocations: 0 / 384.5 MB, free: 12.18 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.0008446/0.00906, allocations: 0.834 MB / 385.3 MB, free: 11.31 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.009101, allocations: 8.031 kB / 385.3 MB, free: 11.3 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.89e-05/0.0092, allocations: 68.56 kB / 385.4 MB, free: 11.23 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003614/0.009562, allocations: 355.2 kB / 385.7 MB, free: 10.86 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.408e-05/0.009586, allocations: 12.36 kB / 385.7 MB, free: 10.85 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.179e-05/0.009618, allocations: 16.38 kB / 385.8 MB, free: 10.83 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002819/0.0099, allocations: 209.7 kB / 386 MB, free: 10.6 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.58e-05/0.009915, allocations: 7.922 kB / 386 MB, free: 10.59 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.818e-05/0.009934, allocations: 4 kB / 386 MB, free: 10.59 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.155e-05/0.009945, allocations: 4 kB / 386 MB, free: 10.58 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001094/0.01005, allocations: 63.88 kB / 386 MB, free: 10.52 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00076/0.01081, allocations: 1.019 MB / 387.1 MB, free: 9.445 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002784/0.01109, allocations: 271.7 kB / 387.3 MB, free: 9.117 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.2e-05/0.01118, allocations: 82.41 kB / 387.4 MB, free: 9.016 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.103e-05/0.01121, allocations: 11.92 kB / 387.4 MB, free: 9.004 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002238/0.01143, allocations: 219.3 kB / 387.6 MB, free: 8.754 MB / 362.7 MB Notification: Performance of pre-optimization done (n=30): time 1.233e-06/0.01143, allocations: 0 / 387.6 MB, free: 8.754 MB / 362.7 MB Notification: Performance of matching and sorting (n=40): time 0.001078/0.01251, allocations: 0.9442 MB / 388.6 MB, free: 7.801 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.632e-05/0.01258, allocations: 174.1 kB / 388.7 MB, free: 7.594 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004174/0.01299, allocations: 0.573 MB / 389.3 MB, free: 7.004 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.382e-05/0.01302, allocations: 37.69 kB / 389.4 MB, free: 6.961 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001436/0.01316, allocations: 299.7 kB / 389.6 MB, free: 6.664 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.628e-05/0.01324, allocations: 123 kB / 389.8 MB, free: 6.543 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.211e-05/0.01331, allocations: 83.84 kB / 389.8 MB, free: 6.453 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001603/0.01347, allocations: 0.5508 MB / 390.4 MB, free: 5.891 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.126e-05/0.01356, allocations: 60.95 kB / 390.5 MB, free: 5.832 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001346/0.01369, allocations: 169.8 kB / 390.6 MB, free: 5.625 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002283/0.01392, allocations: 248.8 kB / 390.9 MB, free: 5.34 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.01392, allocations: 8 kB / 390.9 MB, free: 5.332 MB / 362.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0003627/0.01429, allocations: 341.5 kB / 391.2 MB, free: 4.992 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.0143, allocations: 8 kB / 391.2 MB, free: 4.984 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.433e-06/0.01431, allocations: 4 kB / 391.2 MB, free: 4.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.01433, allocations: 7.938 kB / 391.2 MB, free: 4.973 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001743/0.0145, allocations: 83.84 kB / 391.3 MB, free: 4.891 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.061e-05/0.01451, allocations: 11.98 kB / 391.3 MB, free: 4.879 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.517e-05/0.01461, allocations: 24.11 kB / 391.3 MB, free: 4.855 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.957e-05/0.01463, allocations: 15.98 kB / 391.4 MB, free: 4.84 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.0001199/0.01475, allocations: 199 kB / 391.6 MB, free: 4.633 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.762e-05/0.01481, allocations: 79.61 kB / 391.6 MB, free: 4.555 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004653/0.01528, allocations: 402.1 kB / 392 MB, free: 4.152 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.01528, allocations: 11.94 kB / 392 MB, free: 4.141 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.01529, allocations: 0 / 392 MB, free: 4.141 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.672e-06/0.0153, allocations: 3.984 kB / 392 MB, free: 4.137 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001221/0.01652, allocations: 1.41 MB / 393.4 MB, free: 2.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.706e-06/0.01653, allocations: 4 kB / 393.5 MB, free: 2.656 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001985/0.01672, allocations: 55.91 kB / 393.5 MB, free: 2.602 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.917e-06/0.01673, allocations: 4 kB / 393.5 MB, free: 2.598 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.76e-05/0.01677, allocations: 19.94 kB / 393.5 MB, free: 2.578 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.594e-06/0.01678, allocations: 7.984 kB / 393.5 MB, free: 2.57 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.01678, allocations: 0 / 393.5 MB, free: 2.57 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006988/0.01748, allocations: 1.034 MB / 394.6 MB, free: 1.488 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.775e-05/0.01753, allocations: 55.56 kB / 394.6 MB, free: 1.434 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.726e-05/0.01757, allocations: 16 kB / 394.6 MB, free: 1.418 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001795/0.01775, allocations: 15.98 kB / 394.7 MB, free: 1.402 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.993e-05/0.01782, allocations: 47.81 kB / 394.7 MB, free: 1.355 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.9e-05/0.01785, allocations: 23.98 kB / 394.7 MB, free: 1.332 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003319/0.01818, allocations: 394.8 kB / 395.1 MB, free: 0.9492 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.01818, allocations: 0 / 395.1 MB, free: 0.9492 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003649/0.01855, allocations: 84 kB / 395.2 MB, free: 0.8672 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.0009598/0.01951, allocations: 460.3 kB / 395.6 MB, free: 0.5703 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003082/0.01982, allocations: 240.5 kB / 395.9 MB, free: 340 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.01982, allocations: 0 / 395.9 MB, free: 340 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001491/0.01997, allocations: 136.2 kB / 396 MB, free: 200 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006297/0.0206, allocations: 161.7 kB / 396.2 MB, free: 56 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001275/0.02187, allocations: 0.8745 MB / 397 MB, free: 15.11 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001118/0.02199, allocations: 133.9 kB / 397.2 MB, free: 14.96 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001314/0.02212, allocations: 83.39 kB / 397.3 MB, free: 14.88 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.415e-05/0.02221, allocations: 56.48 kB / 397.3 MB, free: 14.82 MB / 378.7 MB Notification: Performance of SimCode: time 1.072e-06/0.02221, allocations: 4 kB / 397.3 MB, free: 14.82 MB / 378.7 MB Notification: Performance of Templates: time 0.008523/0.03074, allocations: 6.24 MB / 403.6 MB, free: 8.68 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test67_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.5176555649377406]