Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test30.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1D.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test30") translateModel(ModelicaTest.Tables.CombiTable1D.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001211/0.001211, allocations: 179.4 kB / 16.41 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.556/1.556, allocations: 205.4 MB / 222.5 MB, free: 9.113 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007772/0.0007773, allocations: 102.4 kB / 270.9 MB, free: 8.348 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4142/0.4142, allocations: 43.56 MB / 362.7 MB, free: 51.82 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004031/0.0004032, allocations: 12 kB / 431.4 MB, free: 5.91 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1505/0.1509, allocations: 58.85 MB / 490.2 MB, free: 10.98 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test30): time 0.002969/0.154, allocations: 1.251 MB / 491.5 MB, free: 9.715 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008474/0.1549, allocations: 299.8 kB / 491.8 MB, free: 9.418 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.253e-05/0.155, allocations: 0 / 491.8 MB, free: 9.418 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003875/0.1554, allocations: 75.84 kB / 491.9 MB, free: 9.344 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002759/0.1557, allocations: 47.88 kB / 491.9 MB, free: 9.297 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000435/0.1562, allocations: 87.83 kB / 492 MB, free: 9.211 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002227/0.1564, allocations: 59.81 kB / 492.1 MB, free: 9.152 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001413/0.1565, allocations: 19.98 kB / 492.1 MB, free: 9.133 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.816e-05/0.1567, allocations: 23.91 kB / 492.1 MB, free: 9.109 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001577/0.1568, allocations: 43.83 kB / 492.1 MB, free: 9.066 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.325e-05/0.1569, allocations: 0 / 492.1 MB, free: 9.066 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001207/0.157, allocations: 27.92 kB / 492.2 MB, free: 9.039 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.974e-05/0.1571, allocations: 15.94 kB / 492.2 MB, free: 9.023 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.578e-05/0.1571, allocations: 37.62 kB / 492.2 MB, free: 8.98 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001799/0.1573, allocations: 67.91 kB / 492.3 MB, free: 8.914 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.057e-06/0.1573, allocations: 3.984 kB / 492.3 MB, free: 8.91 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.1573, allocations: 0 / 492.3 MB, free: 8.91 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.1574, allocations: 0 / 492.3 MB, free: 8.91 MB / 378.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.0006815/0.158, allocations: 387.2 kB / 492.7 MB, free: 8.484 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.554e-05/0.1581, allocations: 19.94 kB / 492.7 MB, free: 8.465 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.63e-05/0.1582, allocations: 15.86 kB / 492.7 MB, free: 8.449 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002992/0.1585, allocations: 178.9 kB / 492.9 MB, free: 8.234 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.83e-05/0.1585, allocations: 8 kB / 492.9 MB, free: 8.227 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.591e-05/0.1586, allocations: 4 kB / 492.9 MB, free: 8.223 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000205/0.1588, allocations: 53.61 kB / 492.9 MB, free: 8.164 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.1588, allocations: 0 / 492.9 MB, free: 8.164 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.1589, allocations: 0 / 492.9 MB, free: 8.164 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.1589, allocations: 0 / 492.9 MB, free: 8.164 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001471/0.159, allocations: 31.94 kB / 493 MB, free: 8.133 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005351/0.1596, allocations: 292.9 kB / 493.3 MB, free: 7.797 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002827/0.1599, allocations: 46.5 kB / 493.3 MB, free: 7.742 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.791e-05/0.16, allocations: 24.92 kB / 493.3 MB, free: 7.715 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.838e-05/0.16, allocations: 4 kB / 493.3 MB, free: 7.711 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.887e-05/0.16, allocations: 30.56 kB / 493.4 MB, free: 7.672 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.954e-06/0.1601, allocations: 0 / 493.4 MB, free: 7.672 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008671/0.1609, allocations: 185.1 kB / 493.5 MB, free: 7.484 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.576e-05/0.161, allocations: 51.41 kB / 493.6 MB, free: 7.422 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002765/0.1613, allocations: 202.2 kB / 493.8 MB, free: 7.215 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.782e-05/0.1613, allocations: 25.7 kB / 493.8 MB, free: 7.184 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.048e-05/0.1614, allocations: 100.1 kB / 493.9 MB, free: 7.082 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.066e-05/0.1615, allocations: 15.72 kB / 493.9 MB, free: 7.066 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.949e-06/0.1615, allocations: 4 kB / 493.9 MB, free: 7.062 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.1616, allocations: 322.8 kB / 494.2 MB, free: 6.738 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001059/0.1617, allocations: 23.98 kB / 494.3 MB, free: 6.715 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.416e-05/0.1618, allocations: 24.05 kB / 494.3 MB, free: 6.691 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001174/0.162, allocations: 32.11 kB / 494.3 MB, free: 6.66 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.162, allocations: 0 / 494.3 MB, free: 6.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002892/0.1623, allocations: 101.5 kB / 494.4 MB, free: 6.555 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.286e-05/0.1623, allocations: 7.953 kB / 494.4 MB, free: 6.547 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.1623, allocations: 0 / 494.4 MB, free: 6.547 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.1624, allocations: 0 / 494.4 MB, free: 6.547 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.438e-05/0.1625, allocations: 19.98 kB / 494.4 MB, free: 6.527 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.1625, allocations: 0 / 494.4 MB, free: 6.527 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.155e-05/0.1625, allocations: 15.88 kB / 494.5 MB, free: 6.512 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.1626, allocations: 0 / 494.5 MB, free: 6.512 MB / 378.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001294/0.1627, allocations: 129.8 kB / 494.6 MB, free: 6.375 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.239e-05/0.1628, allocations: 7.906 kB / 494.6 MB, free: 6.367 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003501/0.1631, allocations: 121.8 kB / 494.7 MB, free: 6.242 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.1631, allocations: 0 / 494.7 MB, free: 6.242 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.1631, allocations: 0 / 494.7 MB, free: 6.242 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.1632, allocations: 0 / 494.7 MB, free: 6.242 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005917/0.1638, allocations: 362.6 kB / 495.1 MB, free: 5.832 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.379e-06/0.1638, allocations: 0 / 495.1 MB, free: 5.832 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.888e-05/0.1639, allocations: 27.88 kB / 495.1 MB, free: 5.805 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.1639, allocations: 0 / 495.1 MB, free: 5.805 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.1639, allocations: 0 / 495.1 MB, free: 5.805 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1639, allocations: 0 / 495.1 MB, free: 5.805 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.1639, allocations: 192 / 495.1 MB, free: 5.805 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003271/0.1643, allocations: 199.3 kB / 495.3 MB, free: 5.594 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.056e-05/0.1643, allocations: 85.02 kB / 495.4 MB, free: 5.492 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.768e-05/0.1644, allocations: 7.953 kB / 495.4 MB, free: 5.484 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001159/0.1645, allocations: 7.984 kB / 495.4 MB, free: 5.477 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.971e-05/0.1646, allocations: 8 kB / 495.4 MB, free: 5.469 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.66e-06/0.1646, allocations: 0 / 495.4 MB, free: 5.469 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002004/0.1648, allocations: 164 kB / 495.6 MB, free: 5.309 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.1648, allocations: 0 / 495.6 MB, free: 5.309 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003697/0.1652, allocations: 15.98 kB / 495.6 MB, free: 5.293 MB / 378.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009849/0.1662, allocations: 409.5 kB / 496 MB, free: 4.93 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000228/0.1664, allocations: 63.95 kB / 496 MB, free: 4.867 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1664, allocations: 0 / 496 MB, free: 4.867 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.055e-05/0.1665, allocations: 27.98 kB / 496.1 MB, free: 4.84 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003271/0.1668, allocations: 19.92 kB / 496.1 MB, free: 4.82 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004519/0.1673, allocations: 270.9 kB / 496.4 MB, free: 4.516 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002677/0.1676, allocations: 0.7004 MB / 497.1 MB, free: 3.789 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.593e-05/0.1676, allocations: 11.44 kB / 497.1 MB, free: 3.777 MB / 378.7 MB Notification: Performance of SimCode: time 3.6e-07/0.1676, allocations: 0 / 497.1 MB, free: 3.777 MB / 378.7 MB Notification: Performance of Templates: time 0.004086/0.1717, allocations: 1.489 MB / 498.6 MB, free: 2.289 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test30.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test30.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test30.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test30.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test30 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test30/Test30.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches