Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.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 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 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 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.CombiTable2D.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1") translateModel(ModelicaTest.Tables.CombiTable2D.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009933/0.0009932, allocations: 96.94 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001373/0.001373, allocations: 178.4 kB / 16.91 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.104/2.104, allocations: 205.4 MB / 223.1 MB, free: 5.492 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4417/0.4417, allocations: 43.57 MB / 315 MB, free: 8.75 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005361/0.0005362, allocations: 12.47 kB / 384.6 MB, free: 7.664 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1541/0.1547, allocations: 58.86 MB / 443.4 MB, free: 12.7 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test1): time 0.002103/0.1568, allocations: 1.321 MB / 444.8 MB, free: 11.36 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006835/0.1575, allocations: 327.6 kB / 445.1 MB, free: 11.04 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.014e-05/0.1576, allocations: 0 / 445.1 MB, free: 11.04 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005625/0.1581, allocations: 447.2 kB / 445.5 MB, free: 10.6 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003031/0.1585, allocations: 239.6 kB / 445.8 MB, free: 10.37 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003052/0.1588, allocations: 107.8 kB / 445.9 MB, free: 10.26 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002241/0.159, allocations: 159.7 kB / 446 MB, free: 10.11 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.1591, allocations: 8.188 kB / 446 MB, free: 10.1 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001183/0.1593, allocations: 99.78 kB / 446.1 MB, free: 10 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000223/0.1595, allocations: 207.6 kB / 446.3 MB, free: 9.797 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.696e-05/0.1595, allocations: 0 / 446.3 MB, free: 9.797 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.074e-05/0.1596, allocations: 31.98 kB / 446.4 MB, free: 9.766 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001164/0.1597, allocations: 87.61 kB / 446.4 MB, free: 9.68 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.457e-05/0.1598, allocations: 116.8 kB / 446.6 MB, free: 9.559 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000263/0.1601, allocations: 239.2 kB / 446.8 MB, free: 9.324 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1601, allocations: 0 / 446.8 MB, free: 9.324 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.1601, allocations: 0 / 446.8 MB, free: 9.324 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.161e-06/0.1601, allocations: 0 / 446.8 MB, free: 9.324 MB / 382.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.0006761/0.1608, allocations: 0.5912 MB / 447.4 MB, free: 8.684 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.1609, allocations: 8.031 kB / 447.4 MB, free: 8.676 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.181e-05/0.1609, allocations: 48.36 kB / 447.4 MB, free: 8.629 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002757/0.1612, allocations: 288.1 kB / 447.7 MB, free: 8.309 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.601e-05/0.1612, allocations: 8.375 kB / 447.7 MB, free: 8.301 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.332e-05/0.1613, allocations: 4.359 kB / 447.7 MB, free: 8.297 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001541/0.1614, allocations: 65.55 kB / 447.8 MB, free: 8.227 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.1614, allocations: 0 / 447.8 MB, free: 8.227 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.012e-05/0.1615, allocations: 0 / 447.8 MB, free: 8.227 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.1615, allocations: 4 kB / 447.8 MB, free: 8.223 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.849e-05/0.1616, allocations: 27.98 kB / 447.8 MB, free: 8.195 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000512/0.1621, allocations: 388.6 kB / 448.2 MB, free: 7.766 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002086/0.1623, allocations: 46.56 kB / 448.2 MB, free: 7.711 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.605e-05/0.1624, allocations: 20.94 kB / 448.3 MB, free: 7.688 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.897e-05/0.1624, allocations: 0 / 448.3 MB, free: 7.688 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.603e-05/0.1624, allocations: 30.56 kB / 448.3 MB, free: 7.648 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.1624, allocations: 0 / 448.3 MB, free: 7.648 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006765/0.1631, allocations: 236 kB / 448.5 MB, free: 7.41 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.439e-05/0.1632, allocations: 55.41 kB / 448.6 MB, free: 7.344 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008291/0.164, allocations: 0.8613 MB / 449.4 MB, free: 6.473 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.247e-05/0.164, allocations: 25.7 kB / 449.5 MB, free: 6.441 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001777/0.1642, allocations: 228 kB / 449.7 MB, free: 6.215 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.507e-05/0.1643, allocations: 7.812 kB / 449.7 MB, free: 6.207 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.725e-05/0.1643, allocations: 21.7 kB / 449.7 MB, free: 6.18 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001653/0.1645, allocations: 354.8 kB / 450.1 MB, free: 5.824 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.166e-05/0.1645, allocations: 23.92 kB / 450.1 MB, free: 5.801 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.306e-05/0.1646, allocations: 27.98 kB / 450.1 MB, free: 5.773 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001308/0.1648, allocations: 52.83 kB / 450.2 MB, free: 5.719 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.1648, allocations: 0 / 450.2 MB, free: 5.719 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002194/0.165, allocations: 121.2 kB / 450.3 MB, free: 5.594 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.165, allocations: 8 kB / 450.3 MB, free: 5.586 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.004e-06/0.165, allocations: 0 / 450.3 MB, free: 5.586 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.165, allocations: 3.938 kB / 450.3 MB, free: 5.582 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.545e-05/0.1651, allocations: 19.92 kB / 450.3 MB, free: 5.562 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.1651, allocations: 0 / 450.3 MB, free: 5.562 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.511e-05/0.1652, allocations: 11.84 kB / 450.3 MB, free: 5.551 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.181e-06/0.1652, allocations: 4 kB / 450.3 MB, free: 5.547 MB / 382.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000191/0.1654, allocations: 217.8 kB / 450.5 MB, free: 5.324 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.122e-05/0.1655, allocations: 39.53 kB / 450.6 MB, free: 5.285 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002834/0.1658, allocations: 141.2 kB / 450.7 MB, free: 5.141 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.1658, allocations: 4 kB / 450.7 MB, free: 5.137 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.1658, allocations: 4 kB / 450.7 MB, free: 5.133 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.966e-05/0.1658, allocations: 7.922 kB / 450.7 MB, free: 5.125 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000541/0.1663, allocations: 454.4 kB / 451.2 MB, free: 4.625 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.1664, allocations: 0 / 451.2 MB, free: 4.625 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.718e-05/0.1664, allocations: 19.98 kB / 451.2 MB, free: 4.605 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.1664, allocations: 0 / 451.2 MB, free: 4.605 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/0.1665, allocations: 7.938 kB / 451.2 MB, free: 4.598 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.1665, allocations: 11.92 kB / 451.2 MB, free: 4.586 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1665, allocations: 0 / 451.2 MB, free: 4.586 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002632/0.1667, allocations: 222.9 kB / 451.4 MB, free: 4.352 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.296e-05/0.1668, allocations: 112.5 kB / 451.6 MB, free: 4.223 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.504e-05/0.1669, allocations: 3.938 kB / 451.6 MB, free: 4.219 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.922e-05/0.1669, allocations: 7.984 kB / 451.6 MB, free: 4.211 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.057e-05/0.167, allocations: 8 kB / 451.6 MB, free: 4.203 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.506e-06/0.167, allocations: 0 / 451.6 MB, free: 4.203 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006469/0.1677, allocations: 0.6511 MB / 452.2 MB, free: 3.555 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1677, allocations: 0 / 452.2 MB, free: 3.555 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002475/0.1679, allocations: 24 kB / 452.2 MB, free: 3.531 MB / 382.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 (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.0009747/0.1689, allocations: 410.2 kB / 452.6 MB, free: 3.156 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002118/0.1691, allocations: 55.91 kB / 452.7 MB, free: 3.102 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.1691, allocations: 7.938 kB / 452.7 MB, free: 3.094 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.908e-05/0.1692, allocations: 31.98 kB / 452.7 MB, free: 3.062 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004177/0.1696, allocations: 21.95 kB / 452.8 MB, free: 3.039 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001148/0.1708, allocations: 0.8569 MB / 453.6 MB, free: 2.152 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004397/0.1713, allocations: 0.8185 MB / 454.4 MB, free: 1.309 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.317e-05/0.1713, allocations: 7.984 kB / 454.4 MB, free: 1.301 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.114e-05/0.1713, allocations: 15.44 kB / 454.5 MB, free: 1.285 MB / 382.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1713, allocations: 0 / 454.5 MB, free: 1.285 MB / 382.1 MB Notification: Performance of Templates: time 0.2244/0.3958, allocations: 1.329 MB / 455.8 MB, free: 45.63 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test1/Test1.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches