Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.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.001118/0.001118, allocations: 81.95 kB / 21.44 MB, free: 3.059 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.001216/0.001216, allocations: 166.4 kB / 24.84 MB, free: 8.707 MB / 18.57 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 1.051/1.051, allocations: 158.6 MB / 186.7 MB, free: 2.797 MB / 170.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.1372/0.1372, allocations: 32.37 MB / 271.5 MB, free: 14.41 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.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57") translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 349 MB, free: 9.09 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.782e-05/1.946e-05, allocations: 6.25 kB / 349 MB, free: 9.082 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.001829/0.001848, allocations: 1.725 MB / 350.7 MB, free: 7.348 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001179/0.003027, allocations: 1.513 MB / 352.2 MB, free: 5.824 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.018e-05/0.003107, allocations: 0 / 352.2 MB, free: 5.824 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003059/0.003413, allocations: 43.77 kB / 352.3 MB, free: 5.781 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001897/0.003603, allocations: 63.62 kB / 352.3 MB, free: 5.719 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001626/0.003766, allocations: 91.64 kB / 352.4 MB, free: 5.629 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001122/0.003878, allocations: 95.69 kB / 352.5 MB, free: 5.535 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.486e-05/0.003953, allocations: 8.219 kB / 352.5 MB, free: 5.527 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.389e-05/0.004017, allocations: 51.84 kB / 352.6 MB, free: 5.477 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.356e-05/0.0041, allocations: 35.83 kB / 352.6 MB, free: 5.441 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.733e-05/0.004118, allocations: 4 kB / 352.6 MB, free: 5.438 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.372e-05/0.004211, allocations: 59.91 kB / 352.7 MB, free: 5.379 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.218e-05/0.004273, allocations: 23.92 kB / 352.7 MB, free: 5.355 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.105e-05/0.004304, allocations: 19.92 kB / 352.7 MB, free: 5.336 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001527/0.004457, allocations: 111.6 kB / 352.8 MB, free: 5.227 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.483e-06/0.004459, allocations: 0 / 352.8 MB, free: 5.227 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.00446, allocations: 0 / 352.8 MB, free: 5.227 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.957e-06/0.004464, allocations: 0 / 352.8 MB, free: 5.227 MB / 282.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.0003173/0.004781, allocations: 435.9 kB / 353.3 MB, free: 4.766 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.004816, allocations: 8.031 kB / 353.3 MB, free: 4.758 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.477e-05/0.004851, allocations: 16.88 kB / 353.3 MB, free: 4.742 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001126/0.004963, allocations: 140.5 kB / 353.4 MB, free: 4.578 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.602e-05/0.004979, allocations: 384 / 353.4 MB, free: 4.578 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.614e-05/0.004995, allocations: 12.38 kB / 353.4 MB, free: 4.566 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.592e-05/0.005091, allocations: 104 kB / 353.5 MB, free: 4.441 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.0051, allocations: 7.875 kB / 353.5 MB, free: 4.434 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.882e-06/0.005106, allocations: 7.938 kB / 353.5 MB, free: 4.426 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.00511, allocations: 0 / 353.5 MB, free: 4.426 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.132e-05/0.005132, allocations: 11.98 kB / 353.6 MB, free: 4.414 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001803/0.005312, allocations: 252.4 kB / 353.8 MB, free: 4.141 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.005e-05/0.005382, allocations: 47.17 kB / 353.8 MB, free: 4.082 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.91e-05/0.005401, allocations: 27.61 kB / 353.9 MB, free: 4.051 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.608e-06/0.005411, allocations: 0 / 353.9 MB, free: 4.051 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.182e-05/0.005483, allocations: 72.97 kB / 353.9 MB, free: 3.965 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 7.91e-07/0.005483, allocations: 0 / 353.9 MB, free: 3.965 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002719/0.005755, allocations: 133.4 kB / 354.1 MB, free: 3.828 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.392e-05/0.005779, allocations: 77.11 kB / 354.2 MB, free: 3.734 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.285e-05/0.005862, allocations: 201 kB / 354.3 MB, free: 3.523 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.037e-06/0.005871, allocations: 29.7 kB / 354.4 MB, free: 3.488 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.043e-05/0.005901, allocations: 142.9 kB / 354.5 MB, free: 3.344 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.13e-05/0.005923, allocations: 31.72 kB / 354.5 MB, free: 3.312 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.671e-05/0.005949, allocations: 31.38 kB / 354.6 MB, free: 3.273 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.959e-05/0.005999, allocations: 0.5001 MB / 355.1 MB, free: 2.762 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.576e-05/0.006015, allocations: 11.98 kB / 355.1 MB, free: 2.75 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.5e-05/0.00605, allocations: 68.69 kB / 355.2 MB, free: 2.664 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.902e-05/0.006089, allocations: 43.44 kB / 355.2 MB, free: 2.613 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.133e-06/0.00609, allocations: 0 / 355.2 MB, free: 2.613 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.009e-05/0.00618, allocations: 89.5 kB / 355.3 MB, free: 2.52 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/0.006192, allocations: 7.984 kB / 355.3 MB, free: 2.512 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.006197, allocations: 4 kB / 355.3 MB, free: 2.508 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.006208, allocations: 8.047 kB / 355.3 MB, free: 2.5 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.429e-05/0.006263, allocations: 12 kB / 355.3 MB, free: 2.488 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.585e-06/0.006265, allocations: 0 / 355.3 MB, free: 2.488 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.608e-05/0.006291, allocations: 4 kB / 355.3 MB, free: 2.484 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.47e-06/0.006297, allocations: 3.984 kB / 355.3 MB, free: 2.48 MB / 282.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 5.163e-05/0.006348, allocations: 164.5 kB / 355.5 MB, free: 2.309 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.419e-05/0.006363, allocations: 15.89 kB / 355.5 MB, free: 2.293 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001008/0.006463, allocations: 98.38 kB / 355.6 MB, free: 2.191 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.006466, allocations: 384 / 355.6 MB, free: 2.191 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.006467, allocations: 0 / 355.6 MB, free: 2.191 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.00647, allocations: 4 kB / 355.6 MB, free: 2.188 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00019/0.00666, allocations: 365.5 kB / 356 MB, free: 1.793 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.006662, allocations: 3.938 kB / 356 MB, free: 1.789 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.102e-05/0.006683, allocations: 15.98 kB / 356 MB, free: 1.773 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.006685, allocations: 0 / 356 MB, free: 1.773 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.941e-06/0.006691, allocations: 4 kB / 356 MB, free: 1.77 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.006693, allocations: 4 kB / 356 MB, free: 1.766 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.006694, allocations: 0 / 356 MB, free: 1.766 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.293e-05/0.006787, allocations: 247.4 kB / 356.2 MB, free: 1.5 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.256e-06/0.006795, allocations: 7.953 kB / 356.2 MB, free: 1.492 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.429e-05/0.006809, allocations: 4.031 kB / 356.2 MB, free: 1.488 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.001e-05/0.006849, allocations: 11.98 kB / 356.3 MB, free: 1.477 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.702e-05/0.006876, allocations: 4 kB / 356.3 MB, free: 1.473 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.779e-06/0.006886, allocations: 3.984 kB / 356.3 MB, free: 1.469 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.726e-05/0.006923, allocations: 150.8 kB / 356.4 MB, free: 1.324 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006923, allocations: 0 / 356.4 MB, free: 1.324 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001847/0.007108, allocations: 35.92 kB / 356.4 MB, free: 1.289 MB / 282.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.0008999/0.008008, allocations: 490.5 kB / 356.9 MB, free: 0.9023 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.089e-05/0.008099, allocations: 51.64 kB / 357 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.082e-06/0.0081, allocations: 0 / 357 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.959e-05/0.00813, allocations: 31.61 kB / 357 MB, free: 0.8125 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002106/0.00834, allocations: 39.77 kB / 357 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002394/0.00858, allocations: 193.2 kB / 357.2 MB, free: 0.5547 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.724e-05/0.008607, allocations: 71.25 kB / 357.3 MB, free: 476 kB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.546e-05/0.008642, allocations: 20.72 kB / 357.3 MB, free: 456 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.327e-05/0.008706, allocations: 102.2 kB / 357.4 MB, free: 352 kB / 282.7 MB Notification: Performance of SimCode: time 5.51e-07/0.008706, allocations: 3.938 kB / 357.4 MB, free: 348 kB / 282.7 MB Notification: Performance of Templates: time 0.003748/0.01245, allocations: 2.331 MB / 359.8 MB, free: 14.02 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.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.2949420628137887]