Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7") translateModel(ModelicaTest.Tables.CombiTable2D.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001337/0.001337, 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.001586/0.001586, allocations: 204.1 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.795/1.795, allocations: 205.1 MB / 222.6 MB, free: 4.969 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.4313/0.4313, allocations: 43.5 MB / 313.5 MB, free: 8.375 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.001982/0.001983, allocations: 71.89 kB / 382 MB, free: 8.793 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1556/0.1576, allocations: 57.78 MB / 439.8 MB, free: 14.9 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test7): time 0.004843/0.1625, allocations: 1.629 MB / 441.4 MB, free: 13.26 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007576/0.1633, allocations: 311.5 kB / 441.8 MB, free: 12.95 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.879e-05/0.1634, allocations: 0 / 441.8 MB, free: 12.95 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00063/0.164, allocations: 447.2 kB / 442.2 MB, free: 12.52 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003911/0.1644, allocations: 243.6 kB / 442.4 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003467/0.1648, allocations: 99.81 kB / 442.5 MB, free: 12.18 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002892/0.1651, allocations: 151.7 kB / 442.7 MB, free: 12.03 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001382/0.1653, allocations: 7.984 kB / 442.7 MB, free: 12.02 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001783/0.1654, allocations: 103.8 kB / 442.8 MB, free: 11.92 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002702/0.1657, allocations: 199.6 kB / 443 MB, free: 11.73 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.377e-05/0.1657, allocations: 3.984 kB / 443 MB, free: 11.72 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.995e-05/0.1659, allocations: 19.98 kB / 443 MB, free: 11.7 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001822/0.166, allocations: 83.62 kB / 443.1 MB, free: 11.62 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.006e-05/0.1661, allocations: 95 kB / 443.2 MB, free: 11.53 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003551/0.1665, allocations: 227.1 kB / 443.4 MB, free: 11.3 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.1665, allocations: 4 kB / 443.4 MB, free: 11.3 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.875e-06/0.1665, allocations: 0 / 443.4 MB, free: 11.3 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.357e-06/0.1665, allocations: 3.938 kB / 443.4 MB, free: 11.3 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.0009506/0.1675, allocations: 0.63 MB / 444 MB, free: 10.62 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.484e-05/0.1676, allocations: 12.03 kB / 444 MB, free: 10.61 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.786e-05/0.1677, allocations: 36.47 kB / 444.1 MB, free: 10.57 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003254/0.168, allocations: 288.2 kB / 444.4 MB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.78e-05/0.168, allocations: 8.359 kB / 444.4 MB, free: 10.24 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.385e-05/0.1681, allocations: 4.312 kB / 444.4 MB, free: 10.24 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001841/0.1682, allocations: 49.81 kB / 444.4 MB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.1683, allocations: 4 kB / 444.4 MB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.1683, allocations: 0 / 444.4 MB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.1683, allocations: 0 / 444.4 MB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.479e-05/0.1684, allocations: 19.98 kB / 444.4 MB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005913/0.169, allocations: 372.8 kB / 444.8 MB, free: 9.746 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.891e-05/0.1691, allocations: 34.5 kB / 444.8 MB, free: 9.703 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.759e-05/0.1692, allocations: 16.92 kB / 444.9 MB, free: 9.684 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.302e-05/0.1692, allocations: 0 / 444.9 MB, free: 9.684 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.033e-05/0.1693, allocations: 34.56 kB / 444.9 MB, free: 9.641 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.1693, allocations: 0 / 444.9 MB, free: 9.641 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003311/0.1696, allocations: 97.11 kB / 445 MB, free: 9.539 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.272e-05/0.1697, allocations: 59.47 kB / 445 MB, free: 9.469 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008517/0.1705, allocations: 0.8613 MB / 445.9 MB, free: 8.598 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.49e-05/0.1705, allocations: 25.7 kB / 445.9 MB, free: 8.566 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001781/0.1707, allocations: 220.1 kB / 446.1 MB, free: 8.348 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.99e-05/0.1708, allocations: 3.906 kB / 446.2 MB, free: 8.344 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.544e-05/0.1708, allocations: 13.72 kB / 446.2 MB, free: 8.324 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001581/0.171, allocations: 366.7 kB / 446.5 MB, free: 7.957 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.439e-05/0.171, allocations: 4 kB / 446.5 MB, free: 7.953 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.349e-05/0.1711, allocations: 12 kB / 446.5 MB, free: 7.941 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.531e-05/0.1711, allocations: 24.84 kB / 446.6 MB, free: 7.914 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.1712, allocations: 0 / 446.6 MB, free: 7.914 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001682/0.1713, allocations: 93.14 kB / 446.7 MB, free: 7.816 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.1714, allocations: 7.938 kB / 446.7 MB, free: 7.809 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.331e-06/0.1714, allocations: 0 / 446.7 MB, free: 7.809 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.1714, allocations: 96 / 446.7 MB, free: 7.809 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.544e-05/0.1715, allocations: 8 kB / 446.7 MB, free: 7.801 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.1715, allocations: 0 / 446.7 MB, free: 7.801 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.052e-05/0.1715, allocations: 11.89 kB / 446.7 MB, free: 7.789 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.084e-06/0.1716, allocations: 0 / 446.7 MB, free: 7.789 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.0002099/0.1718, allocations: 221.6 kB / 446.9 MB, free: 7.562 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.63e-05/0.1718, allocations: 35.53 kB / 446.9 MB, free: 7.527 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002069/0.172, allocations: 100.6 kB / 447 MB, free: 7.422 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.1721, allocations: 4.031 kB / 447 MB, free: 7.418 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.1721, allocations: 0 / 447 MB, free: 7.418 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.1721, allocations: 0 / 447 MB, free: 7.418 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002905/0.1724, allocations: 285.4 kB / 447.3 MB, free: 7.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.1724, allocations: 3.938 kB / 447.3 MB, free: 7.086 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.566e-05/0.1724, allocations: 8 kB / 447.3 MB, free: 7.078 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.1724, allocations: 0 / 447.3 MB, free: 7.078 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.147e-06/0.1725, allocations: 4 kB / 447.3 MB, free: 7.074 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.1725, allocations: 0 / 447.3 MB, free: 7.074 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.1725, allocations: 3.984 kB / 447.3 MB, free: 7.07 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000219/0.1727, allocations: 186.9 kB / 447.5 MB, free: 6.871 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.786e-05/0.1728, allocations: 104.6 kB / 447.6 MB, free: 6.75 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.212e-05/0.1728, allocations: 0 / 447.6 MB, free: 6.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.607e-05/0.1729, allocations: 7.938 kB / 447.6 MB, free: 6.742 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.604e-05/0.1729, allocations: 3.984 kB / 447.6 MB, free: 6.738 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-06/0.1729, allocations: 0 / 447.6 MB, free: 6.738 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006045/0.1735, allocations: 0.6472 MB / 448.3 MB, free: 6.094 MB / 382.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1735, allocations: 4 kB / 448.3 MB, free: 6.09 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002474/0.1738, allocations: 20 kB / 448.3 MB, free: 6.07 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.0008201/0.1746, allocations: 367 kB / 448.7 MB, free: 5.738 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001418/0.1748, allocations: 15.98 kB / 448.7 MB, free: 5.723 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.1748, allocations: 0 / 448.7 MB, free: 5.723 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.913e-05/0.1748, allocations: 12 kB / 448.7 MB, free: 5.711 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004963/0.1753, allocations: 25.95 kB / 448.7 MB, free: 5.684 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001111/0.1765, allocations: 0.8276 MB / 449.5 MB, free: 4.82 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004091/0.1769, allocations: 0.8224 MB / 450.4 MB, free: 3.973 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.928e-05/0.1769, allocations: 7.984 kB / 450.4 MB, free: 3.965 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.77e-05/0.177, allocations: 7.438 kB / 450.4 MB, free: 3.961 MB / 382.1 MB Notification: Performance of SimCode: time 6.31e-07/0.177, allocations: 4 kB / 450.4 MB, free: 3.957 MB / 382.1 MB Notification: Performance of Templates: time 0.004761/0.1817, allocations: 1.214 MB / 451.6 MB, free: 2.742 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test7/Test7.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches