Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.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.0007418/0.0007418, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001011/0.001752, 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.0008012/0.0008012, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0012/0.002001, 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.9374/0.9374, allocations: 158.6 MB / 171 MB, free: 2.184 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1855/1.123, allocations: 49.49 MB / 220.5 MB, free: 5.277 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.1466/0.1466, allocations: 32.35 MB / 253.6 MB, free: 4.16 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04191/0.1885, allocations: 12.29 MB / 265.9 MB, free: 7.832 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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5022,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6") translateModel(ModelicaTest.Tables.CombiTimeTable.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5022,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 267.3 MB, free: 6.457 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.747e-05/1.889e-05, allocations: 6.25 kB / 267.3 MB, free: 6.449 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.00252/0.002539, allocations: 1.77 MB / 269.1 MB, free: 4.66 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001058/0.003597, allocations: 0.8075 MB / 269.9 MB, free: 3.844 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.529e-05/0.003662, allocations: 3.938 kB / 269.9 MB, free: 3.84 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002026/0.003865, allocations: 63.69 kB / 269.9 MB, free: 3.777 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001473/0.004012, allocations: 55.7 kB / 270 MB, free: 3.723 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001983/0.004211, allocations: 83.7 kB / 270.1 MB, free: 3.641 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001593/0.00437, allocations: 99.62 kB / 270.2 MB, free: 3.543 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.949e-05/0.004449, allocations: 8.234 kB / 270.2 MB, free: 3.535 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001326/0.004582, allocations: 75.77 kB / 270.3 MB, free: 3.461 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.061e-05/0.004663, allocations: 27.91 kB / 270.3 MB, free: 3.434 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.063e-05/0.004683, allocations: 4 kB / 270.3 MB, free: 3.43 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.851e-05/0.004782, allocations: 47.92 kB / 270.3 MB, free: 3.383 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.797e-05/0.00483, allocations: 19.88 kB / 270.4 MB, free: 3.363 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.157e-05/0.004871, allocations: 15.94 kB / 270.4 MB, free: 3.348 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001831/0.005054, allocations: 111.5 kB / 270.5 MB, free: 3.238 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.746e-05/0.005072, allocations: 3.984 kB / 270.5 MB, free: 3.234 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.02e-07/0.005073, allocations: 0 / 270.5 MB, free: 3.234 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.636e-05/0.005089, allocations: 0 / 270.5 MB, free: 3.234 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004913/0.00558, allocations: 363.6 kB / 270.8 MB, free: 2.855 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.948e-05/0.00561, allocations: 8.031 kB / 270.8 MB, free: 2.848 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.202e-05/0.005642, allocations: 12.92 kB / 270.9 MB, free: 2.836 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001673/0.005809, allocations: 162.4 kB / 271 MB, free: 2.648 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/0.005824, allocations: 4.375 kB / 271 MB, free: 2.645 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.437e-05/0.005839, allocations: 384 / 271 MB, free: 2.645 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001086/0.005947, allocations: 65.77 kB / 271.1 MB, free: 2.57 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.005957, allocations: 3.938 kB / 271.1 MB, free: 2.566 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.241e-06/0.005963, allocations: 0 / 271.1 MB, free: 2.566 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.67e-06/0.005969, allocations: 0 / 271.1 MB, free: 2.566 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.477e-05/0.006003, allocations: 15.92 kB / 271.1 MB, free: 2.551 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002074/0.006211, allocations: 173.9 kB / 271.3 MB, free: 2.363 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.415e-05/0.006305, allocations: 93.22 kB / 271.4 MB, free: 2.262 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.316e-05/0.006328, allocations: 16.92 kB / 271.4 MB, free: 2.242 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.255e-05/0.006341, allocations: 0 / 271.4 MB, free: 2.242 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001049/0.006446, allocations: 66.16 kB / 271.4 MB, free: 2.164 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 9.42e-07/0.006446, allocations: 0 / 271.4 MB, free: 2.164 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002991/0.006746, allocations: 109.5 kB / 271.6 MB, free: 2.051 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.234e-05/0.006778, allocations: 59.34 kB / 271.6 MB, free: 1.98 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001471/0.006925, allocations: 213.2 kB / 271.8 MB, free: 1.758 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.578e-05/0.006941, allocations: 29.7 kB / 271.8 MB, free: 1.723 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.809e-05/0.006979, allocations: 100.1 kB / 271.9 MB, free: 1.621 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.392e-05/0.007003, allocations: 23.8 kB / 272 MB, free: 1.598 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.029e-05/0.007043, allocations: 25.69 kB / 272 MB, free: 1.566 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.334e-05/0.007126, allocations: 326.8 kB / 272.3 MB, free: 1.238 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.966e-05/0.007146, allocations: 14.81 kB / 272.3 MB, free: 1.223 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.626e-05/0.007172, allocations: 21.72 kB / 272.3 MB, free: 1.195 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.185e-05/0.007224, allocations: 52.5 kB / 272.4 MB, free: 1.137 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.007225, allocations: 0 / 272.4 MB, free: 1.137 MB / 266.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.408e-05/0.007319, allocations: 68.44 kB / 272.5 MB, free: 1.062 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.165e-05/0.007331, allocations: 8 kB / 272.5 MB, free: 1.055 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.007337, allocations: 8.016 kB / 272.5 MB, free: 1.047 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.774e-06/0.007344, allocations: 0 / 272.5 MB, free: 1.047 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.14e-05/0.007416, allocations: 19.94 kB / 272.5 MB, free: 1.027 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.586e-06/0.007419, allocations: 3.984 kB / 272.5 MB, free: 1.023 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.291e-05/0.007452, allocations: 4 kB / 272.5 MB, free: 1.02 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.232e-06/0.007459, allocations: 4 kB / 272.5 MB, free: 1.016 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 6.459e-05/0.007523, allocations: 112.7 kB / 272.6 MB, free: 0.8945 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.811e-05/0.007541, allocations: 19.92 kB / 272.6 MB, free: 0.875 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001051/0.007646, allocations: 75.03 kB / 272.7 MB, free: 0.8008 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.00765, allocations: 3.984 kB / 272.7 MB, free: 0.7969 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.007651, allocations: 8 kB / 272.7 MB, free: 0.7891 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.007654, allocations: 0 / 272.7 MB, free: 0.7891 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002355/0.00789, allocations: 299.4 kB / 273 MB, free: 480 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.007891, allocations: 0 / 273 MB, free: 480 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.536e-05/0.007926, allocations: 15.98 kB / 273 MB, free: 464 kB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.48e-05/0.007941, allocations: 11.91 kB / 273 MB, free: 452 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.007943, allocations: 0 / 273 MB, free: 452 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.007951, allocations: 7.938 kB / 273.1 MB, free: 444 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.007952, allocations: 0 / 273.1 MB, free: 444 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.007953, allocations: 0 / 273.1 MB, free: 444 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001164/0.00807, allocations: 223 kB / 273.3 MB, free: 200 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.775e-05/0.008087, allocations: 4.375 kB / 273.3 MB, free: 196 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.734e-05/0.008145, allocations: 4 kB / 273.3 MB, free: 192 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.255e-05/0.008167, allocations: 7.984 kB / 273.3 MB, free: 184 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-05/0.008179, allocations: 8 kB / 273.3 MB, free: 176 kB / 266.7 MB Notification: Performance of sorting global known variables: time 7.242e-05/0.008251, allocations: 81.84 kB / 273.4 MB, free: 92 kB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.008251, allocations: 0 / 273.4 MB, free: 92 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001983/0.008449, allocations: 23.94 kB / 273.4 MB, free: 68 kB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00154/0.00999, allocations: 0.6399 MB / 274 MB, free: 15.41 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.938e-05/0.01009, allocations: 44.78 kB / 274.1 MB, free: 15.37 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.907e-06/0.0101, allocations: 4 kB / 274.1 MB, free: 15.36 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.496e-05/0.01013, allocations: 32.89 kB / 274.1 MB, free: 15.33 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002363/0.01037, allocations: 47.75 kB / 274.2 MB, free: 15.28 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005252/0.01089, allocations: 262.7 kB / 274.4 MB, free: 15 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.577e-05/0.01094, allocations: 71.33 kB / 274.5 MB, free: 14.91 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.332e-05/0.01097, allocations: 12.48 kB / 274.5 MB, free: 14.89 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.482e-05/0.01104, allocations: 71.44 kB / 274.6 MB, free: 14.82 MB / 282.7 MB Notification: Performance of SimCode: time 6.52e-07/0.01104, allocations: 0 / 274.6 MB, free: 14.82 MB / 282.7 MB Notification: Performance of Templates: time 0.004805/0.01584, allocations: 2.055 MB / 276.6 MB, free: 12.77 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test6/Test6.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.906289491802454]