Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001536/0.001536, allocations: 106.6 kB / 16.41 MB, free: 6.508 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.001697/0.001697, allocations: 192.2 kB / 17.34 MB, free: 5.742 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.418/1.418, allocations: 205.1 MB / 223.2 MB, free: 12.21 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.2149/0.2149, allocations: 43.52 MB / 314.1 MB, free: 444 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.001952/0.001952, allocations: 69.47 kB / 441.8 MB, free: 5.637 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1464/0.1484, allocations: 57.8 MB / 499.6 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test9): time 0.003045/0.1515, allocations: 1.573 MB / 0.4894 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007244/0.1522, allocations: 327.6 kB / 0.4897 GB, free: 9.859 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.038e-05/0.1523, allocations: 4 kB / 0.4897 GB, free: 9.855 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006996/0.153, allocations: 455.1 kB / 0.4902 GB, free: 9.41 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003637/0.1534, allocations: 251.5 kB / 0.4904 GB, free: 9.164 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003908/0.1538, allocations: 147.7 kB / 0.4906 GB, free: 9.02 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002342/0.1541, allocations: 163.7 kB / 0.4907 GB, free: 8.859 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001269/0.1542, allocations: 24.09 kB / 0.4907 GB, free: 8.836 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001128/0.1543, allocations: 111.8 kB / 0.4908 GB, free: 8.727 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002289/0.1546, allocations: 211.6 kB / 0.491 GB, free: 8.52 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.791e-05/0.1546, allocations: 0 / 0.491 GB, free: 8.52 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.541e-05/0.1546, allocations: 20 kB / 0.4911 GB, free: 8.5 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001052/0.1548, allocations: 83.69 kB / 0.4911 GB, free: 8.418 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.264e-05/0.1549, allocations: 107 kB / 0.4913 GB, free: 8.312 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002763/0.1551, allocations: 247 kB / 0.4915 GB, free: 8.07 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1552, allocations: 0 / 0.4915 GB, free: 8.07 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.815e-06/0.1552, allocations: 0 / 0.4915 GB, free: 8.07 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.844e-06/0.1552, allocations: 3.938 kB / 0.4915 GB, free: 8.066 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007113/0.1559, allocations: 0.6219 MB / 0.4921 GB, free: 7.395 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.1559, allocations: 15.89 kB / 0.4921 GB, free: 7.379 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.275e-05/0.156, allocations: 40.38 kB / 0.4922 GB, free: 7.34 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002622/0.1563, allocations: 296.2 kB / 0.4924 GB, free: 7.008 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.1563, allocations: 8.375 kB / 0.4924 GB, free: 7 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.589e-05/0.1563, allocations: 4.359 kB / 0.4924 GB, free: 6.996 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001692/0.1565, allocations: 57.61 kB / 0.4925 GB, free: 6.934 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.415e-06/0.1565, allocations: 0 / 0.4925 GB, free: 6.934 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.1565, allocations: 0 / 0.4925 GB, free: 6.934 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.088e-05/0.1565, allocations: 0 / 0.4925 GB, free: 6.934 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001126/0.1567, allocations: 39.91 kB / 0.4925 GB, free: 6.895 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004959/0.1572, allocations: 396.7 kB / 0.4929 GB, free: 6.457 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001228/0.1573, allocations: 38.56 kB / 0.493 GB, free: 6.41 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.215e-05/0.1574, allocations: 28.94 kB / 0.493 GB, free: 6.379 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.393e-05/0.1574, allocations: 0 / 0.493 GB, free: 6.379 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.204e-05/0.1575, allocations: 34.55 kB / 0.493 GB, free: 6.336 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.1575, allocations: 7.938 kB / 0.493 GB, free: 6.328 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003136/0.1578, allocations: 121.2 kB / 0.4931 GB, free: 6.203 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.565e-05/0.1578, allocations: 55.41 kB / 0.4932 GB, free: 6.137 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007557/0.1586, allocations: 0.8535 MB / 0.494 GB, free: 5.27 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.436e-05/0.1586, allocations: 25.7 kB / 0.494 GB, free: 5.238 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001468/0.1588, allocations: 212 kB / 0.4942 GB, free: 5.027 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.677e-05/0.1588, allocations: 11.84 kB / 0.4943 GB, free: 5.016 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.36e-05/0.1588, allocations: 21.7 kB / 0.4943 GB, free: 4.988 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.159, allocations: 362.7 kB / 0.4946 GB, free: 4.625 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.011e-05/0.1591, allocations: 15.98 kB / 0.4946 GB, free: 4.609 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.847e-05/0.1591, allocations: 19.92 kB / 0.4947 GB, free: 4.59 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001098/0.1592, allocations: 52.7 kB / 0.4947 GB, free: 4.535 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1592, allocations: 0 / 0.4947 GB, free: 4.535 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001822/0.1594, allocations: 113.2 kB / 0.4948 GB, free: 4.418 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.1595, allocations: 4 kB / 0.4948 GB, free: 4.414 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.1595, allocations: 4 kB / 0.4948 GB, free: 4.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.1595, allocations: 0 / 0.4948 GB, free: 4.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.381e-05/0.1596, allocations: 11.98 kB / 0.4948 GB, free: 4.398 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.932e-06/0.1596, allocations: 0 / 0.4948 GB, free: 4.398 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.862e-05/0.1596, allocations: 7.906 kB / 0.4948 GB, free: 4.391 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.573e-06/0.1596, allocations: 0 / 0.4948 GB, free: 4.391 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 (3): * Single equations (assignments): 3 * 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.0001867/0.1598, allocations: 225.6 kB / 0.4951 GB, free: 4.16 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.117e-05/0.1599, allocations: 39.53 kB / 0.4951 GB, free: 4.121 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002382/0.1601, allocations: 128.9 kB / 0.4952 GB, free: 3.984 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.1602, allocations: 384 / 0.4952 GB, free: 3.984 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.1602, allocations: 0 / 0.4952 GB, free: 3.984 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.1602, allocations: 0 / 0.4952 GB, free: 3.984 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002835/0.1605, allocations: 289.5 kB / 0.4955 GB, free: 3.652 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.1605, allocations: 0 / 0.4955 GB, free: 3.652 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.946e-05/0.1605, allocations: 19.97 kB / 0.4955 GB, free: 3.633 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.1605, allocations: 0 / 0.4955 GB, free: 3.633 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.1605, allocations: 0 / 0.4955 GB, free: 3.633 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1606, allocations: 0 / 0.4955 GB, free: 3.633 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1606, allocations: 0 / 0.4955 GB, free: 3.633 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000226/0.1608, allocations: 210.8 kB / 0.4957 GB, free: 3.41 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.648e-05/0.1609, allocations: 108.6 kB / 0.4958 GB, free: 3.285 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.655e-05/0.1609, allocations: 8 kB / 0.4958 GB, free: 3.277 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.071e-05/0.161, allocations: 0 / 0.4958 GB, free: 3.277 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.733e-05/0.161, allocations: 7.984 kB / 0.4958 GB, free: 3.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.986e-06/0.161, allocations: 0 / 0.4958 GB, free: 3.27 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005809/0.1616, allocations: 0.6472 MB / 0.4965 GB, free: 2.625 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1616, allocations: 0 / 0.4965 GB, free: 2.625 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002388/0.1619, allocations: 16 kB / 0.4965 GB, free: 2.609 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 (3): * Single equations (assignments): 3 * 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.0007864/0.1627, allocations: 356.5 kB / 0.4968 GB, free: 2.289 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001977/0.1629, allocations: 39.97 kB / 0.4969 GB, free: 2.25 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.1629, allocations: 0 / 0.4969 GB, free: 2.25 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.659e-05/0.163, allocations: 27.92 kB / 0.4969 GB, free: 2.223 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004211/0.1634, allocations: 33.8 kB / 0.4969 GB, free: 2.188 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001052/0.1644, allocations: 0.7754 MB / 0.4977 GB, free: 1.383 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004001/0.1649, allocations: 0.8221 MB / 0.4985 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.379e-05/0.1649, allocations: 11.98 kB / 0.4985 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.042e-05/0.165, allocations: 15.44 kB / 0.4985 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.165, allocations: 0 / 0.4985 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of Templates: time 0.005349/0.1703, allocations: 1.342 MB / 0.4998 GB, free: 15.17 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test9/Test9.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches