Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test20.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.CombiTable1Ds.Test20,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.CombiTable1Ds.Test20") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test20,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.CombiTable1Ds.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002333/0.002337, allocations: 183.1 kB / 16.4 MB, free: 5.746 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.385/2.385, allocations: 205.4 MB / 222.5 MB, free: 9.105 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.001219/0.001219, allocations: 108 kB / 270.9 MB, free: 8.352 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.5663/0.5663, allocations: 43.54 MB / 362.7 MB, free: 51.88 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006523/0.0006526, allocations: 12 kB / 431.4 MB, free: 5.941 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.148/0.1487, allocations: 58.85 MB / 490.2 MB, free: 11 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test20): time 0.002581/0.1513, allocations: 1.251 MB / 491.5 MB, free: 9.738 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001823/0.1532, allocations: 0.8673 MB / 492.3 MB, free: 8.863 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.977e-05/0.1533, allocations: 0 / 492.3 MB, free: 8.863 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002504/0.1536, allocations: 23.91 kB / 492.4 MB, free: 8.84 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002144/0.1538, allocations: 31.84 kB / 492.4 MB, free: 8.809 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003377/0.1542, allocations: 67.86 kB / 492.5 MB, free: 8.742 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001554/0.1543, allocations: 31.97 kB / 492.5 MB, free: 8.711 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.1545, allocations: 15.95 kB / 492.5 MB, free: 8.695 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.8e-05/0.1545, allocations: 19.88 kB / 492.5 MB, free: 8.676 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001916/0.1547, allocations: 15.92 kB / 492.5 MB, free: 8.66 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.812e-05/0.1548, allocations: 4 kB / 492.5 MB, free: 8.656 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001595/0.1549, allocations: 35.91 kB / 492.6 MB, free: 8.621 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.186e-05/0.155, allocations: 7.938 kB / 492.6 MB, free: 8.613 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.278e-05/0.1551, allocations: 41.69 kB / 492.6 MB, free: 8.566 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002134/0.1553, allocations: 59.91 kB / 492.7 MB, free: 8.508 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.1553, allocations: 0 / 492.7 MB, free: 8.508 MB / 378.7 MB Notification: Performance of FrontEnd: time 5.13e-06/0.1553, allocations: 4 kB / 492.7 MB, free: 8.504 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.62e-06/0.1553, allocations: 0 / 492.7 MB, free: 8.504 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.0006517/0.156, allocations: 371.4 kB / 493 MB, free: 8.094 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.747e-05/0.1561, allocations: 12.02 kB / 493.1 MB, free: 8.082 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.464e-05/0.1561, allocations: 11.86 kB / 493.1 MB, free: 8.07 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002592/0.1564, allocations: 190.9 kB / 493.3 MB, free: 7.844 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.1564, allocations: 4 kB / 493.3 MB, free: 7.84 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.854e-05/0.1565, allocations: 4 kB / 493.3 MB, free: 7.836 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002187/0.1567, allocations: 63.41 kB / 493.3 MB, free: 7.762 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/0.1567, allocations: 3.906 kB / 493.3 MB, free: 7.758 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.1567, allocations: 0 / 493.3 MB, free: 7.758 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.655e-06/0.1568, allocations: 7.984 kB / 493.3 MB, free: 7.75 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001597/0.1569, allocations: 31.94 kB / 493.4 MB, free: 7.719 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004421/0.1574, allocations: 268.9 kB / 493.6 MB, free: 7.406 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002786/0.1577, allocations: 42.56 kB / 493.7 MB, free: 7.355 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.775e-05/0.1577, allocations: 0 / 493.7 MB, free: 7.355 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.869e-05/0.1578, allocations: 34.56 kB / 493.7 MB, free: 7.312 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.693e-06/0.1578, allocations: 0 / 493.7 MB, free: 7.312 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008916/0.1587, allocations: 157.7 kB / 493.9 MB, free: 7.152 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.95e-05/0.1588, allocations: 85.11 kB / 493.9 MB, free: 7.051 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001866/0.159, allocations: 125.8 kB / 494.1 MB, free: 6.918 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.313e-05/0.159, allocations: 33.64 kB / 494.1 MB, free: 6.879 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.766e-05/0.1591, allocations: 162.5 kB / 494.3 MB, free: 6.719 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.554e-05/0.1591, allocations: 15.69 kB / 494.3 MB, free: 6.703 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.939e-06/0.1592, allocations: 0 / 494.3 MB, free: 6.703 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.1593, allocations: 326.8 kB / 494.6 MB, free: 6.375 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001165/0.1595, allocations: 19.92 kB / 494.6 MB, free: 6.355 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000139/0.1596, allocations: 37.7 kB / 494.6 MB, free: 6.312 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001297/0.1597, allocations: 28.02 kB / 494.7 MB, free: 6.285 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1598, allocations: 0 / 494.7 MB, free: 6.285 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003206/0.1601, allocations: 77.67 kB / 494.8 MB, free: 6.203 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.1601, allocations: 4 kB / 494.8 MB, free: 6.199 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/0.1601, allocations: 3.953 kB / 494.8 MB, free: 6.195 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.1602, allocations: 0 / 494.8 MB, free: 6.195 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001259/0.1603, allocations: 23.92 kB / 494.8 MB, free: 6.172 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.1603, allocations: 0 / 494.8 MB, free: 6.172 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.769e-05/0.1604, allocations: 8 kB / 494.8 MB, free: 6.164 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-06/0.1604, allocations: 0 / 494.8 MB, free: 6.164 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.0001256/0.1606, allocations: 117.8 kB / 494.9 MB, free: 6.039 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.482e-05/0.1606, allocations: 7.906 kB / 494.9 MB, free: 6.031 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000374/0.161, allocations: 97.88 kB / 495 MB, free: 5.934 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-06/0.161, allocations: 3.953 kB / 495 MB, free: 5.93 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.917e-06/0.161, allocations: 4.062 kB / 495 MB, free: 5.926 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.1611, allocations: 4 kB / 495 MB, free: 5.922 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006414/0.1617, allocations: 350.5 kB / 495.4 MB, free: 5.523 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.1617, allocations: 0 / 495.4 MB, free: 5.523 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001093/0.1618, allocations: 15.98 kB / 495.4 MB, free: 5.508 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.225e-06/0.1619, allocations: 3.953 kB / 495.4 MB, free: 5.504 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.243e-05/0.1619, allocations: 4 kB / 495.4 MB, free: 5.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.1619, allocations: 0 / 495.4 MB, free: 5.5 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.1619, allocations: 0 / 495.4 MB, free: 5.5 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003778/0.1623, allocations: 191.4 kB / 495.6 MB, free: 5.297 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.515e-05/0.1624, allocations: 85.02 kB / 495.7 MB, free: 5.195 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.957e-05/0.1624, allocations: 3.953 kB / 495.7 MB, free: 5.191 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001158/0.1625, allocations: 7.984 kB / 495.7 MB, free: 5.184 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.019e-05/0.1626, allocations: 12 kB / 495.7 MB, free: 5.172 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.717e-06/0.1627, allocations: 0 / 495.7 MB, free: 5.172 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001329/0.1628, allocations: 107.2 kB / 495.8 MB, free: 5.066 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.1628, allocations: 0 / 495.8 MB, free: 5.066 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003658/0.1632, allocations: 16 kB / 495.8 MB, free: 5.051 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.001371/0.1646, allocations: 456.2 kB / 496.2 MB, free: 4.652 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003884/0.165, allocations: 47.97 kB / 496.3 MB, free: 4.605 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.908e-06/0.165, allocations: 3.938 kB / 496.3 MB, free: 4.602 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001358/0.1652, allocations: 27.98 kB / 496.3 MB, free: 4.574 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003526/0.1656, allocations: 19.92 kB / 496.3 MB, free: 4.555 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005415/0.1661, allocations: 194.5 kB / 496.5 MB, free: 4.328 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003285/0.1665, allocations: 0.6887 MB / 497.2 MB, free: 3.613 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001104/0.1666, allocations: 19.42 kB / 497.2 MB, free: 3.594 MB / 378.7 MB Notification: Performance of SimCode: time 1.553e-06/0.1666, allocations: 0 / 497.2 MB, free: 3.594 MB / 378.7 MB Notification: Performance of Templates: time 0.005193/0.1718, allocations: 1.57 MB / 498.8 MB, free: 2.023 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test20.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test20.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test20 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test20/Test20.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches