Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test30.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.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test30") translateModel(ModelicaTest.Tables.CombiTable2D.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006579/0.006579, allocations: 101.1 kB / 15.87 MB, free: 6.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001227/0.001227, allocations: 190.9 kB / 16.78 MB, free: 6.238 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.531/1.531, allocations: 205.1 MB / 222.6 MB, free: 4.727 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.393/0.393, allocations: 43.49 MB / 313.5 MB, free: 8.23 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.00155/0.00155, allocations: 67.91 kB / 382 MB, free: 8.5 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1563/0.1579, allocations: 57.78 MB / 439.8 MB, free: 14.62 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test30): time 0.003099/0.161, allocations: 1.679 MB / 441.5 MB, free: 12.92 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000588/0.1616, allocations: 311.7 kB / 441.8 MB, free: 12.61 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.978e-05/0.1617, allocations: 0 / 441.8 MB, free: 12.61 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000255/0.162, allocations: 67.84 kB / 441.9 MB, free: 12.55 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001601/0.1621, allocations: 59.8 kB / 441.9 MB, free: 12.49 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002668/0.1624, allocations: 103.8 kB / 442 MB, free: 12.39 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001258/0.1625, allocations: 67.83 kB / 442.1 MB, free: 12.32 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.931e-05/0.1626, allocations: 16.17 kB / 442.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.844e-05/0.1627, allocations: 35.84 kB / 442.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.34e-05/0.1628, allocations: 47.83 kB / 442.2 MB, free: 12.22 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.37e-05/0.1628, allocations: 0 / 442.2 MB, free: 12.22 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.646e-05/0.1629, allocations: 35.97 kB / 442.2 MB, free: 12.19 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.887e-05/0.163, allocations: 19.92 kB / 442.3 MB, free: 12.17 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.9e-05/0.163, allocations: 35.73 kB / 442.3 MB, free: 12.13 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001523/0.1632, allocations: 91.92 kB / 442.4 MB, free: 12.04 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.1632, allocations: 0 / 442.4 MB, free: 12.04 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1632, allocations: 0 / 442.4 MB, free: 12.04 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.388e-06/0.1632, allocations: 0 / 442.4 MB, free: 12.04 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005196/0.1637, allocations: 415 kB / 442.8 MB, free: 11.59 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.1638, allocations: 8.031 kB / 442.8 MB, free: 11.58 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.031e-05/0.1638, allocations: 8.844 kB / 442.8 MB, free: 11.57 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002478/0.1641, allocations: 196.1 kB / 443 MB, free: 11.34 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.1641, allocations: 384 / 443 MB, free: 11.34 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.499e-05/0.1642, allocations: 8.375 kB / 443 MB, free: 11.34 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001792/0.1643, allocations: 57.59 kB / 443.1 MB, free: 11.27 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.1644, allocations: 4 kB / 443.1 MB, free: 11.27 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.1644, allocations: 7.938 kB / 443.1 MB, free: 11.26 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.1644, allocations: 0 / 443.1 MB, free: 11.26 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001298/0.1645, allocations: 39.95 kB / 443.1 MB, free: 11.22 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000412/0.1649, allocations: 296.6 kB / 443.4 MB, free: 10.88 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000131/0.1651, allocations: 54.55 kB / 443.4 MB, free: 10.82 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.745e-05/0.1652, allocations: 20.94 kB / 443.5 MB, free: 10.8 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.293e-05/0.1652, allocations: 0 / 443.5 MB, free: 10.8 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.564e-05/0.1652, allocations: 34.56 kB / 443.5 MB, free: 10.75 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 8.42e-07/0.1652, allocations: 0 / 443.5 MB, free: 10.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007664/0.166, allocations: 205.1 kB / 443.7 MB, free: 10.55 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.674e-05/0.166, allocations: 59.34 kB / 443.8 MB, free: 10.48 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001968/0.1663, allocations: 202.2 kB / 444 MB, free: 10.27 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.552e-05/0.1663, allocations: 25.7 kB / 444 MB, free: 10.24 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.575e-05/0.1663, allocations: 100.1 kB / 444.1 MB, free: 10.14 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.878e-05/0.1664, allocations: 27.72 kB / 444.1 MB, free: 10.11 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.831e-05/0.1664, allocations: 21.72 kB / 444.1 MB, free: 10.08 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.1666, allocations: 322.8 kB / 444.4 MB, free: 9.758 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001094/0.1667, allocations: 35.97 kB / 444.5 MB, free: 9.723 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.675e-05/0.1668, allocations: 27.97 kB / 444.5 MB, free: 9.695 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001891/0.167, allocations: 76.81 kB / 444.6 MB, free: 9.617 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.167, allocations: 0 / 444.6 MB, free: 9.617 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002434/0.1672, allocations: 109.5 kB / 444.7 MB, free: 9.504 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.1673, allocations: 8 kB / 444.7 MB, free: 9.496 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.1673, allocations: 7.938 kB / 444.7 MB, free: 9.488 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.1673, allocations: 0 / 444.7 MB, free: 9.488 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001267/0.1674, allocations: 19.98 kB / 444.7 MB, free: 9.469 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.1674, allocations: 7.984 kB / 444.7 MB, free: 9.461 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.156e-05/0.1675, allocations: 7.938 kB / 444.7 MB, free: 9.453 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.817e-06/0.1675, allocations: 8 kB / 444.7 MB, free: 9.445 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 (7): * Single equations (assignments): 7 * 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 9.673e-05/0.1676, allocations: 125.8 kB / 444.9 MB, free: 9.312 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.253e-05/0.1677, allocations: 11.91 kB / 444.9 MB, free: 9.301 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003286/0.168, allocations: 130.5 kB / 445 MB, free: 9.172 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.92e-06/0.168, allocations: 4 kB / 445 MB, free: 9.168 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.168, allocations: 3.984 kB / 445 MB, free: 9.164 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.168, allocations: 3.938 kB / 445 MB, free: 9.16 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000495/0.1685, allocations: 390.8 kB / 445.4 MB, free: 8.723 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1685, allocations: 0 / 445.4 MB, free: 8.723 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.71e-05/0.1686, allocations: 27.92 kB / 445.4 MB, free: 8.695 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.1686, allocations: 0 / 445.4 MB, free: 8.695 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/0.1687, allocations: 11.88 kB / 445.4 MB, free: 8.684 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.1687, allocations: 0 / 445.4 MB, free: 8.684 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1687, allocations: 0 / 445.4 MB, free: 8.684 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002997/0.169, allocations: 219.4 kB / 445.7 MB, free: 8.453 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.987e-05/0.169, allocations: 85.02 kB / 445.7 MB, free: 8.352 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.952e-05/0.169, allocations: 3.938 kB / 445.7 MB, free: 8.348 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.01e-05/0.1691, allocations: 7.984 kB / 445.7 MB, free: 8.34 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.092e-05/0.1692, allocations: 7.984 kB / 445.8 MB, free: 8.332 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/0.1692, allocations: 8 kB / 445.8 MB, free: 8.324 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001216/0.1693, allocations: 156 kB / 445.9 MB, free: 8.172 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1693, allocations: 4 kB / 445.9 MB, free: 8.168 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002482/0.1696, allocations: 16 kB / 445.9 MB, free: 8.152 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 (7): * Single equations (assignments): 7 * 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.0009559/0.1705, allocations: 417.5 kB / 446.3 MB, free: 7.773 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002787/0.1708, allocations: 71.94 kB / 446.4 MB, free: 7.703 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.1708, allocations: 3.938 kB / 446.4 MB, free: 7.699 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001105/0.171, allocations: 43.97 kB / 446.5 MB, free: 7.656 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000363/0.1713, allocations: 15.98 kB / 446.5 MB, free: 7.641 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004675/0.1718, allocations: 276.1 kB / 446.7 MB, free: 7.34 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002759/0.1721, allocations: 0.7122 MB / 447.5 MB, free: 6.602 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.034e-05/0.1722, allocations: 7.984 kB / 447.5 MB, free: 6.594 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.146e-05/0.1722, allocations: 11.44 kB / 447.5 MB, free: 6.582 MB / 382.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1722, allocations: 0 / 447.5 MB, free: 6.582 MB / 382.1 MB Notification: Performance of Templates: time 0.003738/0.1759, allocations: 1.171 MB / 448.6 MB, free: 5.41 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test30.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test30.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test30.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test30.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test30/Test30.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches