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.002181/0.002181, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002724/0.002724, allocations: 165.6 kB / 24.27 MB, free: 152 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.667/1.667, allocations: 177.1 MB / 204.6 MB, free: 5.621 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.3905/0.3905, allocations: 32.8 MB / 293.9 MB, free: 1.199 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.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_s.y.1.|d_t_s.y|t_min.y.1.|d_t_min.y|t_h.y.1.|d_t_h.y|t_d.y.1.|d_t_d.y|t_ms.y.1.|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.1.|d_t_s.y|t_min.y.1.|d_t_min.y|t_h.y.1.|d_t_h.y|t_d.y.1.|d_t_d.y|t_ms.y.1.|d_t_ms.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.893e-06/1.893e-06, allocations: 0 / 375.3 MB, free: 4.934 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.719e-05/3.908e-05, allocations: 6.25 kB / 375.3 MB, free: 4.926 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.004454/0.004493, allocations: 2.31 MB / 377.6 MB, free: 2.602 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003136/0.007629, allocations: 1.365 MB / 379 MB, free: 1.23 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001662/0.007795, allocations: 7.938 kB / 379 MB, free: 1.223 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006598/0.008455, allocations: 282.9 kB / 379.3 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007448/0.0092, allocations: 358.3 kB / 379.6 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005586/0.009758, allocations: 219.5 kB / 379.9 MB, free: 388 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007848/0.01054, allocations: 0.5724 MB / 380.4 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001642/0.01071, allocations: 37.2 kB / 380.5 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004737/0.01118, allocations: 299.2 kB / 380.8 MB, free: 15.47 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004107/0.01159, allocations: 263.3 kB / 381 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 6.683e-05/0.01166, allocations: 20 kB / 381 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001767/0.01184, allocations: 59.92 kB / 381.1 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001889/0.01202, allocations: 131.5 kB / 381.2 MB, free: 15.01 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001658/0.01219, allocations: 95.58 kB / 381.3 MB, free: 14.91 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006122/0.0128, allocations: 418.4 kB / 381.7 MB, free: 14.5 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.01281, allocations: 3.984 kB / 381.7 MB, free: 14.5 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.01281, allocations: 0 / 381.7 MB, free: 14.5 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.145e-06/0.01282, allocations: 0 / 381.7 MB, free: 14.5 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.001425/0.01424, allocations: 0.8609 MB / 382.6 MB, free: 13.6 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.01428, allocations: 12.03 kB / 382.6 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001435/0.01443, allocations: 68.56 kB / 382.7 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006222/0.01505, allocations: 351.2 kB / 383 MB, free: 13.15 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.773e-05/0.01509, allocations: 16.36 kB / 383 MB, free: 13.13 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.354e-05/0.01513, allocations: 16.33 kB / 383 MB, free: 13.12 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000418/0.01555, allocations: 209 kB / 383.2 MB, free: 12.89 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.797e-05/0.01557, allocations: 3.938 kB / 383.3 MB, free: 12.88 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.672e-05/0.01559, allocations: 19.92 kB / 383.3 MB, free: 12.86 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.0156, allocations: 4 kB / 383.3 MB, free: 12.86 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002509/0.01585, allocations: 83.88 kB / 383.4 MB, free: 12.78 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001293/0.01715, allocations: 1.073 MB / 384.4 MB, free: 11.65 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006827/0.01783, allocations: 323.7 kB / 384.7 MB, free: 11.27 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002187/0.01805, allocations: 98.41 kB / 384.8 MB, free: 11.15 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.469e-05/0.01807, allocations: 4 kB / 384.8 MB, free: 11.15 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004519/0.01852, allocations: 255.2 kB / 385.1 MB, free: 10.86 MB / 362.7 MB Notification: Performance of pre-optimization done (n=30): time 1.422e-06/0.01852, allocations: 0 / 385.1 MB, free: 10.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=40): time 0.002334/0.02086, allocations: 1.053 MB / 386.2 MB, free: 9.801 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001252/0.02098, allocations: 162.2 kB / 386.3 MB, free: 9.605 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000824/0.02181, allocations: 0.6666 MB / 387 MB, free: 8.922 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.143e-05/0.02185, allocations: 37.7 kB / 387 MB, free: 8.879 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002819/0.02213, allocations: 311.7 kB / 387.3 MB, free: 8.57 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001346/0.02227, allocations: 131.1 kB / 387.4 MB, free: 8.441 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001283/0.02239, allocations: 83.84 kB / 387.5 MB, free: 8.352 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003536/0.02275, allocations: 0.5821 MB / 388.1 MB, free: 7.758 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002434/0.02299, allocations: 92.95 kB / 388.2 MB, free: 7.668 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003362/0.02333, allocations: 217.8 kB / 388.4 MB, free: 7.414 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005865/0.02391, allocations: 333 kB / 388.7 MB, free: 7.047 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.02392, allocations: 0 / 388.7 MB, free: 7.047 MB / 362.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008025/0.02472, allocations: 428.9 kB / 389.2 MB, free: 6.621 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.02473, allocations: 8.156 kB / 389.2 MB, free: 6.613 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.02475, allocations: 4 kB / 389.2 MB, free: 6.609 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.237e-05/0.02477, allocations: 7.938 kB / 389.2 MB, free: 6.602 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003252/0.02509, allocations: 75.91 kB / 389.2 MB, free: 6.527 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.91e-05/0.02511, allocations: 11.92 kB / 389.3 MB, free: 6.516 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001909/0.0253, allocations: 19.95 kB / 389.3 MB, free: 6.496 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.242e-05/0.02534, allocations: 19.98 kB / 389.3 MB, free: 6.477 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.0002242/0.02556, allocations: 211.1 kB / 389.5 MB, free: 6.258 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001278/0.02569, allocations: 75.61 kB / 389.6 MB, free: 6.184 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000998/0.02669, allocations: 474 kB / 390 MB, free: 5.711 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.378e-06/0.02669, allocations: 7.938 kB / 390.1 MB, free: 5.703 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.0267, allocations: 4 kB / 390.1 MB, free: 5.699 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.288e-05/0.02671, allocations: 3.984 kB / 390.1 MB, free: 5.695 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002028/0.02874, allocations: 1.505 MB / 391.6 MB, free: 4.125 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.554e-06/0.02875, allocations: 4 kB / 391.6 MB, free: 4.121 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001906/0.02894, allocations: 59.91 kB / 391.6 MB, free: 4.062 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.372e-06/0.02895, allocations: 4.156 kB / 391.6 MB, free: 4.059 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.93e-05/0.02898, allocations: 16 kB / 391.6 MB, free: 4.043 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.307e-05/0.02899, allocations: 12.31 kB / 391.7 MB, free: 4.031 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.02899, allocations: 0 / 391.7 MB, free: 4.031 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001217/0.03021, allocations: 1.108 MB / 392.8 MB, free: 2.875 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.64e-05/0.0303, allocations: 59.55 kB / 392.8 MB, free: 2.816 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.314e-05/0.03038, allocations: 12 kB / 392.8 MB, free: 2.805 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003245/0.0307, allocations: 19.98 kB / 392.9 MB, free: 2.785 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001084/0.03081, allocations: 43.88 kB / 392.9 MB, free: 2.742 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-05/0.03086, allocations: 23.98 kB / 392.9 MB, free: 2.719 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006136/0.03147, allocations: 446.8 kB / 393.4 MB, free: 2.285 MB / 362.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.03147, allocations: 3.938 kB / 393.4 MB, free: 2.281 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005517/0.03202, allocations: 87.95 kB / 393.4 MB, free: 2.195 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.003369/0.03539, allocations: 0.5182 MB / 394 MB, free: 1.883 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000692/0.03608, allocations: 304.1 kB / 394.3 MB, free: 1.582 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.03609, allocations: 4 kB / 394.3 MB, free: 1.578 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000328/0.03642, allocations: 169 kB / 394.4 MB, free: 1.41 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001095/0.03751, allocations: 162.9 kB / 394.6 MB, free: 1.266 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001533/0.03904, allocations: 0.9057 MB / 395.5 MB, free: 296 kB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003131/0.03936, allocations: 256.2 kB / 395.7 MB, free: 12 kB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002299/0.03959, allocations: 83.39 kB / 395.8 MB, free: 15.93 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000139/0.03973, allocations: 52.48 kB / 395.9 MB, free: 15.88 MB / 378.7 MB Notification: Performance of SimCode: time 7.41e-07/0.03973, allocations: 0 / 395.9 MB, free: 15.88 MB / 378.7 MB Notification: Performance of Templates: time 0.01308/0.0528, allocations: 6.227 MB / 402.1 MB, free: 9.758 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test67.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.410718317958526]