Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001113/0.001113, allocations: 110.6 kB / 16.41 MB, free: 6.504 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.001183/0.001183, allocations: 189.5 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.427/1.427, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.2292/0.2292, allocations: 43.53 MB / 314.1 MB, free: 456 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.001766/0.001766, allocations: 77.45 kB / 441.8 MB, free: 5.641 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1506/0.1524, allocations: 57.78 MB / 499.6 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test8): time 0.003787/0.1562, allocations: 1.565 MB / 0.4894 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007944/0.1571, allocations: 327.6 kB / 0.4897 GB, free: 9.887 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.599e-05/0.1572, allocations: 4 kB / 0.4897 GB, free: 9.883 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006497/0.1579, allocations: 455.1 kB / 0.4902 GB, free: 9.438 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004124/0.1583, allocations: 251.4 kB / 0.4904 GB, free: 9.191 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004988/0.1588, allocations: 155.7 kB / 0.4906 GB, free: 9.039 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003513/0.1592, allocations: 159.6 kB / 0.4907 GB, free: 8.883 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001354/0.1593, allocations: 27.89 kB / 0.4907 GB, free: 8.855 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001667/0.1595, allocations: 99.8 kB / 0.4908 GB, free: 8.758 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000268/0.1598, allocations: 203.6 kB / 0.491 GB, free: 8.559 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.085e-05/0.1598, allocations: 4 kB / 0.491 GB, free: 8.555 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.024e-05/0.1599, allocations: 27.97 kB / 0.4911 GB, free: 8.527 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001177/0.16, allocations: 87.62 kB / 0.4911 GB, free: 8.441 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.464e-05/0.1601, allocations: 95.06 kB / 0.4912 GB, free: 8.348 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003052/0.1605, allocations: 251 kB / 0.4915 GB, free: 8.102 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.1605, allocations: 0 / 0.4915 GB, free: 8.102 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1605, allocations: 0 / 0.4915 GB, free: 8.102 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.878e-06/0.1605, allocations: 0 / 0.4915 GB, free: 8.102 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.0008852/0.1614, allocations: 0.6141 MB / 0.4921 GB, free: 7.438 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/0.1614, allocations: 19.89 kB / 0.4921 GB, free: 7.418 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.98e-05/0.1615, allocations: 36.47 kB / 0.4921 GB, free: 7.383 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003152/0.1618, allocations: 292.2 kB / 0.4924 GB, free: 7.055 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.001e-05/0.1619, allocations: 4.375 kB / 0.4924 GB, free: 7.051 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.431e-05/0.1619, allocations: 4.312 kB / 0.4924 GB, free: 7.047 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001719/0.1621, allocations: 57.75 kB / 0.4925 GB, free: 6.984 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.1621, allocations: 0 / 0.4925 GB, free: 6.984 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.1621, allocations: 0 / 0.4925 GB, free: 6.984 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/0.1621, allocations: 3.984 kB / 0.4925 GB, free: 6.98 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001053/0.1622, allocations: 31.97 kB / 0.4925 GB, free: 6.949 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005944/0.1628, allocations: 384.7 kB / 0.4929 GB, free: 6.523 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001028/0.1629, allocations: 30.52 kB / 0.4929 GB, free: 6.484 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.253e-05/0.163, allocations: 20.91 kB / 0.4929 GB, free: 6.461 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.711e-05/0.163, allocations: 0 / 0.4929 GB, free: 6.461 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.874e-05/0.1631, allocations: 34.56 kB / 0.4929 GB, free: 6.418 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 9.11e-07/0.1631, allocations: 0 / 0.4929 GB, free: 6.418 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003155/0.1634, allocations: 105.1 kB / 0.493 GB, free: 6.309 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.907e-05/0.1635, allocations: 55.34 kB / 0.4931 GB, free: 6.242 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008131/0.1643, allocations: 0.8574 MB / 0.4939 GB, free: 5.371 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.203e-05/0.1643, allocations: 25.7 kB / 0.494 GB, free: 5.34 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001607/0.1645, allocations: 220.1 kB / 0.4942 GB, free: 5.121 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.184e-05/0.1645, allocations: 19.97 kB / 0.4942 GB, free: 5.102 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.949e-05/0.1645, allocations: 13.72 kB / 0.4942 GB, free: 5.082 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001624/0.1647, allocations: 370.7 kB / 0.4946 GB, free: 4.711 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.753e-05/0.1648, allocations: 4 kB / 0.4946 GB, free: 4.707 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.689e-05/0.1648, allocations: 11.98 kB / 0.4946 GB, free: 4.695 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.014e-05/0.1649, allocations: 28.84 kB / 0.4946 GB, free: 4.664 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.1649, allocations: 4.062 kB / 0.4946 GB, free: 4.66 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001686/0.1651, allocations: 97.05 kB / 0.4947 GB, free: 4.559 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.269e-05/0.1651, allocations: 8 kB / 0.4947 GB, free: 4.551 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.1651, allocations: 0 / 0.4947 GB, free: 4.551 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.092e-05/0.1651, allocations: 0 / 0.4947 GB, free: 4.551 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.353e-05/0.1652, allocations: 4 kB / 0.4947 GB, free: 4.547 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.373e-06/0.1652, allocations: 0 / 0.4947 GB, free: 4.547 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.214e-05/0.1653, allocations: 4 kB / 0.4947 GB, free: 4.543 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.145e-05/0.1653, allocations: 3.984 kB / 0.4947 GB, free: 4.539 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 (2): * Single equations (assignments): 2 * 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.0002047/0.1655, allocations: 221.7 kB / 0.4949 GB, free: 4.312 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.262e-05/0.1656, allocations: 39.44 kB / 0.495 GB, free: 4.273 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002348/0.1658, allocations: 108.6 kB / 0.4951 GB, free: 4.16 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.1659, allocations: 0 / 0.4951 GB, free: 4.16 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-06/0.1659, allocations: 0 / 0.4951 GB, free: 4.16 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.1659, allocations: 7.938 kB / 0.4951 GB, free: 4.152 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003207/0.1662, allocations: 285.4 kB / 0.4953 GB, free: 3.824 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.1662, allocations: 0 / 0.4953 GB, free: 3.824 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.804e-05/0.1663, allocations: 8.031 kB / 0.4954 GB, free: 3.816 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.1663, allocations: 0 / 0.4954 GB, free: 3.816 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.147e-06/0.1663, allocations: 0 / 0.4954 GB, free: 3.816 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.551e-06/0.1663, allocations: 4 kB / 0.4954 GB, free: 3.812 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.1663, allocations: 0 / 0.4954 GB, free: 3.812 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002375/0.1666, allocations: 187 kB / 0.4955 GB, free: 3.613 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.963e-05/0.1666, allocations: 108.5 kB / 0.4956 GB, free: 3.488 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.76e-05/0.1667, allocations: 8.031 kB / 0.4956 GB, free: 3.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.885e-05/0.1668, allocations: 0 / 0.4956 GB, free: 3.48 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.867e-05/0.1668, allocations: 3.984 kB / 0.4957 GB, free: 3.477 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/0.1668, allocations: 4 kB / 0.4957 GB, free: 3.473 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006399/0.1675, allocations: 0.6472 MB / 0.4963 GB, free: 2.828 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1675, allocations: 0 / 0.4963 GB, free: 2.828 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002586/0.1677, allocations: 16 kB / 0.4963 GB, free: 2.812 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 (2): * Single equations (assignments): 2 * 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.001014/0.1688, allocations: 365.6 kB / 0.4967 GB, free: 2.488 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001791/0.1689, allocations: 19.98 kB / 0.4967 GB, free: 2.469 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.169, allocations: 0 / 0.4967 GB, free: 2.469 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.346e-05/0.169, allocations: 11.98 kB / 0.4967 GB, free: 2.457 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005105/0.1695, allocations: 37.88 kB / 0.4967 GB, free: 2.418 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001297/0.1708, allocations: 0.7593 MB / 0.4975 GB, free: 1.625 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004281/0.1713, allocations: 0.8182 MB / 0.4983 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.589e-05/0.1714, allocations: 11.98 kB / 0.4983 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.397e-05/0.1714, allocations: 7.438 kB / 0.4983 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1714, allocations: 7.938 kB / 0.4983 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of Templates: time 0.005147/0.1766, allocations: 1.272 MB / 0.4995 GB, free: 15.48 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test8/Test8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches