Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.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.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008451/0.0008451, allocations: 93.14 kB / 16.98 MB, free: 5.938 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.0008898/0.0008899, allocations: 186.5 kB / 17.88 MB, free: 5.594 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.442/1.442, allocations: 223.2 MB / 241.8 MB, free: 388 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.2172/0.2172, allocations: 44.23 MB / 337.1 MB, free: 2.918 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000369/0.0003692, allocations: 8 kB / 409.5 MB, free: 27.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1439/0.1443, allocations: 61.92 MB / 471.5 MB, free: 13.78 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.001968/0.1463, allocations: 1.306 MB / 472.8 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007511/0.1471, allocations: 387.6 kB / 473.1 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.482e-05/0.1471, allocations: 4 kB / 473.1 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006195/0.1478, allocations: 439.2 kB / 473.6 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003794/0.1482, allocations: 235.5 kB / 473.8 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004253/0.1486, allocations: 161.6 kB / 474 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002114/0.1488, allocations: 119.7 kB / 474.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.1489, allocations: 16.16 kB / 474.1 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001116/0.149, allocations: 99.8 kB / 474.2 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002029/0.1493, allocations: 147.7 kB / 474.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.47e-05/0.1493, allocations: 0 / 474.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.581e-05/0.1494, allocations: 19.94 kB / 474.4 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.311e-05/0.1495, allocations: 79.75 kB / 474.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.663e-05/0.1495, allocations: 69.45 kB / 474.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002283/0.1498, allocations: 191.9 kB / 474.7 MB, free: 10.53 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.1498, allocations: 0 / 474.7 MB, free: 10.53 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.156e-06/0.1498, allocations: 4 kB / 474.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.1498, allocations: 0 / 474.7 MB, free: 10.52 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.0008051/0.1506, allocations: 0.591 MB / 475.3 MB, free: 9.883 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.391e-05/0.1507, allocations: 8.562 kB / 475.3 MB, free: 9.875 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.66e-05/0.1508, allocations: 43.44 kB / 475.3 MB, free: 9.832 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004044/0.1512, allocations: 283.3 kB / 475.6 MB, free: 9.516 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.785e-05/0.1512, allocations: 4 kB / 475.6 MB, free: 9.512 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.802e-05/0.1512, allocations: 4 kB / 475.6 MB, free: 9.508 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002192/0.1515, allocations: 61.64 kB / 475.7 MB, free: 9.441 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.639e-05/0.1515, allocations: 0 / 475.7 MB, free: 9.441 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.601e-05/0.1515, allocations: 3.984 kB / 475.7 MB, free: 9.438 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.223e-06/0.1515, allocations: 0 / 475.7 MB, free: 9.438 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001104/0.1516, allocations: 27.98 kB / 475.7 MB, free: 9.41 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007365/0.1524, allocations: 408.6 kB / 476.1 MB, free: 8.961 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002526/0.1526, allocations: 46.55 kB / 476.2 MB, free: 8.906 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.202e-05/0.1527, allocations: 0 / 476.2 MB, free: 8.906 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.044e-05/0.1527, allocations: 30.56 kB / 476.2 MB, free: 8.867 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.563e-06/0.1527, allocations: 0 / 476.2 MB, free: 8.867 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007274/0.1535, allocations: 252 kB / 476.4 MB, free: 8.613 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.2e-05/0.1535, allocations: 51.41 kB / 476.5 MB, free: 8.551 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009018/0.1544, allocations: 0.8769 MB / 477.4 MB, free: 7.664 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.189e-05/0.1545, allocations: 25.7 kB / 477.4 MB, free: 7.633 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000182/0.1547, allocations: 220.1 kB / 477.6 MB, free: 7.414 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.632e-05/0.1547, allocations: 23.8 kB / 477.6 MB, free: 7.391 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.201e-06/0.1547, allocations: 4 kB / 477.6 MB, free: 7.387 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001892/0.1549, allocations: 358.8 kB / 478 MB, free: 7.027 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.052e-05/0.155, allocations: 31.92 kB / 478 MB, free: 6.996 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.799e-05/0.1551, allocations: 23.98 kB / 478 MB, free: 6.973 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.358e-05/0.1552, allocations: 35.91 kB / 478.1 MB, free: 6.938 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.1552, allocations: 4 kB / 478.1 MB, free: 6.934 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002316/0.1554, allocations: 129.4 kB / 478.2 MB, free: 6.801 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.1555, allocations: 4 kB / 478.2 MB, free: 6.797 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.1555, allocations: 4 kB / 478.2 MB, free: 6.793 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.1555, allocations: 0 / 478.2 MB, free: 6.793 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.163e-05/0.1556, allocations: 15.98 kB / 478.2 MB, free: 6.777 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.1556, allocations: 0 / 478.2 MB, free: 6.777 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.827e-05/0.1557, allocations: 8 kB / 478.2 MB, free: 6.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.326e-06/0.1557, allocations: 11.92 kB / 478.2 MB, free: 6.758 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 (5): * Single equations (assignments): 5 * 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.0002013/0.1559, allocations: 217.7 kB / 478.4 MB, free: 6.535 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.773e-05/0.156, allocations: 39.53 kB / 478.5 MB, free: 6.496 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002991/0.1563, allocations: 149 kB / 478.6 MB, free: 6.34 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.1563, allocations: 4 kB / 478.6 MB, free: 6.336 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.1563, allocations: 0 / 478.6 MB, free: 6.336 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.1563, allocations: 288 / 478.6 MB, free: 6.336 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006128/0.1569, allocations: 478.4 kB / 479.1 MB, free: 5.812 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.1569, allocations: 4 kB / 479.1 MB, free: 5.809 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.592e-05/0.157, allocations: 15.98 kB / 479.1 MB, free: 5.793 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.157, allocations: 4 kB / 479.1 MB, free: 5.789 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/0.157, allocations: 3.984 kB / 479.1 MB, free: 5.785 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.157, allocations: 0 / 479.1 MB, free: 5.785 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.157, allocations: 0 / 479.1 MB, free: 5.785 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002577/0.1573, allocations: 230.9 kB / 479.4 MB, free: 5.543 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.047e-05/0.1574, allocations: 116.6 kB / 479.5 MB, free: 5.41 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.6e-05/0.1574, allocations: 0 / 479.5 MB, free: 5.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.387e-05/0.1575, allocations: 8.188 kB / 479.5 MB, free: 5.402 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.312e-05/0.1576, allocations: 7.984 kB / 479.5 MB, free: 5.395 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.04e-06/0.1576, allocations: 4 kB / 479.5 MB, free: 5.391 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007244/0.1583, allocations: 0.655 MB / 480.1 MB, free: 4.738 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.1583, allocations: 0 / 480.1 MB, free: 4.738 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000262/0.1586, allocations: 28 kB / 480.2 MB, free: 4.711 MB / 350.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 (5): * Single equations (assignments): 5 * 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.001038/0.1596, allocations: 400.5 kB / 480.6 MB, free: 4.465 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000216/0.1599, allocations: 55.97 kB / 480.6 MB, free: 4.41 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.1599, allocations: 8 kB / 480.6 MB, free: 4.402 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001138/0.16, allocations: 31.92 kB / 480.7 MB, free: 4.371 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00031/0.1603, allocations: 26.25 kB / 480.7 MB, free: 4.348 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00114/0.1615, allocations: 0.8256 MB / 481.5 MB, free: 3.496 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004839/0.162, allocations: 0.8379 MB / 482.3 MB, free: 2.629 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.686e-05/0.162, allocations: 20.19 kB / 482.4 MB, free: 2.609 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.482e-05/0.1621, allocations: 11.44 kB / 482.4 MB, free: 2.598 MB / 350.1 MB Notification: Performance of SimCode: time 3.9e-07/0.1621, allocations: 0 / 482.4 MB, free: 2.598 MB / 350.1 MB Notification: Performance of Templates: time 0.00484/0.1669, allocations: 1.386 MB / 483.8 MB, free: 1.215 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches