Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test21.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.001421/0.001421, 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.001449/0.001449, allocations: 171.5 kB / 24.91 MB, free: 8.77 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.929/0.929, allocations: 177.1 MB / 205.3 MB, free: 5.488 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.2389/0.2389, 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.CombiTable2Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.[0-9,]+.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test21") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.[0-9,]+.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 325.3 MB, free: 7.633 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.197e-05/2.35e-05, allocations: 3.516 kB / 325.3 MB, free: 7.629 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test21): time 0.003661/0.003684, allocations: 2.07 MB / 327.4 MB, free: 5.547 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001932/0.005617, allocations: 1.024 MB / 328.4 MB, free: 4.516 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001051/0.005722, allocations: 0 / 328.4 MB, free: 4.516 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005038/0.006225, allocations: 263 kB / 328.7 MB, free: 4.258 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004962/0.006722, allocations: 262.9 kB / 328.9 MB, free: 4 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009119/0.007633, allocations: 482.8 kB / 329.4 MB, free: 3.523 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004/0.008033, allocations: 331 kB / 329.7 MB, free: 3.199 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001599/0.008193, allocations: 55.45 kB / 329.8 MB, free: 3.148 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002217/0.008415, allocations: 175.5 kB / 329.9 MB, free: 2.977 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002334/0.008648, allocations: 171.6 kB / 330.1 MB, free: 2.809 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.161e-05/0.00868, allocations: 12 kB / 330.1 MB, free: 2.797 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001802/0.00886, allocations: 111.8 kB / 330.2 MB, free: 2.688 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001191/0.008979, allocations: 91.62 kB / 330.3 MB, free: 2.598 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.421e-05/0.009043, allocations: 55.72 kB / 330.4 MB, free: 2.543 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003492/0.009393, allocations: 262.9 kB / 330.6 MB, free: 2.285 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.893e-06/0.009395, allocations: 4 kB / 330.6 MB, free: 2.281 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.009395, allocations: 0 / 330.6 MB, free: 2.281 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.0094, allocations: 0 / 330.6 MB, free: 2.281 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.000606/0.01001, allocations: 0.5658 MB / 331.2 MB, free: 1.691 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.01004, allocations: 12.03 kB / 331.2 MB, free: 1.68 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.806e-05/0.0101, allocations: 36.84 kB / 331.2 MB, free: 1.645 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003108/0.01041, allocations: 248 kB / 331.5 MB, free: 1.375 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.412e-05/0.01042, allocations: 8.375 kB / 331.5 MB, free: 1.367 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.719e-05/0.01045, allocations: 12.38 kB / 331.5 MB, free: 1.355 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001593/0.01061, allocations: 90.84 kB / 331.6 MB, free: 1.258 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.454e-05/0.01063, allocations: 4.141 kB / 331.6 MB, free: 1.254 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.01064, allocations: 12.12 kB / 331.6 MB, free: 1.242 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.01064, allocations: 4 kB / 331.6 MB, free: 1.238 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.489e-05/0.01071, allocations: 31.95 kB / 331.6 MB, free: 1.207 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004408/0.01115, allocations: 266.7 kB / 331.9 MB, free: 0.9297 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001027/0.01125, allocations: 58.53 kB / 332 MB, free: 0.8633 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.221e-05/0.01128, allocations: 21.02 kB / 332 MB, free: 0.8398 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.293e-05/0.01131, allocations: 7.938 kB / 332 MB, free: 0.832 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.666e-05/0.01133, allocations: 34.55 kB / 332 MB, free: 0.7891 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 2.795e-06/0.01134, allocations: 3.984 kB / 332 MB, free: 0.7852 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005385/0.01188, allocations: 210.2 kB / 332.2 MB, free: 0.5781 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.701e-05/0.01191, allocations: 59.39 kB / 332.3 MB, free: 0.5078 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003987/0.01231, allocations: 405 kB / 332.7 MB, free: 104 kB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.659e-05/0.01233, allocations: 29.64 kB / 332.7 MB, free: 68 kB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001156/0.01244, allocations: 153.7 kB / 332.9 MB, free: 15.91 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.097e-05/0.01249, allocations: 59.47 kB / 332.9 MB, free: 15.85 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.29e-05/0.01255, allocations: 25.72 kB / 332.9 MB, free: 15.82 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.01269, allocations: 362.7 kB / 333.3 MB, free: 15.46 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.765e-05/0.01272, allocations: 12 kB / 333.3 MB, free: 15.45 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.256e-05/0.01276, allocations: 15.98 kB / 333.3 MB, free: 15.43 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.01e-05/0.01285, allocations: 59.64 kB / 333.4 MB, free: 15.37 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.01285, allocations: 0 / 333.4 MB, free: 15.37 MB / 314.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001525/0.013, allocations: 109.5 kB / 333.5 MB, free: 15.26 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.01301, allocations: 4 kB / 333.5 MB, free: 15.25 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.01302, allocations: 4 kB / 333.5 MB, free: 15.25 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.01304, allocations: 3.938 kB / 333.5 MB, free: 15.25 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001362/0.01317, allocations: 35.91 kB / 333.5 MB, free: 15.21 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.156e-06/0.01318, allocations: 4 kB / 333.5 MB, free: 15.21 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.809e-05/0.01322, allocations: 0 / 333.5 MB, free: 15.21 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.182e-05/0.01324, allocations: 8 kB / 333.6 MB, free: 15.2 MB / 314.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 (17): * Single equations (assignments): 17 * 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 9.913e-05/0.01333, allocations: 120.7 kB / 333.7 MB, free: 15.07 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.478e-05/0.01337, allocations: 27.91 kB / 333.7 MB, free: 15.04 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001728/0.01354, allocations: 142.3 kB / 333.8 MB, free: 14.89 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.01355, allocations: 7.938 kB / 333.8 MB, free: 14.88 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-06/0.01355, allocations: 0 / 333.8 MB, free: 14.88 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.01355, allocations: 3.984 kB / 333.8 MB, free: 14.88 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003073/0.01386, allocations: 372.3 kB / 334.2 MB, free: 14.49 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.01386, allocations: 0 / 334.2 MB, free: 14.49 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.628e-05/0.01393, allocations: 39.86 kB / 334.2 MB, free: 14.45 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.01393, allocations: 0 / 334.2 MB, free: 14.45 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.45e-06/0.01393, allocations: 4 kB / 334.3 MB, free: 14.45 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.01393, allocations: 0 / 334.3 MB, free: 14.45 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.01394, allocations: 3.984 kB / 334.3 MB, free: 14.45 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001118/0.01405, allocations: 203.5 kB / 334.5 MB, free: 14.23 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.926e-05/0.01407, allocations: 31.7 kB / 334.5 MB, free: 14.2 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.952e-05/0.01409, allocations: 8 kB / 334.5 MB, free: 14.19 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.051e-05/0.01413, allocations: 4 kB / 334.5 MB, free: 14.19 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.736e-05/0.01415, allocations: 11.97 kB / 334.5 MB, free: 14.18 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.943e-06/0.01416, allocations: 8 kB / 334.5 MB, free: 14.17 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001353/0.0143, allocations: 183.5 kB / 334.7 MB, free: 13.99 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.0143, allocations: 4 kB / 334.7 MB, free: 13.98 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001567/0.01445, allocations: 51.92 kB / 334.8 MB, free: 13.93 MB / 314.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 (17): * Single equations (assignments): 17 * 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.001881/0.01633, allocations: 0.9192 MB / 335.7 MB, free: 13.5 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.17e-05/0.01643, allocations: 75.62 kB / 335.7 MB, free: 13.43 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.01643, allocations: 4 kB / 335.7 MB, free: 13.42 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.691e-05/0.01647, allocations: 48.77 kB / 335.8 MB, free: 13.37 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002302/0.0167, allocations: 86.22 kB / 335.9 MB, free: 13.29 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005207/0.01722, allocations: 0.5704 MB / 336.5 MB, free: 12.69 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.797e-05/0.01729, allocations: 108.3 kB / 336.6 MB, free: 12.57 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.32e-05/0.01736, allocations: 49.89 kB / 336.6 MB, free: 12.52 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.813e-05/0.01746, allocations: 99.28 kB / 336.7 MB, free: 12.42 MB / 314.7 MB Notification: Performance of SimCode: time 3.91e-07/0.01746, allocations: 0 / 336.7 MB, free: 12.42 MB / 314.7 MB Notification: Performance of Templates: time 0.005113/0.02257, allocations: 3.644 MB / 340.3 MB, free: 8.816 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test21.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test21.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test21 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test21.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Ds.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test21/Test21.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.8519891132600605]