Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.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.0009196/0.0009196, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001254/0.002173, 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.0009621/0.0009621, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001268/0.00223, 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.8692/0.8692, allocations: 158.6 MB / 171 MB, free: 2.168 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1829/1.052, allocations: 49.5 MB / 220.5 MB, free: 5.266 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.1423/0.1423, allocations: 32.35 MB / 253.6 MB, free: 4.16 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02368/0.166, 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.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 267.2 MB, free: 6.531 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.637e-05/1.82e-05, allocations: 10.25 kB / 267.2 MB, free: 6.52 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.002648/0.002667, allocations: 1.638 MB / 268.9 MB, free: 4.859 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006429/0.00331, allocations: 347.2 kB / 269.2 MB, free: 4.516 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.327e-05/0.003373, allocations: 0 / 269.2 MB, free: 4.516 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005118/0.003885, allocations: 491 kB / 269.7 MB, free: 4.035 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002459/0.004131, allocations: 271.3 kB / 269.9 MB, free: 3.77 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002892/0.00442, allocations: 155.6 kB / 270.1 MB, free: 3.617 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002015/0.004621, allocations: 159.6 kB / 270.3 MB, free: 3.461 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.381e-05/0.004715, allocations: 7.984 kB / 270.3 MB, free: 3.453 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001476/0.004863, allocations: 155.7 kB / 270.4 MB, free: 3.301 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000169/0.005032, allocations: 187.7 kB / 270.6 MB, free: 3.117 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.00505, allocations: 0 / 270.6 MB, free: 3.117 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.399e-05/0.005124, allocations: 23.98 kB / 270.6 MB, free: 3.094 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.203e-05/0.005206, allocations: 79.72 kB / 270.7 MB, free: 3.016 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.909e-05/0.005245, allocations: 31.75 kB / 270.7 MB, free: 2.984 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001973/0.005443, allocations: 187.2 kB / 270.9 MB, free: 2.801 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.75e-05/0.00546, allocations: 3.938 kB / 270.9 MB, free: 2.797 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.005461, allocations: 0 / 270.9 MB, free: 2.797 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.86e-05/0.005479, allocations: 0 / 270.9 MB, free: 2.797 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007259/0.006205, allocations: 0.5759 MB / 271.5 MB, free: 2.195 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.169e-05/0.006237, allocations: 12.03 kB / 271.5 MB, free: 2.184 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.783e-05/0.006275, allocations: 20.91 kB / 271.5 MB, free: 2.164 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001867/0.006461, allocations: 238.1 kB / 271.8 MB, free: 1.906 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/0.006472, allocations: 8.375 kB / 271.8 MB, free: 1.898 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.522e-06/0.006478, allocations: 384 / 271.8 MB, free: 1.898 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.217e-05/0.006571, allocations: 50.95 kB / 271.8 MB, free: 1.84 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.006578, allocations: 4.188 kB / 271.8 MB, free: 1.836 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.076e-06/0.006586, allocations: 4.125 kB / 271.8 MB, free: 1.832 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.006591, allocations: 3.938 kB / 271.8 MB, free: 1.828 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.132e-05/0.006612, allocations: 11.98 kB / 271.8 MB, free: 1.816 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002513/0.006863, allocations: 187.1 kB / 272 MB, free: 1.617 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.427e-05/0.006907, allocations: 22.64 kB / 272 MB, free: 1.586 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.466e-05/0.006922, allocations: 12.91 kB / 272.1 MB, free: 1.57 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.291e-05/0.006945, allocations: 7.922 kB / 272.1 MB, free: 1.562 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.285e-05/0.006968, allocations: 42.5 kB / 272.1 MB, free: 1.512 MB / 266.7 MB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.006969, allocations: 4 kB / 272.1 MB, free: 1.508 MB / 266.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001093/0.007078, allocations: 49.67 kB / 272.2 MB, free: 1.453 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.125e-05/0.00711, allocations: 55.41 kB / 272.2 MB, free: 1.387 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003107/0.00742, allocations: 0.5205 MB / 272.7 MB, free: 0.8516 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.14e-05/0.007432, allocations: 25.7 kB / 272.8 MB, free: 0.8203 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.605e-05/0.007488, allocations: 137.3 kB / 272.9 MB, free: 0.6836 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.051e-05/0.007508, allocations: 7.953 kB / 272.9 MB, free: 0.6758 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.612e-05/0.007534, allocations: 13.7 kB / 272.9 MB, free: 0.6562 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001154/0.00765, allocations: 354.7 kB / 273.3 MB, free: 308 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.888e-06/0.00766, allocations: 3.938 kB / 273.3 MB, free: 304 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.013e-06/0.007667, allocations: 8.125 kB / 273.3 MB, free: 296 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.514e-05/0.007692, allocations: 19.67 kB / 273.3 MB, free: 272 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.085e-06/0.007695, allocations: 3.938 kB / 273.3 MB, free: 268 kB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.416e-05/0.007759, allocations: 53.67 kB / 273.3 MB, free: 208 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.007774, allocations: 7.938 kB / 273.4 MB, free: 200 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.007779, allocations: 0 / 273.4 MB, free: 200 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.727e-06/0.007787, allocations: 0 / 273.4 MB, free: 200 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.597e-05/0.007843, allocations: 4 kB / 273.4 MB, free: 196 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.517e-06/0.007847, allocations: 0 / 273.4 MB, free: 196 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.307e-05/0.00787, allocations: 12.03 kB / 273.4 MB, free: 184 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.869e-06/0.007875, allocations: 3.938 kB / 273.4 MB, free: 180 kB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.947e-05/0.007944, allocations: 112.7 kB / 273.5 MB, free: 56 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.538e-05/0.00797, allocations: 23.92 kB / 273.5 MB, free: 32 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000101/0.008071, allocations: 72.73 kB / 273.6 MB, free: 15.95 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.008072, allocations: 0 / 273.6 MB, free: 15.95 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.008074, allocations: 0 / 273.6 MB, free: 15.95 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.008076, allocations: 0 / 273.6 MB, free: 15.95 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000118/0.008194, allocations: 137.8 kB / 273.7 MB, free: 15.8 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.008195, allocations: 0 / 273.7 MB, free: 15.8 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.728e-05/0.008212, allocations: 8.031 kB / 273.7 MB, free: 15.79 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.249e-05/0.008235, allocations: 31.72 kB / 273.8 MB, free: 15.76 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.008237, allocations: 4 kB / 273.8 MB, free: 15.76 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.04e-06/0.008242, allocations: 3.938 kB / 273.8 MB, free: 15.75 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.31e-07/0.008243, allocations: 0 / 273.8 MB, free: 15.75 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.008244, allocations: 0 / 273.8 MB, free: 15.75 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.179e-05/0.008316, allocations: 151.5 kB / 273.9 MB, free: 15.59 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.283e-05/0.008329, allocations: 0 / 273.9 MB, free: 15.59 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.324e-05/0.008362, allocations: 7.938 kB / 273.9 MB, free: 15.58 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.186e-05/0.008384, allocations: 0 / 273.9 MB, free: 15.58 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.445e-06/0.008386, allocations: 4.031 kB / 273.9 MB, free: 15.58 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000183/0.008569, allocations: 279.2 kB / 274.2 MB, free: 15.3 MB / 282.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.008569, allocations: 0 / 274.2 MB, free: 15.3 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000136/0.008705, allocations: 20 kB / 274.2 MB, free: 15.29 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.0009357/0.009641, allocations: 484.3 kB / 274.7 MB, free: 14.8 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 6.146e-05/0.009702, allocations: 12.8 kB / 274.7 MB, free: 14.79 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.174e-05/0.009714, allocations: 8 kB / 274.7 MB, free: 14.78 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.205e-05/0.009726, allocations: 12.84 kB / 274.7 MB, free: 14.76 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002079/0.009934, allocations: 33.92 kB / 274.8 MB, free: 14.73 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007764/0.01071, allocations: 0.5504 MB / 275.3 MB, free: 14.15 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.722e-05/0.01079, allocations: 115.3 kB / 275.4 MB, free: 14.02 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.64e-05/0.01081, allocations: 8.234 kB / 275.4 MB, free: 14.01 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.174e-05/0.01087, allocations: 59.38 kB / 275.5 MB, free: 13.95 MB / 282.7 MB Notification: Performance of SimCode: time 3.91e-07/0.01087, allocations: 0 / 275.5 MB, free: 13.95 MB / 282.7 MB Notification: Performance of Templates: time 0.003401/0.01427, allocations: 1.248 MB / 276.7 MB, free: 12.7 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test7/Test7.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.651190560311079]