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.00108/0.00108, allocations: 67.77 kB / 21.69 MB, free: 2.852 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.001092/0.001092, allocations: 165.9 kB / 24.99 MB, free: 9.277 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.088/1.088, allocations: 177.1 MB / 205.3 MB, free: 5.633 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.2899/0.2899, allocations: 34.26 MB / 296 MB, free: 0.7734 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.704e-06/1.704e-06, allocations: 0 / 378.1 MB, free: 2.891 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.951e-05/3.121e-05, allocations: 2.312 kB / 378.1 MB, free: 2.887 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.003946/0.003977, allocations: 2.335 MB / 380.4 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002199/0.006176, allocations: 1.375 MB / 381.8 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002839/0.00646, allocations: 7.938 kB / 381.8 MB, free: 15.15 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005911/0.007051, allocations: 290.8 kB / 382.1 MB, free: 14.86 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006749/0.007726, allocations: 350.4 kB / 382.4 MB, free: 14.52 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005977/0.008324, allocations: 219.4 kB / 382.7 MB, free: 14.3 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007875/0.009111, allocations: 0.5724 MB / 383.2 MB, free: 13.73 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001896/0.009301, allocations: 37.25 kB / 383.3 MB, free: 13.69 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001053/0.01035, allocations: 295.2 kB / 383.6 MB, free: 13.4 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003339/0.01069, allocations: 259.3 kB / 383.8 MB, free: 13.15 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.422e-05/0.01073, allocations: 20 kB / 383.8 MB, free: 13.13 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001893/0.01092, allocations: 75.84 kB / 383.9 MB, free: 13.05 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001348/0.01106, allocations: 119.5 kB / 384 MB, free: 12.94 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001138/0.01117, allocations: 99.56 kB / 384.1 MB, free: 12.84 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004338/0.0116, allocations: 322.6 kB / 384.4 MB, free: 12.52 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.235e-06/0.01161, allocations: 3.984 kB / 384.4 MB, free: 12.52 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.01161, allocations: 0 / 384.4 MB, free: 12.52 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.087e-05/0.01162, allocations: 3.938 kB / 384.4 MB, free: 12.52 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.001144/0.01277, allocations: 0.834 MB / 385.3 MB, free: 11.64 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.976e-05/0.01282, allocations: 12.03 kB / 385.3 MB, free: 11.63 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001352/0.01295, allocations: 68.56 kB / 385.4 MB, free: 11.56 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005141/0.01347, allocations: 347.2 kB / 385.7 MB, free: 11.2 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.877e-05/0.01351, allocations: 16.36 kB / 385.7 MB, free: 11.18 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.087e-05/0.01355, allocations: 16.31 kB / 385.7 MB, free: 11.16 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003698/0.01392, allocations: 201.8 kB / 385.9 MB, free: 10.94 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.041e-05/0.01394, allocations: 11.92 kB / 385.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.088e-05/0.01396, allocations: 4 kB / 385.9 MB, free: 10.92 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.213e-05/0.01397, allocations: 8 kB / 385.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001408/0.01411, allocations: 63.88 kB / 386 MB, free: 10.85 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000924/0.01504, allocations: 1.026 MB / 387 MB, free: 9.77 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003885/0.01542, allocations: 267.6 kB / 387.3 MB, free: 9.445 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001225/0.01555, allocations: 86.39 kB / 387.4 MB, free: 9.34 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.091e-05/0.01557, allocations: 8 kB / 387.4 MB, free: 9.332 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003133/0.01588, allocations: 211.3 kB / 387.6 MB, free: 9.09 MB / 362.7 MB Notification: Performance of pre-optimization done (n=30): time 2.534e-06/0.01588, allocations: 4 kB / 387.6 MB, free: 9.086 MB / 362.7 MB Notification: Performance of matching and sorting (n=40): time 0.00165/0.01753, allocations: 0.9521 MB / 388.6 MB, free: 8.125 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001085/0.01764, allocations: 162.2 kB / 388.7 MB, free: 7.93 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006404/0.01828, allocations: 0.573 MB / 389.3 MB, free: 7.34 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.469e-05/0.01833, allocations: 37.69 kB / 389.3 MB, free: 7.297 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002152/0.01854, allocations: 307.7 kB / 389.6 MB, free: 6.992 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001366/0.01868, allocations: 119 kB / 389.7 MB, free: 6.875 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000114/0.01879, allocations: 79.84 kB / 389.8 MB, free: 6.789 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002219/0.01902, allocations: 0.5508 MB / 390.4 MB, free: 6.227 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001465/0.01916, allocations: 72.89 kB / 390.4 MB, free: 6.156 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004549/0.01962, allocations: 169.8 kB / 390.6 MB, free: 5.949 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003254/0.01994, allocations: 248.8 kB / 390.8 MB, free: 5.664 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.01995, allocations: 0 / 390.8 MB, free: 5.664 MB / 362.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005507/0.0205, allocations: 349 kB / 391.2 MB, free: 5.316 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.763e-05/0.02052, allocations: 4 kB / 391.2 MB, free: 5.312 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/0.02054, allocations: 4 kB / 391.2 MB, free: 5.309 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.376e-05/0.02056, allocations: 7.938 kB / 391.2 MB, free: 5.301 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002644/0.02082, allocations: 84.06 kB / 391.3 MB, free: 5.219 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.549e-05/0.02084, allocations: 7.984 kB / 391.3 MB, free: 5.211 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001455/0.02098, allocations: 23.89 kB / 391.3 MB, free: 5.188 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.638e-05/0.02101, allocations: 19.98 kB / 391.3 MB, free: 5.168 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.000165/0.02118, allocations: 191.1 kB / 391.5 MB, free: 4.969 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.92e-05/0.02128, allocations: 75.61 kB / 391.6 MB, free: 4.895 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006359/0.02191, allocations: 406.1 kB / 392 MB, free: 4.488 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.655e-06/0.02192, allocations: 7.938 kB / 392 MB, free: 4.48 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.02192, allocations: 0 / 392 MB, free: 4.48 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.586e-06/0.02193, allocations: 11.98 kB / 392 MB, free: 4.469 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001617/0.02355, allocations: 1.406 MB / 393.4 MB, free: 2.996 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.02356, allocations: 4 kB / 393.4 MB, free: 2.992 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001393/0.02369, allocations: 55.91 kB / 393.5 MB, free: 2.938 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.693e-06/0.0237, allocations: 4 kB / 393.5 MB, free: 2.934 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.52e-05/0.02373, allocations: 16 kB / 393.5 MB, free: 2.918 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.342e-06/0.02373, allocations: 12.14 kB / 393.5 MB, free: 2.906 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.02374, allocations: 7.938 kB / 393.5 MB, free: 2.898 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008054/0.02454, allocations: 1.03 MB / 394.5 MB, free: 1.82 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001186/0.02466, allocations: 55.56 kB / 394.6 MB, free: 1.766 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.871e-05/0.02474, allocations: 16 kB / 394.6 MB, free: 1.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003217/0.02506, allocations: 15.98 kB / 394.6 MB, free: 1.734 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001066/0.02517, allocations: 43.88 kB / 394.7 MB, free: 1.691 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.208e-05/0.02521, allocations: 24.36 kB / 394.7 MB, free: 1.668 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003858/0.0256, allocations: 394.8 kB / 395.1 MB, free: 1.285 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.0256, allocations: 4 kB / 395.1 MB, free: 1.281 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005419/0.02614, allocations: 84 kB / 395.2 MB, free: 1.199 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.0013/0.02744, allocations: 475 kB / 395.6 MB, free: 0.8945 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004149/0.02785, allocations: 232.6 kB / 395.9 MB, free: 0.6641 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.02785, allocations: 4 kB / 395.9 MB, free: 0.6602 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001806/0.02804, allocations: 135.9 kB / 396 MB, free: 0.5234 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009103/0.02895, allocations: 151.8 kB / 396.1 MB, free: 400 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001649/0.03059, allocations: 0.8786 MB / 397 MB, free: 15.44 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001273/0.03072, allocations: 141.9 kB / 397.2 MB, free: 15.28 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001919/0.03091, allocations: 83.39 kB / 397.2 MB, free: 15.2 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001058/0.03102, allocations: 52.48 kB / 397.3 MB, free: 15.15 MB / 378.7 MB Notification: Performance of SimCode: time 1.272e-06/0.03102, allocations: 0 / 397.3 MB, free: 15.15 MB / 378.7 MB Notification: Performance of Templates: time 0.01025/0.04127, allocations: 6.247 MB / 403.5 MB, free: 9.008 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.4482963918708265]