Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test24.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2D.Test24,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.Test24") translateModel(ModelicaTest.Tables.CombiTable2D.Test24,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.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001345/0.001345, allocations: 183 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.385/1.385, allocations: 205.1 MB / 222.5 MB, free: 8.48 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001007/0.001007, allocations: 101 kB / 269.9 MB, free: 8.441 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4159/0.4159, allocations: 43.5 MB / 360.7 MB, free: 51.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001084/0.001084, allocations: 59.91 kB / 429.2 MB, free: 6.379 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1522/0.1533, allocations: 57.77 MB / 487 MB, free: 12.54 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test24): time 0.003302/0.1567, allocations: 1.667 MB / 488.7 MB, free: 10.86 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006313/0.1573, allocations: 319.6 kB / 489 MB, free: 10.54 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.13e-05/0.1574, allocations: 4 kB / 489 MB, free: 10.54 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002389/0.1576, allocations: 51.8 kB / 489 MB, free: 10.48 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001453/0.1578, allocations: 35.89 kB / 489.1 MB, free: 10.45 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000278/0.1581, allocations: 107.8 kB / 489.2 MB, free: 10.34 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001257/0.1582, allocations: 67.77 kB / 489.2 MB, free: 10.28 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.049e-05/0.1583, allocations: 12.19 kB / 489.3 MB, free: 10.27 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.099e-05/0.1584, allocations: 27.92 kB / 489.3 MB, free: 10.24 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.914e-05/0.1585, allocations: 39.83 kB / 489.3 MB, free: 10.2 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.503e-05/0.1585, allocations: 0 / 489.3 MB, free: 10.2 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.552e-05/0.1586, allocations: 35.98 kB / 489.4 MB, free: 10.16 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.22e-05/0.1587, allocations: 23.91 kB / 489.4 MB, free: 10.14 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.518e-05/0.1587, allocations: 23.75 kB / 489.4 MB, free: 10.12 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001451/0.1588, allocations: 80 kB / 489.5 MB, free: 10.04 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.1589, allocations: 8 kB / 489.5 MB, free: 10.03 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.1589, allocations: 0 / 489.5 MB, free: 10.03 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.922e-06/0.1589, allocations: 0 / 489.5 MB, free: 10.03 MB / 378.7 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.0005061/0.1594, allocations: 395.1 kB / 489.9 MB, free: 9.598 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.1594, allocations: 8.031 kB / 489.9 MB, free: 9.59 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.843e-05/0.1595, allocations: 12.83 kB / 489.9 MB, free: 9.578 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001731/0.1597, allocations: 192.2 kB / 490.1 MB, free: 9.352 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.598e-06/0.1597, allocations: 384 / 490.1 MB, free: 9.352 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.892e-05/0.1597, allocations: 384 / 490.1 MB, free: 9.352 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001505/0.1599, allocations: 65.55 kB / 490.2 MB, free: 9.281 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.1599, allocations: 0 / 490.2 MB, free: 9.281 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.1599, allocations: 4 kB / 490.2 MB, free: 9.277 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.1599, allocations: 4 kB / 490.2 MB, free: 9.273 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001355/0.16, allocations: 35.97 kB / 490.2 MB, free: 9.238 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003695/0.1604, allocations: 284.7 kB / 490.5 MB, free: 8.91 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001144/0.1605, allocations: 50.5 kB / 490.5 MB, free: 8.852 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.714e-05/0.1606, allocations: 20.94 kB / 490.5 MB, free: 8.828 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.876e-05/0.1607, allocations: 7.984 kB / 490.6 MB, free: 8.82 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.72e-05/0.1607, allocations: 30.56 kB / 490.6 MB, free: 8.781 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.1607, allocations: 0 / 490.6 MB, free: 8.781 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0008424/0.1615, allocations: 209.2 kB / 490.8 MB, free: 8.57 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.567e-05/0.1616, allocations: 51.41 kB / 490.8 MB, free: 8.508 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001913/0.1618, allocations: 173.6 kB / 491 MB, free: 8.328 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.885e-05/0.1618, allocations: 29.7 kB / 491 MB, free: 8.293 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.084e-05/0.1619, allocations: 100 kB / 491.1 MB, free: 8.191 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.937e-05/0.1619, allocations: 27.64 kB / 491.2 MB, free: 8.164 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.545e-05/0.162, allocations: 21.72 kB / 491.2 MB, free: 8.137 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000134/0.1621, allocations: 322.8 kB / 491.5 MB, free: 7.812 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001319/0.1623, allocations: 23.98 kB / 491.5 MB, free: 7.789 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001294/0.1624, allocations: 31.97 kB / 491.6 MB, free: 7.758 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002569/0.1627, allocations: 88.91 kB / 491.6 MB, free: 7.668 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.1627, allocations: 0 / 491.6 MB, free: 7.668 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003235/0.163, allocations: 113.5 kB / 491.7 MB, free: 7.551 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.163, allocations: 7.938 kB / 491.8 MB, free: 7.543 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.163, allocations: 0 / 491.8 MB, free: 7.543 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.1631, allocations: 4 kB / 491.8 MB, free: 7.539 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001459/0.1632, allocations: 15.98 kB / 491.8 MB, free: 7.523 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.1632, allocations: 4 kB / 491.8 MB, free: 7.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.256e-05/0.1633, allocations: 19.92 kB / 491.8 MB, free: 7.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-06/0.1633, allocations: 0 / 491.8 MB, free: 7.5 MB / 378.7 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 0.0001017/0.1634, allocations: 125.8 kB / 491.9 MB, free: 7.367 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.651e-05/0.1635, allocations: 7.906 kB / 491.9 MB, free: 7.359 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003676/0.1639, allocations: 126.3 kB / 492.1 MB, free: 7.23 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.1639, allocations: 0 / 492.1 MB, free: 7.23 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.1639, allocations: 0 / 492.1 MB, free: 7.23 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.1639, allocations: 7.922 kB / 492.1 MB, free: 7.223 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005767/0.1645, allocations: 382.5 kB / 492.4 MB, free: 6.793 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1645, allocations: 0 / 492.4 MB, free: 6.793 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.677e-05/0.1646, allocations: 27.98 kB / 492.5 MB, free: 6.766 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.536e-06/0.1646, allocations: 3.984 kB / 492.5 MB, free: 6.762 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/0.1646, allocations: 7.938 kB / 492.5 MB, free: 6.754 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1646, allocations: 0 / 492.5 MB, free: 6.754 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.1646, allocations: 0 / 492.5 MB, free: 6.754 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008966/0.1655, allocations: 0.798 MB / 493.3 MB, free: 5.898 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.595e-05/0.1656, allocations: 85.3 kB / 493.4 MB, free: 5.797 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.337e-05/0.1656, allocations: 4 kB / 493.4 MB, free: 5.793 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001011/0.1658, allocations: 7.984 kB / 493.4 MB, free: 5.785 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.795e-05/0.1658, allocations: 11.97 kB / 493.4 MB, free: 5.773 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.991e-06/0.1658, allocations: 0 / 493.4 MB, free: 5.773 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000118/0.166, allocations: 130.7 kB / 493.5 MB, free: 5.648 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.166, allocations: 4 kB / 493.5 MB, free: 5.645 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004045/0.1664, allocations: 20 kB / 493.5 MB, free: 5.625 MB / 378.7 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.001094/0.1675, allocations: 413.9 kB / 493.9 MB, free: 5.262 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003328/0.1678, allocations: 75.94 kB / 494 MB, free: 5.188 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1679, allocations: 0 / 494 MB, free: 5.188 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001411/0.168, allocations: 43.91 kB / 494 MB, free: 5.145 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004165/0.1684, allocations: 16.55 kB / 494.1 MB, free: 5.129 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005855/0.169, allocations: 362.8 kB / 494.4 MB, free: 4.734 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003099/0.1694, allocations: 0.7004 MB / 495.1 MB, free: 4.008 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.567e-05/0.1694, allocations: 7.984 kB / 495.1 MB, free: 4 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.656e-05/0.1695, allocations: 23.38 kB / 495.2 MB, free: 3.977 MB / 378.7 MB Notification: Performance of SimCode: time 2.5e-07/0.1695, allocations: 0 / 495.2 MB, free: 3.977 MB / 378.7 MB Notification: Performance of Templates: time 0.004066/0.1736, allocations: 1.163 MB / 496.3 MB, free: 2.812 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test24.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test24.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test24.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test24.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test24/Test24.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches