Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.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.001038/0.001038, allocations: 80.05 kB / 20.72 MB, free: 3.77 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.001234/0.001234, allocations: 169 kB / 24.14 MB, free: 364 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 0.8715/0.8715, allocations: 158.6 MB / 186 MB, free: 2.766 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.154/0.154, allocations: 32.38 MB / 270.7 MB, free: 14.6 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.CombiTable1Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 299.1 MB, free: 2.203 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.702e-05/1.845e-05, allocations: 2.312 kB / 299.1 MB, free: 2.199 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test31): time 0.00345/0.003468, allocations: 1.6 MB / 300.7 MB, free: 0.5898 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005975/0.004066, allocations: 323.4 kB / 301 MB, free: 276 kB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.06e-05/0.004116, allocations: 0 / 301 MB, free: 276 kB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003307/0.004447, allocations: 123.6 kB / 301.1 MB, free: 152 kB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002022/0.004649, allocations: 91.62 kB / 301.2 MB, free: 60 kB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1359/0.1406, allocations: 64.98 kB / 301.3 MB, free: 19.3 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002575/0.1408, allocations: 82.23 kB / 301.3 MB, free: 19.3 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.302e-05/0.1409, allocations: 12.98 kB / 301.4 MB, free: 19.3 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001044/0.141, allocations: 47.72 kB / 301.4 MB, free: 19.3 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00014/0.1412, allocations: 69.67 kB / 301.5 MB, free: 19.3 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.633e-05/0.1412, allocations: 4.875 kB / 301.5 MB, free: 19.3 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.779e-05/0.1413, allocations: 31.44 kB / 301.5 MB, free: 19.3 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.094e-05/0.1413, allocations: 30.06 kB / 301.5 MB, free: 19.29 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.635e-05/0.1414, allocations: 15.42 kB / 301.6 MB, free: 19.29 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001927/0.1416, allocations: 84.34 kB / 301.6 MB, free: 19.28 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.1416, allocations: 1.656 kB / 301.6 MB, free: 19.28 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1416, allocations: 0 / 301.6 MB, free: 19.28 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.457e-06/0.1416, allocations: 0 / 301.6 MB, free: 19.28 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003098/0.1419, allocations: 328.8 kB / 302 MB, free: 19.01 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.274e-05/0.1419, allocations: 9.438 kB / 302 MB, free: 19.01 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.101e-05/0.1419, allocations: 8.109 kB / 302 MB, free: 19.01 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001213/0.1421, allocations: 146.6 kB / 302.1 MB, free: 18.87 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.917e-06/0.1421, allocations: 5.141 kB / 302.1 MB, free: 18.87 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.911e-05/0.1421, allocations: 3.875 kB / 302.1 MB, free: 18.87 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.476e-05/0.1422, allocations: 53.31 kB / 302.2 MB, free: 18.82 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.1422, allocations: 1.312 kB / 302.2 MB, free: 18.82 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.582e-06/0.1422, allocations: 384 / 302.2 MB, free: 18.82 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.1422, allocations: 5.156 kB / 302.2 MB, free: 18.82 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.049e-05/0.1422, allocations: 9.438 kB / 302.2 MB, free: 18.82 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000202/0.1424, allocations: 165.8 kB / 302.4 MB, free: 18.67 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001239/0.1425, allocations: 31.84 kB / 302.4 MB, free: 18.64 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.257e-05/0.1426, allocations: 11.53 kB / 302.4 MB, free: 18.64 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.601e-05/0.1426, allocations: 2.594 kB / 302.4 MB, free: 18.64 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.386e-05/0.1426, allocations: 32.84 kB / 302.4 MB, free: 18.6 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 6.91e-07/0.1426, allocations: 0.5938 kB / 302.4 MB, free: 18.6 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002458/0.1428, allocations: 85.91 kB / 302.5 MB, free: 18.56 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.212e-05/0.1429, allocations: 52.44 kB / 302.6 MB, free: 18.5 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001253/0.143, allocations: 206.8 kB / 302.8 MB, free: 18.38 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.661e-06/0.143, allocations: 27.48 kB / 302.8 MB, free: 18.35 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.079e-05/0.143, allocations: 105.5 kB / 302.9 MB, free: 18.26 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.923e-05/0.143, allocations: 13.12 kB / 302.9 MB, free: 18.25 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.606e-05/0.1431, allocations: 20.06 kB / 302.9 MB, free: 18.23 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.682e-05/0.1431, allocations: 325.4 kB / 303.2 MB, free: 17.92 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.122e-05/0.1431, allocations: 3.859 kB / 303.3 MB, free: 17.92 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.014e-05/0.1431, allocations: 5.344 kB / 303.3 MB, free: 17.92 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.526e-05/0.1432, allocations: 21.02 kB / 303.3 MB, free: 17.91 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.1432, allocations: 0.8438 kB / 303.3 MB, free: 17.91 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.048e-05/0.1432, allocations: 53.14 kB / 303.3 MB, free: 17.88 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.1432, allocations: 10.03 kB / 303.3 MB, free: 17.88 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.1432, allocations: 0 / 303.3 MB, free: 17.88 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.1433, allocations: 3.141 kB / 303.3 MB, free: 17.88 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.917e-05/0.1433, allocations: 10.61 kB / 303.4 MB, free: 17.88 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.366e-06/0.1433, allocations: 1.531 kB / 303.4 MB, free: 17.88 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.786e-05/0.1433, allocations: 3.828 kB / 303.4 MB, free: 17.88 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.689e-06/0.1433, allocations: 0.9688 kB / 303.4 MB, free: 17.88 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 (5): * Single equations (assignments): 5 * 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 4.206e-05/0.1434, allocations: 117.2 kB / 303.5 MB, free: 17.76 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.899e-05/0.1434, allocations: 19.17 kB / 303.5 MB, free: 17.76 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.035e-05/0.1435, allocations: 67.08 kB / 303.6 MB, free: 17.71 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.1435, allocations: 1.125 kB / 303.6 MB, free: 17.71 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.374e-06/0.1435, allocations: 0.75 kB / 303.6 MB, free: 17.71 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.1435, allocations: 0.9062 kB / 303.6 MB, free: 17.71 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001673/0.1436, allocations: 214.6 kB / 303.8 MB, free: 17.54 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.1436, allocations: 0.75 kB / 303.8 MB, free: 17.54 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.556e-05/0.1437, allocations: 15.19 kB / 303.8 MB, free: 17.53 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.1437, allocations: 0 / 303.8 MB, free: 17.53 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.32e-06/0.1437, allocations: 6.156 kB / 303.8 MB, free: 17.53 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.1437, allocations: 1.828 kB / 303.8 MB, free: 17.53 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.1437, allocations: 0 / 303.8 MB, free: 17.53 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.293e-05/0.1437, allocations: 146.2 kB / 303.9 MB, free: 17.4 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.041e-05/0.1438, allocations: 16.11 kB / 304 MB, free: 17.39 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.146e-05/0.1438, allocations: 5.312 kB / 304 MB, free: 17.39 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.892e-05/0.1438, allocations: 2.891 kB / 304 MB, free: 17.39 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.657e-05/0.1438, allocations: 3.391 kB / 304 MB, free: 17.39 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.916e-06/0.1438, allocations: 1.094 kB / 304 MB, free: 17.39 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.893e-05/0.1439, allocations: 76.97 kB / 304 MB, free: 17.37 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1439, allocations: 1.688 kB / 304 MB, free: 17.37 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001317/0.144, allocations: 15.86 kB / 304.1 MB, free: 17.37 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 (5): * Single equations (assignments): 5 * 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.0009837/0.145, allocations: 0.4976 MB / 304.6 MB, free: 17.12 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.527e-05/0.1451, allocations: 26.53 kB / 304.6 MB, free: 17.11 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.8e-06/0.1451, allocations: 2.281 kB / 304.6 MB, free: 17.11 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.013e-05/0.1451, allocations: 14.56 kB / 304.6 MB, free: 17.1 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001562/0.1453, allocations: 25.27 kB / 304.6 MB, free: 17.09 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003124/0.1456, allocations: 227 kB / 304.8 MB, free: 16.93 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.142e-05/0.1456, allocations: 69.25 kB / 304.9 MB, free: 16.86 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.927e-05/0.1456, allocations: 6.375 kB / 304.9 MB, free: 16.86 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.685e-05/0.1457, allocations: 61.09 kB / 305 MB, free: 16.81 MB / 282.7 MB Notification: Performance of SimCode: time 4.5e-07/0.1457, allocations: 0 / 305 MB, free: 16.81 MB / 282.7 MB Notification: Performance of Templates: time 0.003372/0.1491, allocations: 1.247 MB / 306.2 MB, free: 16.66 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test31/Test31.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.9469754500314593]