Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.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.001567/0.001567, allocations: 80.05 kB / 20.72 MB, free: 3.766 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.001361/0.001361, allocations: 169.3 kB / 24.14 MB, free: 356 kB / 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.013/1.013, allocations: 158.6 MB / 186 MB, free: 2.762 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.1374/0.1374, allocations: 32.37 MB / 270.7 MB, free: 14.61 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.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|combiTable2D1D.y.[0-9,]+.|combiTable2D1DT.y.[0-9,]+.|clock1.y|combiTable1D.y.[0-9,]+.|combiTable2D.y.[0-9,]+.|combiTable2DT.y.[0-9,]+.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|combiTable2D1D.y.[0-9,]+.|combiTable2D1DT.y.[0-9,]+.|clock1.y|combiTable1D.y.[0-9,]+.|combiTable2D.y.[0-9,]+.|combiTable2DT.y.[0-9,]+.|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.122e-06/1.122e-06, allocations: 0 / 299.1 MB, free: 2.16 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.939e-05/2.051e-05, allocations: 6.312 kB / 299.1 MB, free: 2.152 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test21): time 0.002646/0.002667, allocations: 1.985 MB / 301.1 MB, free: 156 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1392/0.1418, allocations: 0.7694 MB / 301.9 MB, free: 19.16 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001399/0.142, allocations: 4.219 kB / 301.9 MB, free: 19.16 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005176/0.1425, allocations: 268.7 kB / 302.1 MB, free: 19.12 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003966/0.1429, allocations: 202.1 kB / 302.3 MB, free: 19.1 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001153/0.144, allocations: 0.5761 MB / 302.9 MB, free: 19.08 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005184/0.1446, allocations: 311.4 kB / 303.2 MB, free: 19.04 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001766/0.1447, allocations: 52.53 kB / 303.3 MB, free: 19.04 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003045/0.145, allocations: 165.4 kB / 303.4 MB, free: 19.02 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002976/0.1453, allocations: 171.2 kB / 303.6 MB, free: 19 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.645e-05/0.1454, allocations: 8.812 kB / 303.6 MB, free: 19 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001774/0.1455, allocations: 72.53 kB / 303.7 MB, free: 19 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001257/0.1457, allocations: 101.2 kB / 303.8 MB, free: 18.98 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.344e-05/0.1457, allocations: 56.09 kB / 303.8 MB, free: 18.96 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003941/0.1461, allocations: 240.8 kB / 304.1 MB, free: 18.9 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/0.1461, allocations: 0.5625 kB / 304.1 MB, free: 18.9 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1461, allocations: 0 / 304.1 MB, free: 18.9 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.979e-06/0.1461, allocations: 2.125 kB / 304.1 MB, free: 18.9 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0007847/0.1469, allocations: 0.53 MB / 304.6 MB, free: 18.48 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.147, allocations: 9.422 kB / 304.6 MB, free: 18.48 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.821e-05/0.1471, allocations: 31.11 kB / 304.6 MB, free: 18.48 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002537/0.1473, allocations: 257.5 kB / 304.9 MB, free: 18.28 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.1473, allocations: 6.344 kB / 304.9 MB, free: 18.28 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.577e-05/0.1473, allocations: 14.72 kB / 304.9 MB, free: 18.27 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001524/0.1475, allocations: 97.77 kB / 305 MB, free: 18.21 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.1475, allocations: 6.172 kB / 305 MB, free: 18.21 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.1475, allocations: 1.594 kB / 305 MB, free: 18.21 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.704e-06/0.1475, allocations: 6.188 kB / 305 MB, free: 18.2 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.996e-05/0.1476, allocations: 29.27 kB / 305 MB, free: 18.2 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003872/0.148, allocations: 277.5 kB / 305.3 MB, free: 18.01 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.76e-05/0.1481, allocations: 66.84 kB / 305.4 MB, free: 17.97 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.631e-05/0.1481, allocations: 19.61 kB / 305.4 MB, free: 17.96 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.488e-05/0.1481, allocations: 3.719 kB / 305.4 MB, free: 17.96 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.834e-05/0.1481, allocations: 36.89 kB / 305.4 MB, free: 17.92 MB / 282.7 MB Notification: Performance of pre-optimization done (n=11): time 2.344e-06/0.1481, allocations: 0 / 305.4 MB, free: 17.92 MB / 282.7 MB Notification: Performance of matching and sorting (n=17): time 0.0004585/0.1486, allocations: 202.8 kB / 305.6 MB, free: 17.86 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.436e-05/0.1486, allocations: 58.23 kB / 305.7 MB, free: 17.79 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003031/0.1489, allocations: 379.7 kB / 306.1 MB, free: 17.61 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.38e-05/0.1489, allocations: 33.27 kB / 306.1 MB, free: 17.58 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.371e-05/0.149, allocations: 141.5 kB / 306.2 MB, free: 17.47 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.786e-05/0.149, allocations: 57.45 kB / 306.3 MB, free: 17.42 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.136e-05/0.1491, allocations: 30.5 kB / 306.3 MB, free: 17.4 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.86e-05/0.1491, allocations: 352.4 kB / 306.7 MB, free: 17.07 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.97e-05/0.1492, allocations: 15.31 kB / 306.7 MB, free: 17.07 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.687e-05/0.1492, allocations: 16.56 kB / 306.7 MB, free: 17.07 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.891e-05/0.1493, allocations: 67.53 kB / 306.8 MB, free: 17.04 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.1493, allocations: 0 / 306.8 MB, free: 17.04 MB / 282.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001354/0.1494, allocations: 102.7 kB / 306.9 MB, free: 17.01 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.1494, allocations: 9.5 kB / 306.9 MB, free: 17 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.1494, allocations: 0 / 306.9 MB, free: 17 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.1494, allocations: 2 kB / 306.9 MB, free: 17 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.1495, allocations: 34.56 kB / 306.9 MB, free: 17 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.755e-06/0.1495, allocations: 0 / 306.9 MB, free: 17 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.619e-05/0.1496, allocations: 15.8 kB / 306.9 MB, free: 16.99 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.376e-06/0.1496, allocations: 4 kB / 306.9 MB, free: 16.99 MB / 282.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 6.356e-05/0.1496, allocations: 120.3 kB / 307 MB, free: 16.86 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.154e-05/0.1497, allocations: 26.81 kB / 307.1 MB, free: 16.86 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002097/0.1499, allocations: 142.2 kB / 307.2 MB, free: 16.8 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.1499, allocations: 6.438 kB / 307.2 MB, free: 16.79 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.1499, allocations: 3.938 kB / 307.2 MB, free: 16.79 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.1499, allocations: 1.078 kB / 307.2 MB, free: 16.79 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004057/0.1503, allocations: 359.8 kB / 307.6 MB, free: 16.55 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.1503, allocations: 1.797 kB / 307.6 MB, free: 16.55 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.847e-05/0.1504, allocations: 33.19 kB / 307.6 MB, free: 16.55 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.1504, allocations: 3.938 kB / 307.6 MB, free: 16.55 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.1504, allocations: 5.969 kB / 307.6 MB, free: 16.54 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.1504, allocations: 3.984 kB / 307.6 MB, free: 16.54 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.1504, allocations: 4.516 kB / 307.6 MB, free: 16.54 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001668/0.1506, allocations: 206.3 kB / 307.8 MB, free: 16.39 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.645e-05/0.1506, allocations: 33.31 kB / 307.9 MB, free: 16.37 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.83e-05/0.1506, allocations: 1.625 kB / 307.9 MB, free: 16.37 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.332e-05/0.1507, allocations: 8.062 kB / 307.9 MB, free: 16.37 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.258e-05/0.1507, allocations: 9.422 kB / 307.9 MB, free: 16.37 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.705e-06/0.1507, allocations: 3.703 kB / 307.9 MB, free: 16.37 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002014/0.1509, allocations: 172 kB / 308.1 MB, free: 16.32 MB / 282.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.1509, allocations: 0 / 308.1 MB, free: 16.32 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002198/0.1511, allocations: 53.34 kB / 308.1 MB, free: 16.3 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 (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.001855/0.153, allocations: 0.9184 MB / 309 MB, free: 15.7 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001353/0.1531, allocations: 71.48 kB / 309.1 MB, free: 15.68 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.756e-06/0.1531, allocations: 3.375 kB / 309.1 MB, free: 15.68 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.591e-05/0.1532, allocations: 41.88 kB / 309.1 MB, free: 15.66 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002898/0.1535, allocations: 82.36 kB / 309.2 MB, free: 15.63 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006679/0.1541, allocations: 0.5676 MB / 309.8 MB, free: 15.27 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.256e-05/0.1542, allocations: 116.9 kB / 309.9 MB, free: 15.2 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001087/0.1543, allocations: 46.94 kB / 309.9 MB, free: 15.18 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001109/0.1544, allocations: 95.55 kB / 310 MB, free: 15.12 MB / 282.7 MB Notification: Performance of SimCode: time 9.82e-07/0.1544, allocations: 0 / 310 MB, free: 15.12 MB / 282.7 MB Notification: Performance of Templates: time 0.006982/0.1614, allocations: 3.65 MB / 313.7 MB, free: 13.93 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/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: 3.118883148767054]