Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.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.CombiTable2Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|cosine_R.y|sine_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|cosine_L.y|sine_L.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|cosine_R.y|sine_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|cosine_L.y|sine_L.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001575/0.001576, allocations: 111.1 kB / 16.41 MB, free: 6.484 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.002048/0.002048, allocations: 189.5 kB / 17.34 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.578/1.578, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2208/0.2208, allocations: 43.53 MB / 314.1 MB, free: 448 kB / 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.001395/0.001395, allocations: 59.91 kB / 441.8 MB, free: 5.672 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1543/0.1557, allocations: 57.8 MB / 499.6 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test23): time 0.003444/0.1592, allocations: 2.04 MB / 0.4899 GB, free: 9.738 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001616/0.1608, allocations: 1.081 MB / 0.4909 GB, free: 8.648 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.086e-05/0.1609, allocations: 0 / 0.4909 GB, free: 8.648 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002761/0.1612, allocations: 59.56 kB / 0.491 GB, free: 8.59 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003552/0.1616, allocations: 151.3 kB / 0.4911 GB, free: 8.441 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001091/0.1627, allocations: 0.5575 MB / 0.4917 GB, free: 7.883 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003529/0.1631, allocations: 307.1 kB / 0.492 GB, free: 7.582 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001819/0.1633, allocations: 72.56 kB / 0.492 GB, free: 7.512 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001815/0.1635, allocations: 139.4 kB / 0.4922 GB, free: 7.375 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002414/0.1637, allocations: 199.2 kB / 0.4924 GB, free: 7.18 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.452e-05/0.1637, allocations: 12 kB / 0.4924 GB, free: 7.168 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001075/0.1639, allocations: 43.98 kB / 0.4924 GB, free: 7.125 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001538/0.164, allocations: 143.6 kB / 0.4926 GB, free: 6.984 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000147/0.1642, allocations: 162.6 kB / 0.4927 GB, free: 6.824 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004033/0.1646, allocations: 394.5 kB / 0.4931 GB, free: 6.438 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.1646, allocations: 0 / 0.4931 GB, free: 6.438 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1646, allocations: 7.938 kB / 0.4931 GB, free: 6.43 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.454e-06/0.1646, allocations: 0 / 0.4931 GB, free: 6.43 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0009841/0.1656, allocations: 0.7542 MB / 0.4938 GB, free: 5.625 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.1657, allocations: 15.88 kB / 0.4938 GB, free: 5.609 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.588e-05/0.1657, allocations: 56.19 kB / 0.4939 GB, free: 5.555 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005212/0.1663, allocations: 451.8 kB / 0.4943 GB, free: 5.07 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.378e-05/0.1663, allocations: 8.375 kB / 0.4943 GB, free: 5.062 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.52e-05/0.1663, allocations: 19.97 kB / 0.4944 GB, free: 5.043 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003339/0.1667, allocations: 171.1 kB / 0.4945 GB, free: 4.863 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.1667, allocations: 0 / 0.4945 GB, free: 4.863 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.738e-05/0.1667, allocations: 4 kB / 0.4945 GB, free: 4.859 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.1667, allocations: 4 kB / 0.4945 GB, free: 4.855 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003154/0.1671, allocations: 111.9 kB / 0.4946 GB, free: 4.746 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009708/0.1681, allocations: 0.6995 MB / 0.4953 GB, free: 3.992 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002868/0.1684, allocations: 133.2 kB / 0.4954 GB, free: 3.844 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001576/0.1685, allocations: 81.78 kB / 0.4955 GB, free: 3.758 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.56e-05/0.1686, allocations: 4 kB / 0.4955 GB, free: 3.754 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.355e-05/0.1686, allocations: 30.56 kB / 0.4956 GB, free: 3.715 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.223e-06/0.1686, allocations: 3.938 kB / 0.4956 GB, free: 3.711 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.002018/0.1706, allocations: 0.736 MB / 0.4963 GB, free: 2.965 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.179e-05/0.1707, allocations: 77.11 kB / 0.4964 GB, free: 2.871 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008679/0.1715, allocations: 0.8585 MB / 0.4972 GB, free: 2 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.476e-05/0.1716, allocations: 29.7 kB / 0.4972 GB, free: 1.965 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001808/0.1718, allocations: 252.3 kB / 0.4975 GB, free: 1.715 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.208e-05/0.1718, allocations: 71 kB / 0.4975 GB, free: 1.645 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.729e-05/0.1719, allocations: 33.7 kB / 0.4976 GB, free: 1.605 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001481/0.1721, allocations: 378.7 kB / 0.4979 GB, free: 1.227 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002769/0.1724, allocations: 111.9 kB / 0.498 GB, free: 1.117 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002787/0.1726, allocations: 133 kB / 0.4982 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005509/0.1732, allocations: 249.6 kB / 0.4984 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.1732, allocations: 0 / 0.4984 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006983/0.1739, allocations: 340.9 kB / 0.4987 GB, free: 404 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.1739, allocations: 4 kB / 0.4987 GB, free: 400 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.174, allocations: 0 / 0.4987 GB, free: 400 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.174, allocations: 4 kB / 0.4987 GB, free: 396 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002795/0.1743, allocations: 55.89 kB / 0.4988 GB, free: 340 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.1743, allocations: 4 kB / 0.4988 GB, free: 336 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001771/0.1745, allocations: 19.97 kB / 0.4988 GB, free: 316 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.892e-05/0.1745, allocations: 12 kB / 0.4988 GB, free: 304 kB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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.0002147/0.1747, allocations: 221.6 kB / 0.499 GB, free: 72 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.525e-05/0.1748, allocations: 51.34 kB / 0.4991 GB, free: 20 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008655/0.1757, allocations: 394.5 kB / 0.4994 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.972e-06/0.1757, allocations: 4 kB / 0.4995 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.1757, allocations: 4 kB / 0.4995 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.688e-06/0.1757, allocations: 0 / 0.4995 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001378/0.1771, allocations: 0.939 MB / 0.5004 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.1771, allocations: 0 / 0.5004 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002551/0.1774, allocations: 59.89 kB / 0.5004 GB, free: 14.56 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.1774, allocations: 0 / 0.5004 GB, free: 14.56 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.904e-05/0.1774, allocations: 7.984 kB / 0.5004 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/0.1774, allocations: 3.938 kB / 0.5004 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.1774, allocations: 0 / 0.5004 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007562/0.1782, allocations: 0.5095 MB / 0.5009 GB, free: 14.02 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001222/0.1783, allocations: 136.4 kB / 0.5011 GB, free: 13.87 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.593e-05/0.1784, allocations: 8 kB / 0.5011 GB, free: 13.86 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002306/0.1786, allocations: 27.84 kB / 0.5011 GB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.154e-05/0.1787, allocations: 19.97 kB / 0.5011 GB, free: 13.82 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.553e-05/0.1787, allocations: 12 kB / 0.5011 GB, free: 13.8 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006291/0.1794, allocations: 0.6198 MB / 0.5017 GB, free: 13.19 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1794, allocations: 0 / 0.5017 GB, free: 13.19 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003478/0.1797, allocations: 64 kB / 0.5018 GB, free: 13.12 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (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 Backend phase and start with SimCode phase: time 0.0009442/0.1807, allocations: 411.5 kB / 0.5022 GB, free: 12.75 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006661/0.1813, allocations: 255.8 kB / 0.5024 GB, free: 12.5 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1814, allocations: 0 / 0.5024 GB, free: 12.5 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003228/0.1817, allocations: 147.8 kB / 0.5026 GB, free: 12.36 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006531/0.1823, allocations: 77.42 kB / 0.5027 GB, free: 12.29 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001411/0.1838, allocations: 0.9585 MB / 0.5036 GB, free: 11.29 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00048/0.1843, allocations: 0.8772 MB / 0.5044 GB, free: 10.39 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002142/0.1845, allocations: 94.88 kB / 0.5045 GB, free: 10.3 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001102/0.1846, allocations: 43.42 kB / 0.5046 GB, free: 10.25 MB / 398.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1846, allocations: 0 / 0.5046 GB, free: 10.25 MB / 398.1 MB Notification: Performance of Templates: time 0.008766/0.1934, allocations: 4.431 MB / 0.5089 GB, free: 5.82 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test23/Test23.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches