Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test15.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.Test15,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.Test15") translateModel(ModelicaTest.Tables.CombiTable1D.Test15,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.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009278/0.0009279, 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.541/1.541, 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.0008509/0.000851, allocations: 93.14 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.4011/0.4011, allocations: 43.56 MB / 362.7 MB, free: 51.95 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004345/0.0004347, allocations: 12 kB / 431.4 MB, free: 5.918 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1459/0.1464, allocations: 58.84 MB / 490.2 MB, free: 10.99 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test15): time 0.001961/0.1484, allocations: 1.263 MB / 491.5 MB, free: 9.715 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.000601/0.149, allocations: 295.8 kB / 491.8 MB, free: 9.422 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.252e-05/0.1491, allocations: 0 / 491.8 MB, free: 9.422 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003357/0.1494, allocations: 79.83 kB / 491.9 MB, free: 9.344 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001864/0.1496, allocations: 55.81 kB / 491.9 MB, free: 9.289 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002876/0.1499, allocations: 75.91 kB / 492 MB, free: 9.215 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001648/0.1501, allocations: 63.81 kB / 492.1 MB, free: 9.152 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000139/0.1502, allocations: 19.91 kB / 492.1 MB, free: 9.133 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.049e-05/0.1503, allocations: 31.86 kB / 492.1 MB, free: 9.102 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001383/0.1505, allocations: 39.88 kB / 492.1 MB, free: 9.062 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.89e-05/0.1505, allocations: 0 / 492.1 MB, free: 9.062 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.083e-05/0.1506, allocations: 20 kB / 492.2 MB, free: 9.043 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.482e-05/0.1506, allocations: 19.92 kB / 492.2 MB, free: 9.023 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.212e-05/0.1507, allocations: 33.64 kB / 492.2 MB, free: 8.984 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001486/0.1508, allocations: 67.89 kB / 492.3 MB, free: 8.918 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/0.1509, allocations: 4 kB / 492.3 MB, free: 8.914 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1509, allocations: 0 / 492.3 MB, free: 8.914 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.114e-05/0.1509, allocations: 0 / 492.3 MB, free: 8.914 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.0006429/0.1515, allocations: 391.2 kB / 492.7 MB, free: 8.484 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.758e-05/0.1516, allocations: 15.95 kB / 492.7 MB, free: 8.469 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.681e-05/0.1517, allocations: 11.86 kB / 492.7 MB, free: 8.457 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002133/0.1519, allocations: 194.8 kB / 492.9 MB, free: 8.227 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.288e-06/0.1519, allocations: 0 / 492.9 MB, free: 8.227 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.448e-05/0.152, allocations: 4 kB / 492.9 MB, free: 8.223 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001477/0.1521, allocations: 53.69 kB / 492.9 MB, free: 8.164 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.1521, allocations: 0 / 492.9 MB, free: 8.164 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.649e-06/0.1521, allocations: 0 / 492.9 MB, free: 8.164 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.1522, allocations: 0 / 492.9 MB, free: 8.164 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001074/0.1523, allocations: 35.92 kB / 493 MB, free: 8.129 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000441/0.1527, allocations: 288.9 kB / 493.3 MB, free: 7.797 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002193/0.1529, allocations: 50.55 kB / 493.3 MB, free: 7.738 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.777e-05/0.153, allocations: 12.86 kB / 493.3 MB, free: 7.723 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.577e-05/0.153, allocations: 4 kB / 493.3 MB, free: 7.719 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.414e-05/0.1531, allocations: 38.64 kB / 493.4 MB, free: 7.672 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.323e-06/0.1531, allocations: 0 / 493.4 MB, free: 7.672 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006108/0.1537, allocations: 173.1 kB / 493.5 MB, free: 7.496 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.156e-05/0.1538, allocations: 59.41 kB / 493.6 MB, free: 7.426 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001951/0.154, allocations: 198.2 kB / 493.8 MB, free: 7.223 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.226e-05/0.154, allocations: 25.7 kB / 493.8 MB, free: 7.191 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.526e-05/0.1541, allocations: 104.1 kB / 493.9 MB, free: 7.086 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.049e-05/0.1541, allocations: 15.7 kB / 493.9 MB, free: 7.07 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.847e-06/0.1541, allocations: 0 / 493.9 MB, free: 7.07 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.1542, allocations: 322.8 kB / 494.2 MB, free: 6.746 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.268e-05/0.1543, allocations: 27.98 kB / 494.3 MB, free: 6.719 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.32e-05/0.1544, allocations: 27.92 kB / 494.3 MB, free: 6.691 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.563e-05/0.1545, allocations: 32.17 kB / 494.3 MB, free: 6.66 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.1545, allocations: 0 / 494.3 MB, free: 6.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000192/0.1547, allocations: 101.6 kB / 494.4 MB, free: 6.555 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.1547, allocations: 7.953 kB / 494.4 MB, free: 6.547 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.85e-06/0.1547, allocations: 3.938 kB / 494.4 MB, free: 6.543 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.1547, allocations: 0 / 494.4 MB, free: 6.543 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.35e-05/0.1548, allocations: 12 kB / 494.4 MB, free: 6.531 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.034e-06/0.1548, allocations: 0 / 494.4 MB, free: 6.531 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.118e-05/0.1549, allocations: 15.92 kB / 494.5 MB, free: 6.516 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.611e-06/0.1549, allocations: 4 kB / 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.0001028/0.155, allocations: 125.8 kB / 494.6 MB, free: 6.379 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.245e-05/0.155, allocations: 11.91 kB / 494.6 MB, free: 6.367 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002623/0.1553, allocations: 106.2 kB / 494.7 MB, free: 6.258 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.1553, allocations: 4 kB / 494.7 MB, free: 6.254 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.1553, allocations: 0 / 494.7 MB, free: 6.254 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.1553, allocations: 7.969 kB / 494.7 MB, free: 6.246 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004462/0.1558, allocations: 370.5 kB / 495.1 MB, free: 5.828 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.1558, allocations: 0 / 495.1 MB, free: 5.828 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.708e-05/0.1559, allocations: 15.95 kB / 495.1 MB, free: 5.812 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.1559, allocations: 0 / 495.1 MB, free: 5.812 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.1559, allocations: 0 / 495.1 MB, free: 5.812 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.1559, allocations: 0 / 495.1 MB, free: 5.812 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.1559, allocations: 3.984 kB / 495.1 MB, free: 5.809 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002514/0.1562, allocations: 199.5 kB / 495.3 MB, free: 5.598 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.238e-05/0.1562, allocations: 89 kB / 495.4 MB, free: 5.492 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.871e-05/0.1563, allocations: 3.953 kB / 495.4 MB, free: 5.488 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.601e-05/0.1563, allocations: 7.938 kB / 495.4 MB, free: 5.48 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.646e-05/0.1564, allocations: 7.984 kB / 495.4 MB, free: 5.473 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.807e-06/0.1564, allocations: 0 / 495.4 MB, free: 5.473 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00013/0.1565, allocations: 168 kB / 495.6 MB, free: 5.309 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1565, allocations: 0 / 495.6 MB, free: 5.309 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002135/0.1568, allocations: 16 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.0008212/0.1576, allocations: 400.7 kB / 496 MB, free: 4.945 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002136/0.1578, allocations: 67.97 kB / 496 MB, free: 4.879 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.616e-06/0.1578, allocations: 0 / 496 MB, free: 4.879 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.546e-05/0.1579, allocations: 35.91 kB / 496.1 MB, free: 4.844 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003176/0.1582, allocations: 12 kB / 496.1 MB, free: 4.832 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004509/0.1587, allocations: 262.9 kB / 496.3 MB, free: 4.535 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003324/0.159, allocations: 0.7121 MB / 497.1 MB, free: 3.797 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.317e-05/0.1591, allocations: 11.44 kB / 497.1 MB, free: 3.785 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.1591, allocations: 0 / 497.1 MB, free: 3.785 MB / 378.7 MB Notification: Performance of Templates: time 0.003083/0.1622, allocations: 1.481 MB / 498.5 MB, free: 2.305 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test15.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test15.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test15.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test15.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test15.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test15 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test15/Test15.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches