Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.CombiTable1Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001129/0.001129, allocations: 108.2 kB / 18.39 MB, free: 4.629 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.001233/0.001234, allocations: 182.9 kB / 19.33 MB, free: 3.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.349/1.349, allocations: 222.9 MB / 243 MB, free: 15.12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2081/0.2081, allocations: 44.18 MB / 337.4 MB, free: 2.699 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 60.88 kB / 409.9 MB, free: 26.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1502/0.1514, allocations: 60.83 MB / 470.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.004257/0.1558, allocations: 1.575 MB / 472.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001124/0.1569, allocations: 415.2 kB / 472.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001138/0.1571, allocations: 3.938 kB / 472.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004574/0.1576, allocations: 91.75 kB / 472.8 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003758/0.158, allocations: 71.73 kB / 472.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004987/0.1585, allocations: 87.69 kB / 472.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002821/0.1588, allocations: 75.88 kB / 473 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000168/0.159, allocations: 20.17 kB / 473 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001071/0.1591, allocations: 31.86 kB / 473 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001973/0.1593, allocations: 47.88 kB / 473.1 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.689e-05/0.1593, allocations: 4 kB / 473.1 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001604/0.1595, allocations: 47.92 kB / 473.1 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.313e-05/0.1596, allocations: 27.84 kB / 473.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.823e-05/0.1597, allocations: 27.75 kB / 473.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003151/0.16, allocations: 107.7 kB / 473.3 MB, free: 11.03 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.16, allocations: 4 kB / 473.3 MB, free: 11.03 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.554e-06/0.16, allocations: 0 / 473.3 MB, free: 11.03 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.317e-06/0.16, allocations: 0 / 473.3 MB, free: 11.03 MB / 350.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.0007111/0.1608, allocations: 409.9 kB / 473.7 MB, free: 10.58 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.352e-05/0.1608, allocations: 8.031 kB / 473.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.168e-05/0.1609, allocations: 12.84 kB / 473.7 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002905/0.1612, allocations: 202.6 kB / 473.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.53e-05/0.1612, allocations: 8.312 kB / 473.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.94e-05/0.1613, allocations: 384 / 473.9 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001983/0.1615, allocations: 69.59 kB / 474 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/0.1615, allocations: 0 / 474 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.1615, allocations: 0 / 474 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.271e-06/0.1615, allocations: 0 / 474 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001034/0.1616, allocations: 23.98 kB / 474 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005663/0.1622, allocations: 296.7 kB / 474.3 MB, free: 9.879 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001294/0.1624, allocations: 54.48 kB / 474.4 MB, free: 9.816 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.774e-05/0.1624, allocations: 20.94 kB / 474.4 MB, free: 9.793 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.643e-05/0.1624, allocations: 4 kB / 474.4 MB, free: 9.789 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.073e-05/0.1625, allocations: 30.56 kB / 474.4 MB, free: 9.75 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.1625, allocations: 0 / 474.4 MB, free: 9.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009613/0.1635, allocations: 225 kB / 474.6 MB, free: 9.523 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.212e-05/0.1635, allocations: 51.41 kB / 474.7 MB, free: 9.461 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002503/0.1638, allocations: 226.6 kB / 474.9 MB, free: 9.227 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.818e-05/0.1638, allocations: 33.7 kB / 474.9 MB, free: 9.188 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.58e-05/0.1639, allocations: 104.1 kB / 475.1 MB, free: 9.082 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.968e-05/0.1639, allocations: 23.78 kB / 475.1 MB, free: 9.059 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.504e-05/0.164, allocations: 25.7 kB / 475.1 MB, free: 9.027 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001277/0.1641, allocations: 326.8 kB / 475.4 MB, free: 8.699 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.128e-05/0.1642, allocations: 23.98 kB / 475.4 MB, free: 8.676 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.371e-05/0.1643, allocations: 19.98 kB / 475.5 MB, free: 8.656 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001368/0.1644, allocations: 60.83 kB / 475.5 MB, free: 8.594 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.1645, allocations: 0 / 475.5 MB, free: 8.594 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002073/0.1647, allocations: 109.7 kB / 475.6 MB, free: 8.48 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.1647, allocations: 4 kB / 475.6 MB, free: 8.477 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.1647, allocations: 0 / 475.6 MB, free: 8.477 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.1647, allocations: 0 / 475.6 MB, free: 8.477 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/0.1648, allocations: 19.98 kB / 475.7 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.218e-05/0.1649, allocations: 8 kB / 475.7 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.953e-05/0.1649, allocations: 15.92 kB / 475.7 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.123e-06/0.165, allocations: 3.938 kB / 475.7 MB, free: 8.43 MB / 350.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 (8): * Single equations (assignments): 8 * 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.0001136/0.1651, allocations: 129.8 kB / 475.8 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.308e-05/0.1651, allocations: 15.81 kB / 475.8 MB, free: 8.277 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003658/0.1655, allocations: 123 kB / 475.9 MB, free: 8.156 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.1655, allocations: 0 / 475.9 MB, free: 8.156 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.1655, allocations: 3.938 kB / 475.9 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.1655, allocations: 0 / 475.9 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000602/0.1661, allocations: 403.3 kB / 476.3 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.1662, allocations: 0 / 476.3 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.723e-05/0.1662, allocations: 19.94 kB / 476.4 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.1662, allocations: 0 / 476.4 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.721e-05/0.1663, allocations: 7.984 kB / 476.4 MB, free: 7.672 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.1663, allocations: 4 kB / 476.4 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.1663, allocations: 4 kB / 476.4 MB, free: 7.664 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002861/0.1666, allocations: 204.2 kB / 476.6 MB, free: 7.445 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.204e-05/0.1666, allocations: 92.94 kB / 476.7 MB, free: 7.336 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.052e-05/0.1667, allocations: 0 / 476.7 MB, free: 7.336 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.198e-05/0.1668, allocations: 8 kB / 476.7 MB, free: 7.328 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.65e-05/0.1668, allocations: 11.92 kB / 476.7 MB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.711e-06/0.1668, allocations: 0 / 476.7 MB, free: 7.316 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001767/0.167, allocations: 173 kB / 476.9 MB, free: 7.148 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.167, allocations: 4 kB / 476.9 MB, free: 7.145 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002747/0.1673, allocations: 23.98 kB / 476.9 MB, free: 7.121 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001398/0.1687, allocations: 453.8 kB / 477.3 MB, free: 6.855 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002539/0.169, allocations: 67.91 kB / 477.4 MB, free: 6.789 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.169, allocations: 0 / 477.4 MB, free: 6.789 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.786e-05/0.1691, allocations: 35.92 kB / 477.4 MB, free: 6.754 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005012/0.1696, allocations: 27.27 kB / 477.5 MB, free: 6.73 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006409/0.1702, allocations: 251.4 kB / 477.7 MB, free: 6.457 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003841/0.1706, allocations: 0.7196 MB / 478.4 MB, free: 5.711 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.938e-05/0.1707, allocations: 4.672 kB / 478.4 MB, free: 5.707 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.019e-05/0.1708, allocations: 19.42 kB / 478.4 MB, free: 5.688 MB / 350.1 MB Notification: Performance of SimCode: time 6.21e-07/0.1708, allocations: 0 / 478.4 MB, free: 5.688 MB / 350.1 MB Notification: Performance of Templates: time 0.004635/0.1754, allocations: 1.331 MB / 479.8 MB, free: 4.359 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches