Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001981/0.001981, allocations: 104.5 kB / 17.85 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002553/0.002553, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.498/2.498, allocations: 227.4 MB / 246.9 MB, free: 10.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4426/0.4426, allocations: 46.11 MB / 344.3 MB, free: 11.81 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001939/0.001939, allocations: 75.28 kB / 417.5 MB, free: 20.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1533/0.1553, allocations: 62.44 MB / 479.9 MB, free: 5.754 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test24): time 0.004524/0.1599, allocations: 1.738 MB / 481.7 MB, free: 4 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001328/0.1613, allocations: 0.5768 MB / 482.3 MB, free: 3.418 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001012/0.1614, allocations: 3.938 kB / 482.3 MB, free: 3.414 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003449/0.1617, allocations: 51.83 kB / 482.3 MB, free: 3.363 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000356/0.1621, allocations: 71.8 kB / 482.4 MB, free: 3.293 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005578/0.1627, allocations: 167.2 kB / 482.5 MB, free: 3.133 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002969/0.163, allocations: 79.81 kB / 482.6 MB, free: 3.055 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001414/0.1632, allocations: 24.22 kB / 482.6 MB, free: 3.027 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.436e-05/0.1633, allocations: 31.8 kB / 482.7 MB, free: 2.996 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001174/0.1634, allocations: 43.81 kB / 482.7 MB, free: 2.953 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.067e-05/0.1634, allocations: 4 kB / 482.7 MB, free: 2.949 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001455/0.1636, allocations: 51.98 kB / 482.8 MB, free: 2.898 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.597e-05/0.1637, allocations: 23.91 kB / 482.8 MB, free: 2.875 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.314e-05/0.1637, allocations: 27.75 kB / 482.8 MB, free: 2.848 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001989/0.1639, allocations: 83.88 kB / 482.9 MB, free: 2.766 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.423e-06/0.164, allocations: 0 / 482.9 MB, free: 2.766 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.164, allocations: 7.938 kB / 482.9 MB, free: 2.758 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.172e-06/0.164, allocations: 0 / 482.9 MB, free: 2.758 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006359/0.1646, allocations: 407.3 kB / 483.3 MB, free: 2.312 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.106e-05/0.1647, allocations: 12.03 kB / 483.3 MB, free: 2.301 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.789e-05/0.1648, allocations: 12.78 kB / 483.3 MB, free: 2.289 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002581/0.165, allocations: 196.1 kB / 483.5 MB, free: 2.059 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.165, allocations: 4.359 kB / 483.5 MB, free: 2.055 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.501e-05/0.1651, allocations: 8.375 kB / 483.5 MB, free: 2.047 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002226/0.1653, allocations: 77.72 kB / 483.6 MB, free: 1.965 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.1653, allocations: 0 / 483.6 MB, free: 1.965 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.1653, allocations: 0 / 483.6 MB, free: 1.965 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-06/0.1653, allocations: 0 / 483.6 MB, free: 1.965 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000166/0.1655, allocations: 43.97 kB / 483.7 MB, free: 1.922 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005908/0.1661, allocations: 324.6 kB / 484 MB, free: 1.555 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000287/0.1664, allocations: 62.55 kB / 484 MB, free: 1.484 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001015/0.1665, allocations: 32.95 kB / 484.1 MB, free: 1.449 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.845e-05/0.1666, allocations: 0 / 484.1 MB, free: 1.449 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.452e-05/0.1666, allocations: 34.56 kB / 484.1 MB, free: 1.406 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.222e-06/0.1666, allocations: 4 kB / 484.1 MB, free: 1.402 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001672/0.1683, allocations: 416.9 kB / 484.5 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.849e-05/0.1684, allocations: 55.34 kB / 484.6 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002145/0.1686, allocations: 170.2 kB / 484.7 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.833e-05/0.1686, allocations: 37.64 kB / 484.8 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.162e-05/0.1687, allocations: 112 kB / 484.9 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.814e-05/0.1688, allocations: 35.45 kB / 484.9 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.069e-05/0.1689, allocations: 25.66 kB / 484.9 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001765/0.169, allocations: 326.8 kB / 485.3 MB, free: 200 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000153/0.1692, allocations: 51.95 kB / 485.3 MB, free: 148 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001366/0.1693, allocations: 51.95 kB / 485.4 MB, free: 96 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003267/0.1697, allocations: 133 kB / 485.5 MB, free: 15.96 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.1697, allocations: 0 / 485.5 MB, free: 15.96 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003901/0.1701, allocations: 165.4 kB / 485.6 MB, free: 15.79 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.1701, allocations: 4 kB / 485.7 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.1701, allocations: 0 / 485.7 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.258e-05/0.1702, allocations: 8 kB / 485.7 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001283/0.1703, allocations: 31.91 kB / 485.7 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.918e-06/0.1703, allocations: 3.984 kB / 485.7 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.148e-05/0.1704, allocations: 7.984 kB / 485.7 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.558e-05/0.1704, allocations: 8 kB / 485.7 MB, free: 15.73 MB / 366.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 (11): * Single equations (assignments): 11 * 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.0001457/0.1706, allocations: 129.8 kB / 485.8 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.205e-05/0.1706, allocations: 15.81 kB / 485.9 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004996/0.1712, allocations: 182.9 kB / 486 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.243e-06/0.1712, allocations: 3.938 kB / 486 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/0.1712, allocations: 4 kB / 486 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.1712, allocations: 0 / 486 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009078/0.1721, allocations: 0.5038 MB / 486.5 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.159e-06/0.1721, allocations: 4 kB / 486.5 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001155/0.1723, allocations: 23.98 kB / 486.6 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.1723, allocations: 0 / 486.6 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.569e-05/0.1723, allocations: 4 kB / 486.6 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.1723, allocations: 0 / 486.6 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.1723, allocations: 3.938 kB / 486.6 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005018/0.1728, allocations: 273 kB / 486.8 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.345e-05/0.1729, allocations: 89 kB / 486.9 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.612e-05/0.173, allocations: 4 kB / 486.9 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.1731, allocations: 15.98 kB / 487 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.103e-05/0.1731, allocations: 4.094 kB / 487 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.259e-05/0.1732, allocations: 11.94 kB / 487 MB, free: 14.36 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001629/0.1733, allocations: 146.3 kB / 487.1 MB, free: 14.21 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.834e-06/0.1733, allocations: 0 / 487.1 MB, free: 14.21 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003227/0.1737, allocations: 27.94 kB / 487.1 MB, free: 14.19 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001466/0.1751, allocations: 446.9 kB / 487.6 MB, free: 13.91 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004063/0.1756, allocations: 127.8 kB / 487.7 MB, free: 13.78 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.1756, allocations: 7.938 kB / 487.7 MB, free: 13.77 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001826/0.1758, allocations: 67.89 kB / 487.8 MB, free: 13.71 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005262/0.1763, allocations: 23.92 kB / 487.8 MB, free: 13.68 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007822/0.1771, allocations: 359.2 kB / 488.1 MB, free: 13.3 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004053/0.1775, allocations: 0.7121 MB / 488.9 MB, free: 12.56 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.039e-05/0.1776, allocations: 19.42 kB / 488.9 MB, free: 12.54 MB / 366.1 MB Notification: Performance of SimCode: time 1.022e-06/0.1776, allocations: 4 kB / 488.9 MB, free: 12.54 MB / 366.1 MB Notification: Performance of Templates: time 0.005095/0.1827, allocations: 2.026 MB / 490.9 MB, free: 10.51 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches