Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17.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.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17") translateModel(ModelicaTest.Tables.CombiTable2D.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008224/0.0008224, allocations: 102.6 kB / 16.02 MB, free: 76 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.001005/0.001005, allocations: 185.4 kB / 16.92 MB, free: 6.918 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.019/2.019, allocations: 205.4 MB / 223.1 MB, free: 5.75 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.4778/0.4778, allocations: 43.58 MB / 315 MB, free: 8.977 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.0005754/0.0005757, allocations: 12.42 kB / 384.6 MB, free: 7.887 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1541/0.1546, allocations: 58.86 MB / 443.4 MB, free: 12.92 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test17): time 0.002343/0.157, allocations: 1.339 MB / 444.8 MB, free: 11.57 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008577/0.1579, allocations: 0.6682 MB / 445.5 MB, free: 10.9 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.368e-05/0.158, allocations: 0 / 445.5 MB, free: 10.9 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002361/0.1582, allocations: 27.92 kB / 445.5 MB, free: 10.87 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000162/0.1584, allocations: 39.88 kB / 445.5 MB, free: 10.83 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.667e-06/0.1584, allocations: 0 / 445.5 MB, free: 10.83 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001459/0.1585, allocations: 43.89 kB / 445.6 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.223e-05/0.1586, allocations: 4 kB / 445.6 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.335e-05/0.1586, allocations: 11.92 kB / 445.6 MB, free: 10.77 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.993e-05/0.1587, allocations: 23.86 kB / 445.6 MB, free: 10.75 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.857e-06/0.1587, allocations: 0 / 445.6 MB, free: 10.75 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.431e-05/0.1588, allocations: 12 kB / 445.6 MB, free: 10.74 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.979e-05/0.1588, allocations: 15.92 kB / 445.6 MB, free: 10.72 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.72e-05/0.1589, allocations: 49.52 kB / 445.7 MB, free: 10.67 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001156/0.159, allocations: 68 kB / 445.7 MB, free: 10.6 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.159, allocations: 0 / 445.7 MB, free: 10.6 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.159, allocations: 0 / 445.7 MB, free: 10.6 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.336e-06/0.159, allocations: 0 / 445.7 MB, free: 10.6 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003341/0.1594, allocations: 351.3 kB / 446.1 MB, free: 10.21 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.1594, allocations: 12.03 kB / 446.1 MB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.947e-05/0.1594, allocations: 8.844 kB / 446.1 MB, free: 10.19 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001354/0.1596, allocations: 176.2 kB / 446.3 MB, free: 9.977 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/0.1596, allocations: 384 / 446.3 MB, free: 9.977 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.411e-05/0.1596, allocations: 8.375 kB / 446.3 MB, free: 9.969 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001761/0.1598, allocations: 115.4 kB / 446.4 MB, free: 9.832 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/0.1598, allocations: 12.06 kB / 446.4 MB, free: 9.82 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.1598, allocations: 3.938 kB / 446.4 MB, free: 9.816 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.574e-05/0.1599, allocations: 27.97 kB / 446.4 MB, free: 9.789 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.19e-05/0.16, allocations: 39.92 kB / 446.5 MB, free: 9.75 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006691/0.1607, allocations: 0.8983 MB / 447.4 MB, free: 8.781 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.757e-05/0.1608, allocations: 169.1 kB / 447.5 MB, free: 8.605 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.324e-05/0.1608, allocations: 84.17 kB / 447.6 MB, free: 8.52 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.248e-05/0.1608, allocations: 87.2 kB / 447.7 MB, free: 8.434 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.196e-05/0.1609, allocations: 105.8 kB / 447.8 MB, free: 8.32 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.1609, allocations: 0 / 447.8 MB, free: 8.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 7.23e-05/0.161, allocations: 33.61 kB / 447.8 MB, free: 8.281 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.538e-05/0.1611, allocations: 126.7 kB / 448 MB, free: 8.145 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001715/0.1612, allocations: 182.1 kB / 448.1 MB, free: 7.953 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.482e-05/0.1613, allocations: 29.64 kB / 448.2 MB, free: 7.918 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.053e-05/0.1614, allocations: 147.2 kB / 448.3 MB, free: 7.77 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.847e-06/0.1614, allocations: 4 kB / 448.3 MB, free: 7.766 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.143e-05/0.1614, allocations: 21.72 kB / 448.3 MB, free: 7.738 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001322/0.1615, allocations: 322.8 kB / 448.7 MB, free: 7.414 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.141e-05/0.1616, allocations: 35.92 kB / 448.7 MB, free: 7.379 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001227/0.1617, allocations: 157.1 kB / 448.9 MB, free: 7.164 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002842/0.162, allocations: 200.9 kB / 449 MB, free: 6.906 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/0.162, allocations: 4 kB / 449.1 MB, free: 6.902 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002895/0.1623, allocations: 201.5 kB / 449.2 MB, free: 6.699 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.1623, allocations: 4 kB / 449.3 MB, free: 6.695 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.1624, allocations: 8 kB / 449.3 MB, free: 6.688 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.1624, allocations: 4 kB / 449.3 MB, free: 6.684 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001157/0.1625, allocations: 35.92 kB / 449.3 MB, free: 6.648 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.492e-05/0.1625, allocations: 19.92 kB / 449.3 MB, free: 6.629 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.652e-05/0.1626, allocations: 23.69 kB / 449.3 MB, free: 6.605 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.497e-05/0.1626, allocations: 12 kB / 449.4 MB, free: 6.594 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001221/0.1628, allocations: 213.2 kB / 449.6 MB, free: 6.375 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.684e-05/0.1628, allocations: 120.8 kB / 449.7 MB, free: 6.25 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.784e-05/0.1629, allocations: 112.9 kB / 449.8 MB, free: 6.133 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.173e-05/0.163, allocations: 180.2 kB / 450 MB, free: 5.949 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-05/0.163, allocations: 180.2 kB / 450.1 MB, free: 5.766 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.167e-05/0.1631, allocations: 184.2 kB / 450.3 MB, free: 5.578 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003172/0.1634, allocations: 437.2 kB / 450.7 MB, free: 5.094 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.712e-05/0.1635, allocations: 108.9 kB / 450.9 MB, free: 4.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.52e-05/0.1635, allocations: 101 kB / 451 MB, free: 4.875 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001109/0.1637, allocations: 180.3 kB / 451.1 MB, free: 4.691 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.45e-05/0.1637, allocations: 180.2 kB / 451.3 MB, free: 4.508 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.366e-05/0.1638, allocations: 184.3 kB / 451.5 MB, free: 4.32 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.45e-05/0.1639, allocations: 184.2 kB / 451.7 MB, free: 4.133 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001365/0.164, allocations: 307.7 kB / 452 MB, free: 3.809 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.792e-05/0.1641, allocations: 193.9 kB / 452.2 MB, free: 3.594 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000116/0.1642, allocations: 188.2 kB / 452.3 MB, free: 3.402 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.74e-05/0.1643, allocations: 104.9 kB / 452.4 MB, free: 3.293 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.632e-05/0.1644, allocations: 176.3 kB / 452.6 MB, free: 3.113 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.668e-05/0.1644, allocations: 105 kB / 452.7 MB, free: 3.004 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.382e-05/0.1645, allocations: 136 kB / 452.8 MB, free: 2.871 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1645, allocations: 0 / 452.8 MB, free: 2.871 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002762/0.1648, allocations: 16 kB / 452.9 MB, free: 2.855 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 (0): * Single equations (assignments): 0 * 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.0004902/0.1653, allocations: 290.6 kB / 453.1 MB, free: 2.586 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001363/0.1655, allocations: 76.12 kB / 453.2 MB, free: 2.512 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.682e-05/0.1655, allocations: 1.25 kB / 453.2 MB, free: 2.512 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.433e-06/0.1655, allocations: 0 / 453.2 MB, free: 2.512 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003948/0.1659, allocations: 0.5302 MB / 453.8 MB, free: 1.977 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003472/0.1662, allocations: 271 kB / 454 MB, free: 1.684 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002864/0.1665, allocations: 0.697 MB / 454.7 MB, free: 0.9609 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001771/0.1667, allocations: 53.02 kB / 454.8 MB, free: 0.9102 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.955e-05/0.1668, allocations: 15.42 kB / 454.8 MB, free: 0.8945 MB / 382.1 MB Notification: Performance of SimCode: time 3e-07/0.1668, allocations: 0 / 454.8 MB, free: 0.8945 MB / 382.1 MB Notification: Performance of Templates: time 0.003127/0.1699, allocations: 0.641 MB / 455.4 MB, free: 260 kB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test17/Test17.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test17.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches