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.001202/0.001202, allocations: 83.58 kB / 21.19 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.001267/0.001267, 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 0.95/0.95, allocations: 177.1 MB / 205 MB, free: 5.227 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.2861/0.2861, allocations: 34.26 MB / 295.7 MB, free: 0.625 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.323e-06/1.323e-06, allocations: 0 / 378.1 MB, free: 2.547 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.92e-05/2.052e-05, allocations: 2.312 kB / 378.1 MB, free: 2.543 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.006109/0.00613, allocations: 2.338 MB / 380.5 MB, free: 196 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004958/0.01109, allocations: 1.379 MB / 381.8 MB, free: 14.81 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001356/0.01122, allocations: 7.938 kB / 381.8 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004894/0.01171, allocations: 298.8 kB / 382.1 MB, free: 14.51 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005717/0.01228, allocations: 350.4 kB / 382.5 MB, free: 14.16 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000351/0.01264, allocations: 215.5 kB / 382.7 MB, free: 13.95 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003519/0.01615, allocations: 0.5723 MB / 383.3 MB, free: 13.38 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001372/0.01629, allocations: 37.25 kB / 383.3 MB, free: 13.34 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003449/0.01664, allocations: 299.2 kB / 383.6 MB, free: 13.05 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002707/0.01691, allocations: 259.3 kB / 383.8 MB, free: 12.79 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 4.173e-05/0.01695, allocations: 20 kB / 383.9 MB, free: 12.77 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001179/0.01707, allocations: 63.91 kB / 383.9 MB, free: 12.71 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001233/0.01719, allocations: 127.5 kB / 384.1 MB, free: 12.59 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000111/0.0173, allocations: 103.5 kB / 384.2 MB, free: 12.48 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003595/0.01766, allocations: 322.6 kB / 384.5 MB, free: 12.17 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.01766, allocations: 0 / 384.5 MB, free: 12.17 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.01766, allocations: 4 kB / 384.5 MB, free: 12.16 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.01767, allocations: 0 / 384.5 MB, free: 12.16 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.001097/0.01877, allocations: 0.8302 MB / 385.3 MB, free: 11.29 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.0188, allocations: 12.03 kB / 385.3 MB, free: 11.28 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001037/0.0189, allocations: 72.55 kB / 385.4 MB, free: 11.21 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002722/0.02163, allocations: 355.1 kB / 385.7 MB, free: 10.84 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.129e-05/0.02167, allocations: 8.375 kB / 385.7 MB, free: 10.83 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.548e-05/0.02171, allocations: 20.36 kB / 385.8 MB, free: 10.81 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004111/0.02212, allocations: 205.7 kB / 386 MB, free: 10.58 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.741e-05/0.02214, allocations: 3.938 kB / 386 MB, free: 10.57 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.325e-05/0.02217, allocations: 8 kB / 386 MB, free: 10.57 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.22e-05/0.02218, allocations: 4 kB / 386 MB, free: 10.56 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00016/0.02234, allocations: 67.88 kB / 386 MB, free: 10.5 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009902/0.02333, allocations: 1.022 MB / 387.1 MB, free: 9.418 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003964/0.02372, allocations: 271.7 kB / 387.3 MB, free: 9.09 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001233/0.02385, allocations: 82.41 kB / 387.4 MB, free: 8.988 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.008e-05/0.02387, allocations: 7.938 kB / 387.4 MB, free: 8.98 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003233/0.02419, allocations: 219.3 kB / 387.6 MB, free: 8.73 MB / 362.7 MB Notification: Performance of pre-optimization done (n=30): time 2.285e-06/0.02419, allocations: 0 / 387.6 MB, free: 8.73 MB / 362.7 MB Notification: Performance of matching and sorting (n=40): time 0.001554/0.02575, allocations: 0.9447 MB / 388.6 MB, free: 7.777 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.683e-05/0.02582, allocations: 170.1 kB / 388.7 MB, free: 7.574 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005992/0.02642, allocations: 0.5768 MB / 389.3 MB, free: 6.98 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.414e-05/0.02646, allocations: 37.7 kB / 389.4 MB, free: 6.938 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001834/0.02664, allocations: 291.8 kB / 389.6 MB, free: 6.648 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001106/0.02675, allocations: 131 kB / 389.8 MB, free: 6.52 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001054/0.02686, allocations: 75.84 kB / 389.8 MB, free: 6.438 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002061/0.02706, allocations: 0.5508 MB / 390.4 MB, free: 5.875 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001341/0.0272, allocations: 61.03 kB / 390.5 MB, free: 5.816 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001831/0.02738, allocations: 177.8 kB / 390.6 MB, free: 5.602 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003272/0.02771, allocations: 252.8 kB / 390.9 MB, free: 5.312 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.02771, allocations: 4 kB / 390.9 MB, free: 5.309 MB / 362.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005498/0.02826, allocations: 341.1 kB / 391.2 MB, free: 4.969 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.518e-05/0.02829, allocations: 8 kB / 391.2 MB, free: 4.961 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.0283, allocations: 0 / 391.2 MB, free: 4.961 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.421e-05/0.02832, allocations: 7.938 kB / 391.2 MB, free: 4.953 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000275/0.0286, allocations: 87.83 kB / 391.3 MB, free: 4.867 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.12e-05/0.02861, allocations: 7.938 kB / 391.3 MB, free: 4.859 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001504/0.02876, allocations: 23.94 kB / 391.3 MB, free: 4.836 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.791e-05/0.02878, allocations: 16 kB / 391.4 MB, free: 4.82 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.000169/0.02895, allocations: 195.2 kB / 391.5 MB, free: 4.617 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001062/0.02906, allocations: 79.56 kB / 391.6 MB, free: 4.539 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000647/0.02971, allocations: 410.1 kB / 392 MB, free: 4.129 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/0.02971, allocations: 11.94 kB / 392 MB, free: 4.117 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.02972, allocations: 0 / 392 MB, free: 4.117 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.163e-06/0.02973, allocations: 3.984 kB / 392 MB, free: 4.113 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001094/0.03082, allocations: 1.414 MB / 393.5 MB, free: 2.633 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.76e-06/0.03083, allocations: 4 kB / 393.5 MB, free: 2.629 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001163/0.03094, allocations: 51.92 kB / 393.5 MB, free: 2.578 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.714e-06/0.03095, allocations: 4 kB / 393.5 MB, free: 2.574 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.13e-05/0.03097, allocations: 15.98 kB / 393.5 MB, free: 2.559 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.08e-06/0.03098, allocations: 4 kB / 393.5 MB, free: 2.555 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.03098, allocations: 4 kB / 393.5 MB, free: 2.551 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000609/0.03159, allocations: 1.037 MB / 394.6 MB, free: 1.465 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.578e-05/0.03163, allocations: 51.58 kB / 394.6 MB, free: 1.414 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.005e-05/0.03168, allocations: 20.02 kB / 394.6 MB, free: 1.395 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001888/0.03187, allocations: 19.98 kB / 394.7 MB, free: 1.375 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.183e-05/0.03194, allocations: 47.81 kB / 394.7 MB, free: 1.328 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.799e-05/0.03197, allocations: 16 kB / 394.7 MB, free: 1.312 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002811/0.03225, allocations: 398.8 kB / 395.1 MB, free: 0.9258 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.03225, allocations: 0 / 395.1 MB, free: 0.9258 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003879/0.03264, allocations: 87.92 kB / 395.2 MB, free: 0.8398 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.001001/0.03364, allocations: 459 kB / 395.7 MB, free: 0.5469 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003588/0.034, allocations: 240.5 kB / 395.9 MB, free: 316 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.034, allocations: 0 / 395.9 MB, free: 316 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000143/0.03415, allocations: 139.5 kB / 396 MB, free: 172 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006333/0.03478, allocations: 166.2 kB / 396.2 MB, free: 24 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001231/0.03601, allocations: 0.8667 MB / 397.1 MB, free: 15.09 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.792e-05/0.03611, allocations: 133.9 kB / 397.2 MB, free: 14.93 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000147/0.03626, allocations: 87.38 kB / 397.3 MB, free: 14.85 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.007e-05/0.03635, allocations: 56.48 kB / 397.3 MB, free: 14.79 MB / 378.7 MB Notification: Performance of SimCode: time 8.42e-07/0.03635, allocations: 0 / 397.3 MB, free: 14.79 MB / 378.7 MB Notification: Performance of Templates: time 0.00904/0.04539, allocations: 6.745 MB / 404.1 MB, free: 8.164 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.3597386819310486]