Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test32.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.Test32,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.Test32") translateModel(ModelicaTest.Tables.CombiTable1D.Test32,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.Test32") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009403/0.0009404, allocations: 179.5 kB / 16.41 MB, free: 5.703 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.581/1.581, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.0008915/0.0008915, allocations: 85.17 kB / 270.9 MB, free: 8.355 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.3724/0.3724, allocations: 43.56 MB / 362.7 MB, free: 51.94 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003952/0.0003953, allocations: 8 kB / 431.4 MB, free: 5.906 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.151/0.1514, allocations: 58.84 MB / 490.2 MB, free: 10.98 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test32): time 0.002208/0.1537, allocations: 1.263 MB / 491.5 MB, free: 9.707 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005966/0.1543, allocations: 295.8 kB / 491.8 MB, free: 9.414 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.189e-05/0.1544, allocations: 0 / 491.8 MB, free: 9.414 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003356/0.1547, allocations: 103.8 kB / 491.9 MB, free: 9.312 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001895/0.1549, allocations: 67.78 kB / 492 MB, free: 9.246 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000303/0.1553, allocations: 83.91 kB / 492 MB, free: 9.164 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001692/0.1554, allocations: 71.8 kB / 492.1 MB, free: 9.094 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.1556, allocations: 15.91 kB / 492.1 MB, free: 9.078 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.553e-05/0.1556, allocations: 39.83 kB / 492.2 MB, free: 9.039 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001118/0.1558, allocations: 43.89 kB / 492.2 MB, free: 8.996 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.78e-05/0.1558, allocations: 3.984 kB / 492.2 MB, free: 8.992 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.385e-05/0.1559, allocations: 20 kB / 492.2 MB, free: 8.973 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.684e-05/0.1559, allocations: 27.91 kB / 492.3 MB, free: 8.945 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.069e-05/0.156, allocations: 41.64 kB / 492.3 MB, free: 8.898 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001335/0.1561, allocations: 63.91 kB / 492.4 MB, free: 8.836 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.1561, allocations: 0 / 492.4 MB, free: 8.836 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.815e-06/0.1561, allocations: 0 / 492.4 MB, free: 8.836 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.1561, allocations: 0 / 492.4 MB, free: 8.836 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.0005301/0.1567, allocations: 411 kB / 492.8 MB, free: 8.387 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.1567, allocations: 12.02 kB / 492.8 MB, free: 8.375 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.587e-05/0.1568, allocations: 23.77 kB / 492.8 MB, free: 8.352 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002236/0.157, allocations: 190.9 kB / 493 MB, free: 8.125 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.157, allocations: 4 kB / 493 MB, free: 8.121 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.003e-05/0.1571, allocations: 0 / 493 MB, free: 8.121 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001671/0.1572, allocations: 53.67 kB / 493 MB, free: 8.062 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.1573, allocations: 0 / 493 MB, free: 8.062 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.1573, allocations: 0 / 493 MB, free: 8.062 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.1573, allocations: 0 / 493 MB, free: 8.062 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001055/0.1574, allocations: 31.94 kB / 493.1 MB, free: 8.031 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004521/0.1579, allocations: 292.9 kB / 493.4 MB, free: 7.695 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002214/0.1581, allocations: 46.56 kB / 493.4 MB, free: 7.641 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.851e-05/0.1582, allocations: 20.94 kB / 493.4 MB, free: 7.617 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.339e-05/0.1582, allocations: 0 / 493.4 MB, free: 7.617 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.383e-05/0.1582, allocations: 34.56 kB / 493.4 MB, free: 7.574 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 2.535e-06/0.1582, allocations: 0 / 493.4 MB, free: 7.574 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006239/0.1589, allocations: 185 kB / 493.6 MB, free: 7.387 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.423e-05/0.1589, allocations: 51.41 kB / 493.7 MB, free: 7.324 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002446/0.1592, allocations: 242.6 kB / 493.9 MB, free: 7.074 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.225e-05/0.1592, allocations: 25.7 kB / 493.9 MB, free: 7.043 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.757e-05/0.1593, allocations: 104.1 kB / 494 MB, free: 6.938 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.836e-05/0.1593, allocations: 27.73 kB / 494.1 MB, free: 6.91 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.268e-06/0.1593, allocations: 0 / 494.1 MB, free: 6.91 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.1595, allocations: 322.8 kB / 494.4 MB, free: 6.586 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.445e-05/0.1596, allocations: 23.98 kB / 494.4 MB, free: 6.562 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.713e-05/0.1597, allocations: 23.98 kB / 494.4 MB, free: 6.539 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.856e-05/0.1598, allocations: 31.98 kB / 494.5 MB, free: 6.508 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.1598, allocations: 0 / 494.5 MB, free: 6.508 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002116/0.16, allocations: 101.5 kB / 494.6 MB, free: 6.402 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.16, allocations: 7.953 kB / 494.6 MB, free: 6.395 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.16, allocations: 3.938 kB / 494.6 MB, free: 6.391 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.1601, allocations: 7.938 kB / 494.6 MB, free: 6.383 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.721e-05/0.1601, allocations: 12.25 kB / 494.6 MB, free: 6.371 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.157e-05/0.1601, allocations: 7.922 kB / 494.6 MB, free: 6.363 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.947e-05/0.1602, allocations: 12 kB / 494.6 MB, free: 6.352 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.694e-06/0.1602, allocations: 0 / 494.6 MB, free: 6.352 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.0001056/0.1603, allocations: 126.9 kB / 494.7 MB, free: 6.219 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.439e-05/0.1604, allocations: 15.81 kB / 494.8 MB, free: 6.203 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000271/0.1606, allocations: 118.6 kB / 494.9 MB, free: 6.074 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.1607, allocations: 0 / 494.9 MB, free: 6.074 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.1607, allocations: 0 / 494.9 MB, free: 6.074 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.1607, allocations: 0 / 494.9 MB, free: 6.074 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004703/0.1612, allocations: 374.5 kB / 495.2 MB, free: 5.652 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1612, allocations: 0 / 495.2 MB, free: 5.652 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.913e-05/0.1612, allocations: 19.94 kB / 495.3 MB, free: 5.633 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.1612, allocations: 0 / 495.3 MB, free: 5.633 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.1613, allocations: 0 / 495.3 MB, free: 5.633 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1613, allocations: 0 / 495.3 MB, free: 5.633 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1613, allocations: 0 / 495.3 MB, free: 5.633 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002321/0.1615, allocations: 195.6 kB / 495.4 MB, free: 5.426 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.043e-05/0.1616, allocations: 92.92 kB / 495.5 MB, free: 5.316 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.013e-05/0.1616, allocations: 7.938 kB / 495.5 MB, free: 5.309 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.097e-05/0.1617, allocations: 15.98 kB / 495.6 MB, free: 5.293 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.745e-05/0.1617, allocations: 0 / 495.6 MB, free: 5.293 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.564e-06/0.1617, allocations: 8.172 kB / 495.6 MB, free: 5.285 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001453/0.1619, allocations: 183.2 kB / 495.7 MB, free: 5.105 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1619, allocations: 0 / 495.7 MB, free: 5.105 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002175/0.1621, allocations: 11.98 kB / 495.8 MB, free: 5.094 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.0008711/0.163, allocations: 408.7 kB / 496.2 MB, free: 4.738 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002202/0.1632, allocations: 59.97 kB / 496.2 MB, free: 4.68 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/0.1632, allocations: 0 / 496.2 MB, free: 4.68 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.975e-05/0.1633, allocations: 31.92 kB / 496.2 MB, free: 4.648 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003281/0.1637, allocations: 12.17 kB / 496.3 MB, free: 4.637 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000542/0.1642, allocations: 299.2 kB / 496.6 MB, free: 4.312 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003604/0.1646, allocations: 0.7122 MB / 497.3 MB, free: 3.574 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.816e-05/0.1646, allocations: 15.42 kB / 497.3 MB, free: 3.559 MB / 378.7 MB Notification: Performance of SimCode: time 2.61e-07/0.1646, allocations: 0 / 497.3 MB, free: 3.559 MB / 378.7 MB Notification: Performance of Templates: time 0.003593/0.1682, allocations: 1.571 MB / 498.9 MB, free: 1.988 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test32.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test32.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test32.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test32.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test32.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test32 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test32/Test32.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches