Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.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.0007898/0.0007898, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001063/0.001853, allocations: 447.8 kB / 10.35 MB, free: 348 kB / 10.45 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.000687/0.000687, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00084/0.001527, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9258/0.9258, allocations: 158.6 MB / 171 MB, free: 2.176 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1991/1.125, allocations: 49.5 MB / 220.5 MB, free: 5.273 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1545/0.1545, allocations: 32.35 MB / 253.6 MB, free: 4.164 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02545/0.1799, allocations: 12.3 MB / 265.9 MB, free: 7.828 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|err1.y|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14") translateModel(ModelicaTest.Tables.CombiTimeTable.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|err1.y|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.845e-06/2.845e-06, allocations: 0 / 267.3 MB, free: 6.461 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.225e-05/3.51e-05, allocations: 6.25 kB / 267.3 MB, free: 6.453 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.003638/0.003673, allocations: 2.059 MB / 269.4 MB, free: 4.375 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001584/0.005257, allocations: 0.9086 MB / 270.3 MB, free: 3.457 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001119/0.005369, allocations: 7.938 kB / 270.3 MB, free: 3.449 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002533/0.005622, allocations: 43.7 kB / 270.3 MB, free: 3.406 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002084/0.005831, allocations: 71.5 kB / 270.4 MB, free: 3.336 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003209/0.006152, allocations: 123.6 kB / 270.5 MB, free: 3.215 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002944/0.006446, allocations: 203.3 kB / 270.7 MB, free: 3.016 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001254/0.006572, allocations: 18.45 kB / 270.7 MB, free: 2.996 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000219/0.006791, allocations: 151.6 kB / 270.9 MB, free: 2.848 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001166/0.006907, allocations: 55.86 kB / 270.9 MB, free: 2.793 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.054e-05/0.006938, allocations: 15.94 kB / 270.9 MB, free: 2.777 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001176/0.007055, allocations: 47.98 kB / 271 MB, free: 2.73 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.616e-05/0.007131, allocations: 23.94 kB / 271 MB, free: 2.707 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.159e-05/0.007193, allocations: 35.88 kB / 271 MB, free: 2.672 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002939/0.007487, allocations: 159.3 kB / 271.2 MB, free: 2.516 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.288e-05/0.00751, allocations: 0 / 271.2 MB, free: 2.516 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.644e-06/0.007511, allocations: 0 / 271.2 MB, free: 2.516 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.011e-05/0.007532, allocations: 0 / 271.2 MB, free: 2.516 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0006651/0.008197, allocations: 486.8 kB / 271.7 MB, free: 2.004 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.5e-05/0.008232, allocations: 12.03 kB / 271.7 MB, free: 1.992 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.548e-05/0.008277, allocations: 16.91 kB / 271.7 MB, free: 1.977 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002192/0.008496, allocations: 178.3 kB / 271.9 MB, free: 1.773 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.018e-05/0.008516, allocations: 4.375 kB / 271.9 MB, free: 1.77 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.385e-05/0.00854, allocations: 12.36 kB / 271.9 MB, free: 1.758 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002108/0.008751, allocations: 150 kB / 272 MB, free: 1.586 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.008762, allocations: 3.938 kB / 272 MB, free: 1.582 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.008774, allocations: 11.94 kB / 272.1 MB, free: 1.57 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/0.008781, allocations: 3.984 kB / 272.1 MB, free: 1.566 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.293e-05/0.008834, allocations: 22.81 kB / 272.1 MB, free: 1.543 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003971/0.009231, allocations: 386 kB / 272.5 MB, free: 1.141 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002033/0.009434, allocations: 113.3 kB / 272.6 MB, free: 1.02 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.35e-05/0.009468, allocations: 24.84 kB / 272.6 MB, free: 0.9922 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.296e-05/0.009481, allocations: 0 / 272.6 MB, free: 0.9922 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001579/0.009638, allocations: 123.7 kB / 272.7 MB, free: 0.8516 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 1.803e-06/0.00964, allocations: 0 / 272.7 MB, free: 0.8516 MB / 266.7 MB Notification: Performance of matching and sorting (n=12): time 0.0001769/0.009817, allocations: 93.64 kB / 272.8 MB, free: 0.7539 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.786e-05/0.009855, allocations: 59.34 kB / 272.9 MB, free: 0.6836 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001474/0.01, allocations: 208.1 kB / 273.1 MB, free: 476 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.876e-05/0.01002, allocations: 29.7 kB / 273.1 MB, free: 440 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.672e-05/0.01008, allocations: 108.4 kB / 273.2 MB, free: 328 kB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.207e-05/0.01011, allocations: 43.67 kB / 273.2 MB, free: 284 kB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.504e-05/0.01016, allocations: 37.69 kB / 273.3 MB, free: 240 kB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.885e-05/0.01025, allocations: 334.7 kB / 273.6 MB, free: 15.9 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.921e-05/0.0103, allocations: 48.52 kB / 273.7 MB, free: 15.84 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.32e-05/0.01036, allocations: 73.98 kB / 273.7 MB, free: 15.75 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.174e-05/0.01045, allocations: 123.5 kB / 273.8 MB, free: 15.61 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.01045, allocations: 0 / 273.8 MB, free: 15.61 MB / 282.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001442/0.01059, allocations: 159.8 kB / 274 MB, free: 15.43 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.39e-05/0.01064, allocations: 37.83 kB / 274 MB, free: 15.39 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.01065, allocations: 0 / 274 MB, free: 15.39 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.01066, allocations: 4 kB / 274 MB, free: 15.38 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001164/0.01077, allocations: 47.91 kB / 274.1 MB, free: 15.34 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.01078, allocations: 3.984 kB / 274.1 MB, free: 15.33 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.812e-05/0.01085, allocations: 23.88 kB / 274.1 MB, free: 15.31 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.355e-05/0.01086, allocations: 8 kB / 274.1 MB, free: 15.3 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.0001421/0.011, allocations: 124.6 kB / 274.2 MB, free: 15.17 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.695e-05/0.01103, allocations: 15.98 kB / 274.3 MB, free: 15.15 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001669/0.0112, allocations: 103 kB / 274.4 MB, free: 15.05 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.0112, allocations: 0 / 274.4 MB, free: 15.05 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.0112, allocations: 0 / 274.4 MB, free: 15.05 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.0112, allocations: 0 / 274.4 MB, free: 15.05 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.771e-05/0.0113, allocations: 109.8 kB / 274.5 MB, free: 14.93 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.0113, allocations: 3.938 kB / 274.5 MB, free: 14.92 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.701e-05/0.01139, allocations: 19.98 kB / 274.5 MB, free: 14.9 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.721e-05/0.01141, allocations: 19.8 kB / 274.5 MB, free: 14.88 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.01141, allocations: 0 / 274.5 MB, free: 14.88 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.01142, allocations: 8 kB / 274.5 MB, free: 14.88 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.01142, allocations: 0 / 274.5 MB, free: 14.88 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.01142, allocations: 4 kB / 274.5 MB, free: 14.87 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001607/0.01158, allocations: 138.6 kB / 274.7 MB, free: 14.71 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.98e-05/0.0116, allocations: 4 kB / 274.7 MB, free: 14.71 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.248e-05/0.01166, allocations: 15.98 kB / 274.7 MB, free: 14.7 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.627e-05/0.0117, allocations: 15.97 kB / 274.7 MB, free: 14.68 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.399e-05/0.01172, allocations: 8 kB / 274.7 MB, free: 14.67 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.983e-05/0.01177, allocations: 61.05 kB / 274.8 MB, free: 14.61 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01177, allocations: 0 / 274.8 MB, free: 14.61 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001461/0.01191, allocations: 40 kB / 274.8 MB, free: 14.57 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001162/0.01307, allocations: 0.567 MB / 275.4 MB, free: 13.99 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001833/0.01326, allocations: 157.8 kB / 275.5 MB, free: 13.82 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.073e-05/0.01327, allocations: 4 kB / 275.5 MB, free: 13.81 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.81e-05/0.01332, allocations: 32.84 kB / 275.6 MB, free: 13.78 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001849/0.0135, allocations: 68.33 kB / 275.6 MB, free: 13.71 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001083/0.01459, allocations: 301.8 kB / 275.9 MB, free: 13.39 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.622e-05/0.01463, allocations: 75.92 kB / 276 MB, free: 13.29 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.177e-05/0.01469, allocations: 21.47 kB / 276 MB, free: 13.27 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001183/0.01481, allocations: 91.34 kB / 276.1 MB, free: 13.18 MB / 282.7 MB Notification: Performance of SimCode: time 7.52e-07/0.01481, allocations: 0 / 276.1 MB, free: 13.18 MB / 282.7 MB Notification: Performance of Templates: time 0.005489/0.0203, allocations: 3.287 MB / 279.4 MB, free: 9.887 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test14/Test14.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: 2.9515202762559056]