Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test11.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test11") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001357/0.001357, allocations: 96.14 kB / 15.87 MB, free: 16 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00184/0.00184, allocations: 203.1 kB / 16.79 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.921/1.921, allocations: 205.1 MB / 222.6 MB, free: 4.75 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4186/0.4186, allocations: 43.5 MB / 313.5 MB, free: 8.305 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001707/0.001707, allocations: 70.55 kB / 382 MB, free: 8.512 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1554/0.1571, allocations: 57.78 MB / 439.8 MB, free: 14.62 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test11): time 0.003732/0.1609, allocations: 1.618 MB / 441.4 MB, free: 12.99 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006887/0.1617, allocations: 311.6 kB / 441.7 MB, free: 12.68 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.253e-05/0.1617, allocations: 0 / 441.7 MB, free: 12.68 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002727/0.162, allocations: 23.91 kB / 441.8 MB, free: 12.66 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001492/0.1622, allocations: 35.91 kB / 441.8 MB, free: 12.62 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002373/0.1625, allocations: 67.73 kB / 441.9 MB, free: 12.56 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001339/0.1626, allocations: 43.91 kB / 441.9 MB, free: 12.52 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001256/0.1627, allocations: 19.92 kB / 441.9 MB, free: 12.5 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.642e-05/0.1628, allocations: 27.78 kB / 442 MB, free: 12.47 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.904e-05/0.1629, allocations: 11.94 kB / 442 MB, free: 12.46 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.865e-05/0.1629, allocations: 4 kB / 442 MB, free: 12.45 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.113e-05/0.163, allocations: 35.98 kB / 442 MB, free: 12.42 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.229e-05/0.163, allocations: 11.92 kB / 442 MB, free: 12.41 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.857e-05/0.1631, allocations: 27.8 kB / 442 MB, free: 12.38 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001671/0.1633, allocations: 80.02 kB / 442.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.775e-06/0.1633, allocations: 0 / 442.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1633, allocations: 0 / 442.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.1633, allocations: 0 / 442.1 MB, free: 12.3 MB / 382.1 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.0005759/0.1639, allocations: 383.1 kB / 442.5 MB, free: 11.88 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.931e-05/0.164, allocations: 15.97 kB / 442.5 MB, free: 11.86 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.574e-05/0.164, allocations: 16.84 kB / 442.5 MB, free: 11.85 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002696/0.1643, allocations: 188.2 kB / 442.7 MB, free: 11.62 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.1643, allocations: 384 / 442.7 MB, free: 11.62 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.655e-05/0.1643, allocations: 384 / 442.7 MB, free: 11.62 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001776/0.1645, allocations: 49.81 kB / 442.8 MB, free: 11.57 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.635e-05/0.1645, allocations: 0 / 442.8 MB, free: 11.57 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.545e-05/0.1646, allocations: 4 kB / 442.8 MB, free: 11.57 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/0.1646, allocations: 0 / 442.8 MB, free: 11.57 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001052/0.1647, allocations: 27.97 kB / 442.8 MB, free: 11.54 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004978/0.1652, allocations: 284.7 kB / 443.1 MB, free: 11.21 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00028/0.1655, allocations: 46.55 kB / 443.1 MB, free: 11.16 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.352e-05/0.1655, allocations: 12.86 kB / 443.1 MB, free: 11.14 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.15e-05/0.1656, allocations: 4 kB / 443.1 MB, free: 11.14 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.841e-05/0.1656, allocations: 38.56 kB / 443.2 MB, free: 11.09 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.1656, allocations: 0 / 443.2 MB, free: 11.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006571/0.1663, allocations: 133.4 kB / 443.3 MB, free: 10.95 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.071e-05/0.1664, allocations: 55.41 kB / 443.4 MB, free: 10.89 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001894/0.1666, allocations: 165.1 kB / 443.5 MB, free: 10.72 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.033e-05/0.1666, allocations: 29.7 kB / 443.5 MB, free: 10.68 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.412e-05/0.1667, allocations: 100.1 kB / 443.6 MB, free: 10.58 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.928e-05/0.1667, allocations: 15.69 kB / 443.7 MB, free: 10.57 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.151e-05/0.1668, allocations: 21.7 kB / 443.7 MB, free: 10.54 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001731/0.1669, allocations: 322.8 kB / 444 MB, free: 10.21 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.031e-05/0.167, allocations: 19.98 kB / 444 MB, free: 10.2 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.664e-05/0.1671, allocations: 15.98 kB / 444 MB, free: 10.18 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001266/0.1672, allocations: 48.83 kB / 444.1 MB, free: 10.13 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.1672, allocations: 0 / 444.1 MB, free: 10.13 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001885/0.1674, allocations: 77.58 kB / 444.2 MB, free: 10.05 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.1674, allocations: 4 kB / 444.2 MB, free: 10.04 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.1675, allocations: 3.938 kB / 444.2 MB, free: 10.04 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.1675, allocations: 0 / 444.2 MB, free: 10.04 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.016e-05/0.1676, allocations: 24.11 kB / 444.2 MB, free: 10.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.1676, allocations: 0 / 444.2 MB, free: 10.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.616e-05/0.1676, allocations: 19.98 kB / 444.2 MB, free: 9.996 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.562e-06/0.1677, allocations: 0 / 444.2 MB, free: 9.996 MB / 382.1 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 0.0001144/0.1678, allocations: 129.7 kB / 444.3 MB, free: 9.859 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.934e-05/0.1678, allocations: 7.906 kB / 444.3 MB, free: 9.852 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002687/0.1681, allocations: 81.97 kB / 444.4 MB, free: 9.766 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.1681, allocations: 4.281 kB / 444.4 MB, free: 9.762 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.1681, allocations: 0 / 444.4 MB, free: 9.762 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.525e-06/0.1681, allocations: 11.97 kB / 444.4 MB, free: 9.75 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004452/0.1686, allocations: 346.5 kB / 444.8 MB, free: 9.355 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1686, allocations: 0 / 444.8 MB, free: 9.355 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.2e-05/0.1687, allocations: 15.98 kB / 444.8 MB, free: 9.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.1687, allocations: 0 / 444.8 MB, free: 9.34 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.1687, allocations: 0 / 444.8 MB, free: 9.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.1687, allocations: 3.938 kB / 444.8 MB, free: 9.336 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1687, allocations: 0 / 444.8 MB, free: 9.336 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002596/0.169, allocations: 183.3 kB / 445 MB, free: 9.141 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.963e-05/0.169, allocations: 81.11 kB / 445 MB, free: 9.043 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.901e-05/0.1691, allocations: 0 / 445 MB, free: 9.043 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.266e-05/0.1691, allocations: 11.92 kB / 445.1 MB, free: 9.031 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.813e-05/0.1692, allocations: 4 kB / 445.1 MB, free: 9.027 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.392e-06/0.1692, allocations: 4.188 kB / 445.1 MB, free: 9.023 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001161/0.1693, allocations: 131.2 kB / 445.2 MB, free: 8.895 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1693, allocations: 0 / 445.2 MB, free: 8.895 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002493/0.1696, allocations: 16 kB / 445.2 MB, free: 8.879 MB / 382.1 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.001116/0.1707, allocations: 406.3 kB / 445.6 MB, free: 8.508 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002167/0.1709, allocations: 47.91 kB / 445.7 MB, free: 8.461 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.171, allocations: 0 / 445.7 MB, free: 8.461 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.764e-05/0.171, allocations: 27.98 kB / 445.7 MB, free: 8.434 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004085/0.1714, allocations: 11.98 kB / 445.7 MB, free: 8.422 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004512/0.1719, allocations: 199.9 kB / 445.9 MB, free: 8.195 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003619/0.1723, allocations: 0.6965 MB / 446.6 MB, free: 7.473 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.849e-05/0.1723, allocations: 16.23 kB / 446.6 MB, free: 7.457 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.911e-05/0.1724, allocations: 11.44 kB / 446.6 MB, free: 7.445 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1724, allocations: 0 / 446.6 MB, free: 7.445 MB / 382.1 MB Notification: Performance of Templates: time 0.003917/0.1763, allocations: 1.038 MB / 447.7 MB, free: 6.406 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test11.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test11.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test11/Test11.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches