Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56.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.000842/0.000842, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001327/0.001327, allocations: 173.2 kB / 24.91 MB, free: 9.191 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 0.9651/0.9651, allocations: 177.1 MB / 205.3 MB, free: 5.473 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.2593/0.2593, allocations: 34.26 MB / 296.1 MB, free: 0.7188 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.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56") translateModel(ModelicaTest.Tables.CombiTimeTable.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 325.3 MB, free: 7.613 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.531e-05/2.668e-05, allocations: 9.125 kB / 325.3 MB, free: 7.605 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.003206/0.003233, allocations: 1.759 MB / 327.1 MB, free: 5.836 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002369/0.005602, allocations: 1.742 MB / 328.8 MB, free: 4.086 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.077e-05/0.005682, allocations: 0 / 328.8 MB, free: 4.086 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002665/0.005949, allocations: 35.72 kB / 328.9 MB, free: 4.051 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003555/0.006304, allocations: 103.5 kB / 329 MB, free: 3.949 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002319/0.006536, allocations: 79.62 kB / 329.1 MB, free: 3.871 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001648/0.006701, allocations: 111.6 kB / 329.2 MB, free: 3.762 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.951e-05/0.006771, allocations: 4 kB / 329.2 MB, free: 3.758 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.638e-05/0.006867, allocations: 67.75 kB / 329.2 MB, free: 3.691 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.476e-05/0.006962, allocations: 27.91 kB / 329.3 MB, free: 3.664 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.628e-05/0.006978, allocations: 4 kB / 329.3 MB, free: 3.66 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001607/0.007139, allocations: 111.8 kB / 329.4 MB, free: 3.551 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.839e-05/0.007177, allocations: 19.91 kB / 329.4 MB, free: 3.531 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.075e-05/0.007208, allocations: 24.42 kB / 329.4 MB, free: 3.508 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001968/0.007405, allocations: 163.4 kB / 329.6 MB, free: 3.348 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.007407, allocations: 0 / 329.6 MB, free: 3.348 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.007408, allocations: 0 / 329.6 MB, free: 3.348 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.457e-06/0.007412, allocations: 0 / 329.6 MB, free: 3.348 MB / 298.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.0003985/0.00781, allocations: 329.5 kB / 329.9 MB, free: 3.004 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.656e-05/0.007837, allocations: 8.031 kB / 329.9 MB, free: 2.996 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.262e-05/0.007869, allocations: 12.92 kB / 329.9 MB, free: 2.984 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001444/0.008014, allocations: 145.1 kB / 330.1 MB, free: 2.82 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.515e-05/0.008029, allocations: 8.375 kB / 330.1 MB, free: 2.812 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.595e-05/0.008045, allocations: 384 / 330.1 MB, free: 2.812 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001233/0.008168, allocations: 112.5 kB / 330.2 MB, free: 2.68 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.008176, allocations: 0 / 330.2 MB, free: 2.68 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.781e-06/0.008182, allocations: 4 kB / 330.2 MB, free: 2.676 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.008188, allocations: 3.984 kB / 330.2 MB, free: 2.672 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.307e-05/0.008211, allocations: 10.81 kB / 330.2 MB, free: 2.66 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001816/0.008392, allocations: 165.9 kB / 330.4 MB, free: 2.48 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.911e-05/0.008482, allocations: 97.33 kB / 330.5 MB, free: 2.375 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.897e-05/0.008501, allocations: 12.8 kB / 330.5 MB, free: 2.359 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.038e-05/0.008511, allocations: 4 kB / 330.5 MB, free: 2.355 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.101e-05/0.008592, allocations: 62.22 kB / 330.5 MB, free: 2.281 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.051e-06/0.008593, allocations: 0 / 330.5 MB, free: 2.281 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.000366/0.008959, allocations: 113.8 kB / 330.6 MB, free: 2.164 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.588e-05/0.008995, allocations: 81.11 kB / 330.7 MB, free: 2.066 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001008/0.009096, allocations: 154.7 kB / 330.9 MB, free: 1.902 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.582e-05/0.009112, allocations: 29.7 kB / 330.9 MB, free: 1.867 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.143e-05/0.009143, allocations: 88.12 kB / 331 MB, free: 1.777 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.586e-05/0.009169, allocations: 35.72 kB / 331 MB, free: 1.742 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.143e-05/0.0092, allocations: 25.7 kB / 331 MB, free: 1.711 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.674e-05/0.009277, allocations: 326.8 kB / 331.4 MB, free: 1.383 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.871e-05/0.009296, allocations: 14.81 kB / 331.4 MB, free: 1.367 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.024e-05/0.009336, allocations: 52.34 kB / 331.4 MB, free: 1.301 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.775e-05/0.009394, allocations: 52.44 kB / 331.5 MB, free: 1.242 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.009395, allocations: 0 / 331.5 MB, free: 1.242 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001028/0.009498, allocations: 68.44 kB / 331.5 MB, free: 1.168 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.067e-05/0.009508, allocations: 8.062 kB / 331.6 MB, free: 1.16 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.009512, allocations: 0 / 331.6 MB, free: 1.16 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.009525, allocations: 4 kB / 331.6 MB, free: 1.156 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.543e-05/0.00958, allocations: 12 kB / 331.6 MB, free: 1.145 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.635e-06/0.009583, allocations: 3.938 kB / 331.6 MB, free: 1.141 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.091e-05/0.009614, allocations: 11.92 kB / 331.6 MB, free: 1.125 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-06/0.009618, allocations: 4 kB / 331.6 MB, free: 1.121 MB / 298.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.801e-05/0.009686, allocations: 119.4 kB / 331.7 MB, free: 0.9961 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.314e-05/0.0097, allocations: 11.98 kB / 331.7 MB, free: 0.9844 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.75e-05/0.009797, allocations: 70.39 kB / 331.8 MB, free: 0.9102 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.009799, allocations: 8 kB / 331.8 MB, free: 0.9023 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.694e-06/0.009801, allocations: 0 / 331.8 MB, free: 0.9023 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.009804, allocations: 0 / 331.8 MB, free: 0.9023 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002076/0.01001, allocations: 295.6 kB / 332.1 MB, free: 0.5859 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.01001, allocations: 4 kB / 332.1 MB, free: 0.582 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.145e-05/0.01004, allocations: 8 kB / 332.1 MB, free: 0.5742 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.01004, allocations: 0 / 332.1 MB, free: 0.5742 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.939e-06/0.01004, allocations: 0 / 332.1 MB, free: 0.5742 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.01004, allocations: 80 / 332.1 MB, free: 0.5742 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.307e-06/0.01005, allocations: 11.97 kB / 332.1 MB, free: 0.5625 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002458/0.01029, allocations: 219 kB / 332.3 MB, free: 336 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.876e-05/0.01031, allocations: 7.953 kB / 332.3 MB, free: 328 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.182e-05/0.01033, allocations: 0 / 332.3 MB, free: 328 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.153e-05/0.01041, allocations: 11.98 kB / 332.3 MB, free: 316 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.659e-05/0.01043, allocations: 4 kB / 332.3 MB, free: 312 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.399e-05/0.01045, allocations: 3.984 kB / 332.3 MB, free: 308 kB / 298.7 MB Notification: Performance of sorting global known variables: time 4.565e-05/0.01049, allocations: 46.7 kB / 332.4 MB, free: 260 kB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01049, allocations: 0 / 332.4 MB, free: 260 kB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001849/0.01068, allocations: 47.86 kB / 332.4 MB, free: 212 kB / 298.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.001489/0.01217, allocations: 0.7156 MB / 333.2 MB, free: 15.84 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001041/0.01227, allocations: 36.84 kB / 333.2 MB, free: 15.8 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.01227, allocations: 0 / 333.2 MB, free: 15.8 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.405e-05/0.01231, allocations: 36.77 kB / 333.2 MB, free: 15.77 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001756/0.01248, allocations: 36.05 kB / 333.3 MB, free: 15.73 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003269/0.01281, allocations: 195.7 kB / 333.5 MB, free: 15.51 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.741e-05/0.01286, allocations: 63.34 kB / 333.5 MB, free: 15.43 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.195e-05/0.01291, allocations: 25.22 kB / 333.5 MB, free: 15.4 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.497e-05/0.01299, allocations: 75.36 kB / 333.6 MB, free: 15.32 MB / 314.7 MB Notification: Performance of SimCode: time 9.72e-07/0.013, allocations: 0 / 333.6 MB, free: 15.32 MB / 314.7 MB Notification: Performance of Templates: time 0.004462/0.01746, allocations: 2.764 MB / 336.4 MB, free: 12.59 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test56/Test56.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.003114150837064]