Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.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.0008986/0.0008986, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001358/0.002256, allocations: 449.8 kB / 10.44 MB, free: 252 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.0008918/0.0008918, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004555/0.005446, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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 1.014/1.014, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0892/1.103, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.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.2439/0.2439, allocations: 34.25 MB / 278.4 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02828/0.2722, allocations: 13.1 MB / 291.5 MB, free: 7.332 MB / 282.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.CombiTable2Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 292.9 MB, free: 6.176 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.674e-05/2.832e-05, allocations: 4.234 kB / 292.9 MB, free: 6.172 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test2): time 0.003308/0.003336, allocations: 1.757 MB / 294.6 MB, free: 4.406 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009913/0.004327, allocations: 0.5645 MB / 295.2 MB, free: 3.836 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.697e-05/0.004404, allocations: 4 kB / 295.2 MB, free: 3.832 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005748/0.004979, allocations: 495 kB / 295.7 MB, free: 3.348 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004584/0.005438, allocations: 315 kB / 296 MB, free: 3.039 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003692/0.005807, allocations: 127.6 kB / 296.1 MB, free: 2.914 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002649/0.006072, allocations: 175.6 kB / 296.3 MB, free: 2.742 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.006174, allocations: 19.98 kB / 296.3 MB, free: 2.723 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002419/0.006416, allocations: 159.8 kB / 296.5 MB, free: 2.566 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002237/0.00664, allocations: 195.6 kB / 296.7 MB, free: 2.375 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.03e-05/0.00666, allocations: 4 kB / 296.7 MB, free: 2.371 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001281/0.006788, allocations: 59.8 kB / 296.7 MB, free: 2.312 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001129/0.006901, allocations: 83.72 kB / 296.8 MB, free: 2.23 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.16e-05/0.006942, allocations: 35.75 kB / 296.8 MB, free: 2.195 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000305/0.007248, allocations: 203.2 kB / 297 MB, free: 1.996 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.608e-05/0.007264, allocations: 0 / 297 MB, free: 1.996 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.203e-06/0.007265, allocations: 0 / 297 MB, free: 1.996 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.248e-05/0.007277, allocations: 3.938 kB / 297 MB, free: 1.992 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007015/0.007979, allocations: 0.6004 MB / 297.6 MB, free: 1.367 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.008015, allocations: 11.97 kB / 297.6 MB, free: 1.355 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.787e-05/0.008073, allocations: 24.91 kB / 297.7 MB, free: 1.332 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002579/0.008331, allocations: 242.1 kB / 297.9 MB, free: 1.066 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.008343, allocations: 4.375 kB / 297.9 MB, free: 1.062 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.679e-05/0.008369, allocations: 12.31 kB / 297.9 MB, free: 1.051 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000181/0.00855, allocations: 54.95 kB / 298 MB, free: 0.9883 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.00856, allocations: 192 / 298 MB, free: 0.9883 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.008571, allocations: 8.125 kB / 298 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.008578, allocations: 7.938 kB / 298 MB, free: 0.9727 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.795e-05/0.008606, allocations: 7.984 kB / 298 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002578/0.008864, allocations: 164.3 kB / 298.2 MB, free: 0.7891 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.859e-05/0.008933, allocations: 34.59 kB / 298.2 MB, free: 0.7461 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.832e-05/0.008951, allocations: 16.86 kB / 298.2 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.155e-05/0.008973, allocations: 3.938 kB / 298.2 MB, free: 0.7227 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.576e-05/0.008998, allocations: 34.56 kB / 298.2 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 2.134e-06/0.009, allocations: 0 / 298.2 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.000594/0.009594, allocations: 161.5 kB / 298.4 MB, free: 0.5156 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.2e-05/0.009626, allocations: 59.39 kB / 298.5 MB, free: 456 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004674/0.01009, allocations: 0.5244 MB / 299 MB, free: 15.91 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.796e-05/0.01011, allocations: 25.7 kB / 299 MB, free: 15.88 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.045e-05/0.01019, allocations: 145.3 kB / 299.2 MB, free: 15.73 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.448e-05/0.01023, allocations: 31.67 kB / 299.2 MB, free: 15.7 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.861e-05/0.01027, allocations: 21.72 kB / 299.2 MB, free: 15.67 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.0104, allocations: 362.6 kB / 299.6 MB, free: 15.3 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.221e-05/0.01042, allocations: 8 kB / 299.6 MB, free: 15.3 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.846e-05/0.01044, allocations: 12.05 kB / 299.6 MB, free: 15.29 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.797e-05/0.01048, allocations: 28.83 kB / 299.6 MB, free: 15.25 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.01049, allocations: 3.938 kB / 299.6 MB, free: 15.25 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004734/0.01096, allocations: 73.66 kB / 299.7 MB, free: 15.17 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.01098, allocations: 4 kB / 299.7 MB, free: 15.17 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.01098, allocations: 0 / 299.7 MB, free: 15.17 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.011, allocations: 4.422 kB / 299.7 MB, free: 15.16 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.484e-05/0.0111, allocations: 23.92 kB / 299.7 MB, free: 15.14 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.347e-06/0.0111, allocations: 0 / 299.7 MB, free: 15.14 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.729e-05/0.01114, allocations: 0 / 299.7 MB, free: 15.14 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.076e-05/0.01115, allocations: 8 kB / 299.7 MB, free: 15.13 MB / 298.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 (8): * Single equations (assignments): 8 * 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 8.672e-05/0.01123, allocations: 112.6 kB / 299.8 MB, free: 15.01 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.016e-05/0.01127, allocations: 23.97 kB / 299.9 MB, free: 14.99 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001724/0.01145, allocations: 101.5 kB / 300 MB, free: 14.88 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.01145, allocations: 8 kB / 300 MB, free: 14.87 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.482e-06/0.01145, allocations: 3.938 kB / 300 MB, free: 14.87 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.01146, allocations: 0 / 300 MB, free: 14.87 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003922/0.01185, allocations: 307.4 kB / 300.3 MB, free: 14.54 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.01185, allocations: 0 / 300.3 MB, free: 14.54 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.63e-05/0.01193, allocations: 19.98 kB / 300.3 MB, free: 14.52 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.226e-05/0.01197, allocations: 31.72 kB / 300.3 MB, free: 14.49 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/0.01198, allocations: 4 kB / 300.3 MB, free: 14.48 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.141e-06/0.01198, allocations: 0 / 300.3 MB, free: 14.48 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.748e-06/0.01199, allocations: 0 / 300.3 MB, free: 14.48 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.01199, allocations: 4.031 kB / 300.3 MB, free: 14.48 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001503/0.01214, allocations: 188.6 kB / 300.5 MB, free: 14.28 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.314e-05/0.01216, allocations: 3.984 kB / 300.5 MB, free: 14.27 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.396e-05/0.01223, allocations: 4 kB / 300.5 MB, free: 14.27 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.012e-05/0.01228, allocations: 11.98 kB / 300.5 MB, free: 14.26 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.142e-06/0.01228, allocations: 0 / 300.5 MB, free: 14.26 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002744/0.01256, allocations: 283.2 kB / 300.8 MB, free: 13.98 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01256, allocations: 0 / 300.8 MB, free: 13.98 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002328/0.01279, allocations: 31.94 kB / 300.8 MB, free: 13.95 MB / 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.001875/0.01466, allocations: 0.6316 MB / 301.5 MB, free: 13.67 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001028/0.01477, allocations: 44.77 kB / 301.5 MB, free: 13.62 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.228e-05/0.01478, allocations: 4 kB / 301.5 MB, free: 13.62 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.457e-05/0.01482, allocations: 28.84 kB / 301.5 MB, free: 13.59 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003132/0.01514, allocations: 93.36 kB / 301.6 MB, free: 13.48 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001076/0.01621, allocations: 0.5994 MB / 302.2 MB, free: 12.85 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001124/0.01632, allocations: 127.2 kB / 302.4 MB, free: 12.7 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.34e-05/0.01639, allocations: 17.17 kB / 302.4 MB, free: 12.68 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.528e-05/0.01646, allocations: 55.38 kB / 302.4 MB, free: 12.63 MB / 298.7 MB Notification: Performance of SimCode: time 7.61e-07/0.01646, allocations: 8 kB / 302.4 MB, free: 12.62 MB / 298.7 MB Notification: Performance of Templates: time 0.00524/0.0217, allocations: 1.744 MB / 304.2 MB, free: 10.9 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test2/Test2.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.863268105313182]