Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.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.CombiTable1Dv.Test3,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.CombiTable1Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test3,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.CombiTable1Dv.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008859/0.000886, allocations: 92.42 kB / 17 MB, free: 6.402 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.001075/0.001075, allocations: 177.7 kB / 17.89 MB, free: 5.945 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.477/1.477, allocations: 223.3 MB / 241.9 MB, free: 300 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2238/0.2238, allocations: 44.25 MB / 337.3 MB, free: 2.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003987/0.0003988, allocations: 8.219 kB / 409.7 MB, free: 27.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1522/0.1526, allocations: 61.92 MB / 471.6 MB, free: 13.69 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test3): time 0.002262/0.1549, allocations: 1.274 MB / 472.9 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008418/0.1558, allocations: 379.6 kB / 473.2 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.364e-05/0.1559, allocations: 0 / 473.2 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002947/0.1562, allocations: 67.84 kB / 473.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002087/0.1564, allocations: 55.88 kB / 473.4 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003805/0.1568, allocations: 95.56 kB / 473.5 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002163/0.157, allocations: 63.81 kB / 473.5 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001376/0.1572, allocations: 16.17 kB / 473.5 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.453e-05/0.1573, allocations: 23.86 kB / 473.6 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001328/0.1574, allocations: 39.89 kB / 473.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.808e-05/0.1574, allocations: 4 kB / 473.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001322/0.1576, allocations: 35.98 kB / 473.6 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.114e-05/0.1576, allocations: 19.92 kB / 473.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.029e-05/0.1577, allocations: 33.64 kB / 473.7 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001839/0.1579, allocations: 71.83 kB / 473.8 MB, free: 11.51 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.1579, allocations: 0 / 473.8 MB, free: 11.51 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.875e-06/0.1579, allocations: 0 / 473.8 MB, free: 11.51 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.594e-06/0.1579, allocations: 0 / 473.8 MB, free: 11.51 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.0006102/0.1585, allocations: 399.2 kB / 474.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.844e-05/0.1586, allocations: 8.562 kB / 474.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.801e-05/0.1587, allocations: 15.83 kB / 474.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000238/0.1589, allocations: 190.9 kB / 474.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.555e-05/0.1589, allocations: 4 kB / 474.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.911e-05/0.159, allocations: 4 kB / 474.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001799/0.1592, allocations: 61.62 kB / 474.4 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.503e-05/0.1592, allocations: 0 / 474.4 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/0.1592, allocations: 0 / 474.4 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.1592, allocations: 4 kB / 474.4 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001115/0.1593, allocations: 27.98 kB / 474.5 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005262/0.1599, allocations: 304.7 kB / 474.8 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001557/0.16, allocations: 50.56 kB / 474.8 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.743e-05/0.1601, allocations: 20.94 kB / 474.8 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.7e-05/0.1601, allocations: 0 / 474.8 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.739e-05/0.1602, allocations: 30.56 kB / 474.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.1602, allocations: 3.938 kB / 474.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009779/0.1612, allocations: 277 kB / 475.1 MB, free: 9.969 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.569e-05/0.1612, allocations: 51.41 kB / 475.2 MB, free: 9.906 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002124/0.1614, allocations: 188.5 kB / 475.4 MB, free: 9.715 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.218e-05/0.1615, allocations: 29.7 kB / 475.4 MB, free: 9.68 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.9e-05/0.1616, allocations: 100.1 kB / 475.5 MB, free: 9.578 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.987e-05/0.1616, allocations: 31.55 kB / 475.5 MB, free: 9.547 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.48e-06/0.1616, allocations: 4 kB / 475.5 MB, free: 9.543 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.1618, allocations: 326.8 kB / 475.8 MB, free: 9.215 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.423e-05/0.1619, allocations: 31.98 kB / 475.9 MB, free: 9.184 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.485e-05/0.162, allocations: 31.97 kB / 475.9 MB, free: 9.152 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.503e-05/0.1621, allocations: 39.98 kB / 475.9 MB, free: 9.113 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.1621, allocations: 0 / 475.9 MB, free: 9.113 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002371/0.1623, allocations: 117.5 kB / 476.1 MB, free: 8.992 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/0.1623, allocations: 4 kB / 476.1 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/0.1624, allocations: 0 / 476.1 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.1624, allocations: 0 / 476.1 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001368/0.1625, allocations: 27.98 kB / 476.1 MB, free: 8.961 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.275e-06/0.1625, allocations: 0 / 476.1 MB, free: 8.961 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.858e-05/0.1626, allocations: 15.98 kB / 476.1 MB, free: 8.945 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-06/0.1626, allocations: 0 / 476.1 MB, free: 8.945 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001215/0.1627, allocations: 125.8 kB / 476.2 MB, free: 8.812 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.076e-05/0.1628, allocations: 11.91 kB / 476.2 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003276/0.1631, allocations: 150.5 kB / 476.4 MB, free: 8.648 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.806e-06/0.1631, allocations: 0 / 476.4 MB, free: 8.648 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.759e-06/0.1631, allocations: 4.422 kB / 476.4 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.1632, allocations: 3.938 kB / 476.4 MB, free: 8.641 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006617/0.1638, allocations: 427.2 kB / 476.8 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.1638, allocations: 0 / 476.8 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.627e-05/0.1639, allocations: 16 kB / 476.8 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.1639, allocations: 0 / 476.8 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.627e-05/0.1639, allocations: 11.97 kB / 476.8 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/0.164, allocations: 0 / 476.8 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.348e-06/0.164, allocations: 4.031 kB / 476.8 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000304/0.1643, allocations: 224.1 kB / 477.1 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.726e-05/0.1644, allocations: 88.92 kB / 477.2 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.552e-05/0.1644, allocations: 11.98 kB / 477.2 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.956e-05/0.1645, allocations: 4 kB / 477.2 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.912e-05/0.1645, allocations: 7.984 kB / 477.2 MB, free: 7.766 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.699e-06/0.1645, allocations: 7.953 kB / 477.2 MB, free: 7.758 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001186/0.1647, allocations: 150.9 kB / 477.3 MB, free: 7.613 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1647, allocations: 0 / 477.3 MB, free: 7.613 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002595/0.1649, allocations: 20 kB / 477.4 MB, free: 7.594 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 (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.001155/0.1661, allocations: 451 kB / 477.8 MB, free: 7.332 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003233/0.1664, allocations: 83.89 kB / 477.9 MB, free: 7.25 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.1665, allocations: 4 kB / 477.9 MB, free: 7.246 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001014/0.1666, allocations: 39.92 kB / 477.9 MB, free: 7.207 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003727/0.1669, allocations: 19.92 kB / 477.9 MB, free: 7.188 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000556/0.1675, allocations: 265.9 kB / 478.2 MB, free: 6.895 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003376/0.1679, allocations: 0.7082 MB / 478.9 MB, free: 6.16 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.581e-05/0.168, allocations: 28.95 kB / 478.9 MB, free: 6.125 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.546e-05/0.168, allocations: 15.38 kB / 478.9 MB, free: 6.113 MB / 350.1 MB Notification: Performance of SimCode: time 2.7e-07/0.168, allocations: 0 / 478.9 MB, free: 6.113 MB / 350.1 MB Notification: Performance of Templates: time 0.004599/0.1726, allocations: 1.258 MB / 480.2 MB, free: 4.859 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches