Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8.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.CombiTable2D.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8") translateModel(ModelicaTest.Tables.CombiTable2D.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002048/0.002048, 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.002042/0.002042, allocations: 202.8 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.899/1.899, allocations: 205.1 MB / 222.6 MB, free: 4.766 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.4337/0.4337, allocations: 43.49 MB / 313.5 MB, free: 8.488 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.001592/0.001592, allocations: 74.55 kB / 382 MB, free: 8.727 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1537/0.1553, allocations: 57.77 MB / 439.8 MB, free: 14.86 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test8): time 0.003272/0.1586, allocations: 1.633 MB / 441.4 MB, free: 13.21 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006282/0.1593, allocations: 307.7 kB / 441.7 MB, free: 12.9 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.382e-05/0.1593, allocations: 0 / 441.7 MB, free: 12.9 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005162/0.1598, allocations: 447.2 kB / 442.2 MB, free: 12.46 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002894/0.1601, allocations: 251.4 kB / 442.4 MB, free: 12.22 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002679/0.1604, allocations: 103.8 kB / 442.5 MB, free: 12.12 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001758/0.1606, allocations: 155.6 kB / 442.7 MB, free: 11.96 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.527e-05/0.1607, allocations: 7.984 kB / 442.7 MB, free: 11.96 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001117/0.1608, allocations: 99.8 kB / 442.8 MB, free: 11.86 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001934/0.161, allocations: 199.6 kB / 443 MB, free: 11.66 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.905e-05/0.161, allocations: 4 kB / 443 MB, free: 11.66 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.938e-05/0.1611, allocations: 19.98 kB / 443 MB, free: 11.64 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.225e-05/0.1612, allocations: 79.69 kB / 443.1 MB, free: 11.56 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.72e-05/0.1613, allocations: 95 kB / 443.2 MB, free: 11.47 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002257/0.1615, allocations: 227.1 kB / 443.4 MB, free: 11.25 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.1615, allocations: 0 / 443.4 MB, free: 11.25 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.425e-06/0.1615, allocations: 0 / 443.4 MB, free: 11.25 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.161e-06/0.1615, allocations: 3.938 kB / 443.4 MB, free: 11.24 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.0006994/0.1622, allocations: 0.6377 MB / 444 MB, free: 10.55 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.295e-05/0.1623, allocations: 12.03 kB / 444.1 MB, free: 10.54 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.823e-05/0.1624, allocations: 36.47 kB / 444.1 MB, free: 10.51 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002638/0.1626, allocations: 292.2 kB / 444.4 MB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.436e-06/0.1626, allocations: 384 / 444.4 MB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.028e-05/0.1627, allocations: 4.375 kB / 444.4 MB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001191/0.1628, allocations: 45.81 kB / 444.4 MB, free: 10.13 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.1628, allocations: 0 / 444.4 MB, free: 10.13 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.895e-06/0.1628, allocations: 0 / 444.4 MB, free: 10.13 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.316e-06/0.1628, allocations: 8 kB / 444.4 MB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.443e-05/0.1629, allocations: 23.92 kB / 444.5 MB, free: 10.1 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004177/0.1633, allocations: 376.8 kB / 444.8 MB, free: 9.68 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.515e-05/0.1634, allocations: 22.58 kB / 444.8 MB, free: 9.648 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.272e-05/0.1635, allocations: 16.91 kB / 444.9 MB, free: 9.629 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.425e-05/0.1635, allocations: 8 kB / 444.9 MB, free: 9.621 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.076e-05/0.1635, allocations: 34.5 kB / 444.9 MB, free: 9.578 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.1635, allocations: 0 / 444.9 MB, free: 9.578 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002358/0.1638, allocations: 97.11 kB / 445 MB, free: 9.477 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.168e-05/0.1638, allocations: 55.41 kB / 445 MB, free: 9.41 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007483/0.1646, allocations: 0.8535 MB / 445.9 MB, free: 8.547 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.307e-05/0.1646, allocations: 25.83 kB / 445.9 MB, free: 8.516 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001563/0.1647, allocations: 224.1 kB / 446.1 MB, free: 8.293 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.421e-05/0.1648, allocations: 7.891 kB / 446.2 MB, free: 8.285 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.336e-05/0.1648, allocations: 13.72 kB / 446.2 MB, free: 8.266 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.165, allocations: 362.7 kB / 446.5 MB, free: 7.902 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.979e-05/0.165, allocations: 7.984 kB / 446.5 MB, free: 7.895 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.306e-05/0.1651, allocations: 11.94 kB / 446.5 MB, free: 7.883 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.29e-05/0.1651, allocations: 24.91 kB / 446.6 MB, free: 7.855 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1651, allocations: 3.938 kB / 446.6 MB, free: 7.852 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001253/0.1653, allocations: 85.22 kB / 446.7 MB, free: 7.762 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.1653, allocations: 8 kB / 446.7 MB, free: 7.754 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.1653, allocations: 3.938 kB / 446.7 MB, free: 7.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.1653, allocations: 0 / 446.7 MB, free: 7.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.612e-05/0.1654, allocations: 7.984 kB / 446.7 MB, free: 7.742 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.1654, allocations: 0 / 446.7 MB, free: 7.742 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.024e-05/0.1654, allocations: 11.94 kB / 446.7 MB, free: 7.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.531e-06/0.1655, allocations: 0 / 446.7 MB, free: 7.73 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 (2): * Single equations (assignments): 2 * 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.000198/0.1657, allocations: 221.6 kB / 446.9 MB, free: 7.504 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.761e-05/0.1657, allocations: 39.47 kB / 446.9 MB, free: 7.465 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001914/0.1659, allocations: 100.6 kB / 447 MB, free: 7.359 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.1659, allocations: 0 / 447 MB, free: 7.359 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.1659, allocations: 0 / 447 MB, free: 7.359 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.166, allocations: 0 / 447 MB, free: 7.359 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000294/0.1663, allocations: 293.5 kB / 447.3 MB, free: 7.023 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.1663, allocations: 0 / 447.3 MB, free: 7.023 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.081e-05/0.1663, allocations: 4 kB / 447.3 MB, free: 7.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.1663, allocations: 0 / 447.3 MB, free: 7.02 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.1663, allocations: 3.984 kB / 447.3 MB, free: 7.016 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.1663, allocations: 4 kB / 447.3 MB, free: 7.012 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.1663, allocations: 0 / 447.3 MB, free: 7.012 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001986/0.1665, allocations: 194.8 kB / 447.5 MB, free: 6.805 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.061e-05/0.1666, allocations: 104.6 kB / 447.6 MB, free: 6.684 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.19e-05/0.1667, allocations: 0 / 447.6 MB, free: 6.684 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.562e-05/0.1667, allocations: 4 kB / 447.6 MB, free: 6.68 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.363e-05/0.1668, allocations: 0 / 447.6 MB, free: 6.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.615e-06/0.1668, allocations: 0 / 447.6 MB, free: 6.68 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000603/0.1674, allocations: 0.6511 MB / 448.3 MB, free: 6.031 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1674, allocations: 0 / 448.3 MB, free: 6.031 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002306/0.1676, allocations: 16 kB / 448.3 MB, free: 6.016 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 (2): * Single equations (assignments): 2 * 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.0008004/0.1684, allocations: 364.7 kB / 448.7 MB, free: 5.688 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001181/0.1686, allocations: 15.98 kB / 448.7 MB, free: 5.672 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.1686, allocations: 8.062 kB / 448.7 MB, free: 5.664 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.945e-05/0.1686, allocations: 11.94 kB / 448.7 MB, free: 5.652 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004008/0.169, allocations: 25.95 kB / 448.7 MB, free: 5.625 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001023/0.1701, allocations: 0.8313 MB / 449.5 MB, free: 4.758 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004252/0.1705, allocations: 0.8185 MB / 450.4 MB, free: 3.914 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.832e-05/0.1705, allocations: 4 kB / 450.4 MB, free: 3.91 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.436e-05/0.1706, allocations: 11.44 kB / 450.4 MB, free: 3.898 MB / 382.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1706, allocations: 0 / 450.4 MB, free: 3.898 MB / 382.1 MB Notification: Performance of Templates: time 0.003984/0.1746, allocations: 1.21 MB / 451.6 MB, free: 2.688 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test8/Test8.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches