Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.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.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81") translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007074/0.007073, allocations: 101.2 kB / 15.88 MB, free: 6.309 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.001327/0.001327, allocations: 193.5 kB / 16.79 MB, free: 6.238 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.585/1.585, allocations: 205.1 MB / 222.6 MB, free: 4.73 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.382/0.382, allocations: 43.5 MB / 313.5 MB, free: 8.254 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.00143/0.00143, allocations: 66.56 kB / 382 MB, free: 8.5 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1581/0.1596, allocations: 57.79 MB / 439.8 MB, free: 14.61 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.004009/0.1636, allocations: 1.842 MB / 441.7 MB, free: 12.75 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002353/0.166, allocations: 1.449 MB / 443.1 MB, free: 11.29 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000101/0.1661, allocations: 0 / 443.1 MB, free: 11.29 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004702/0.1666, allocations: 47.83 kB / 443.2 MB, free: 11.24 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002595/0.1669, allocations: 75.67 kB / 443.2 MB, free: 11.16 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004066/0.1673, allocations: 135.8 kB / 443.4 MB, free: 11.03 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002642/0.1676, allocations: 171.4 kB / 443.5 MB, free: 10.86 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.946e-05/0.1677, allocations: 9.547 kB / 443.6 MB, free: 10.85 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000145/0.1678, allocations: 75.62 kB / 443.6 MB, free: 10.78 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002447/0.1681, allocations: 67.62 kB / 443.7 MB, free: 10.71 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.541e-05/0.1681, allocations: 8 kB / 443.7 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001407/0.1683, allocations: 59.97 kB / 443.8 MB, free: 10.64 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.436e-05/0.1683, allocations: 27.84 kB / 443.8 MB, free: 10.62 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.78e-05/0.1684, allocations: 59.59 kB / 443.8 MB, free: 10.56 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002729/0.1687, allocations: 163.8 kB / 444 MB, free: 10.4 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.35e-05/0.1687, allocations: 0 / 444 MB, free: 10.4 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1688, allocations: 3.938 kB / 444 MB, free: 10.39 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.933e-06/0.1688, allocations: 0 / 444 MB, free: 10.39 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007505/0.1695, allocations: 462.7 kB / 444.5 MB, free: 9.895 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.49e-05/0.1696, allocations: 16.03 kB / 444.5 MB, free: 9.879 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.632e-05/0.1697, allocations: 16.75 kB / 444.5 MB, free: 9.863 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003375/0.17, allocations: 239.7 kB / 444.7 MB, free: 9.59 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.009e-05/0.17, allocations: 4.359 kB / 444.7 MB, free: 9.586 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.091e-05/0.1701, allocations: 12.12 kB / 444.7 MB, free: 9.574 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003034/0.1704, allocations: 105 kB / 444.8 MB, free: 9.453 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.537e-05/0.1704, allocations: 7.938 kB / 444.9 MB, free: 9.445 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.042e-05/0.1704, allocations: 0 / 444.9 MB, free: 9.445 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.093e-05/0.1705, allocations: 0 / 444.9 MB, free: 9.445 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000137/0.1706, allocations: 31.92 kB / 444.9 MB, free: 9.414 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003351/0.1709, allocations: 218.5 kB / 445.1 MB, free: 9.148 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003147/0.1713, allocations: 105.2 kB / 445.2 MB, free: 9.027 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001139/0.1714, allocations: 41.64 kB / 445.2 MB, free: 8.98 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.859e-05/0.1714, allocations: 0 / 445.2 MB, free: 8.98 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003941/0.1718, allocations: 116.9 kB / 445.4 MB, free: 8.848 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.092e-06/0.1719, allocations: 3.938 kB / 445.4 MB, free: 8.844 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005624/0.1724, allocations: 165.4 kB / 445.5 MB, free: 8.676 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001458/0.1726, allocations: 132.5 kB / 445.7 MB, free: 8.516 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002814/0.1729, allocations: 211.8 kB / 445.9 MB, free: 8.301 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.849e-05/0.1729, allocations: 29.7 kB / 445.9 MB, free: 8.266 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.414e-05/0.173, allocations: 112.1 kB / 446 MB, free: 8.152 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.511e-05/0.1731, allocations: 35.64 kB / 446 MB, free: 8.117 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.22e-05/0.1732, allocations: 25.72 kB / 446.1 MB, free: 8.086 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001862/0.1733, allocations: 330.8 kB / 446.4 MB, free: 7.754 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.981e-05/0.1734, allocations: 27.98 kB / 446.4 MB, free: 7.727 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000122/0.1736, allocations: 69.14 kB / 446.5 MB, free: 7.641 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002187/0.1738, allocations: 99.88 kB / 446.6 MB, free: 7.531 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.1738, allocations: 0 / 446.6 MB, free: 7.531 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002581/0.1741, allocations: 133.4 kB / 446.7 MB, free: 7.395 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.278e-05/0.1741, allocations: 4 kB / 446.7 MB, free: 7.391 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.1741, allocations: 3.938 kB / 446.7 MB, free: 7.387 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.321e-05/0.1741, allocations: 4 kB / 446.7 MB, free: 7.383 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001342/0.1743, allocations: 28.05 kB / 446.7 MB, free: 7.355 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.005e-05/0.1743, allocations: 4 kB / 446.7 MB, free: 7.352 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.835e-05/0.1744, allocations: 7.906 kB / 446.8 MB, free: 7.344 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.209e-05/0.1744, allocations: 7.984 kB / 446.8 MB, free: 7.336 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001384/0.1746, allocations: 137.7 kB / 446.9 MB, free: 7.191 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.717e-05/0.1746, allocations: 15.81 kB / 446.9 MB, free: 7.176 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.815e-05/0.1747, allocations: 20.98 kB / 446.9 MB, free: 7.156 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.1747, allocations: 4 kB / 446.9 MB, free: 7.152 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.1747, allocations: 4 kB / 446.9 MB, free: 7.148 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.1747, allocations: 0 / 446.9 MB, free: 7.148 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002239/0.1749, allocations: 229.4 kB / 447.2 MB, free: 6.875 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.175, allocations: 0 / 447.2 MB, free: 6.875 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.096e-05/0.175, allocations: 8 kB / 447.2 MB, free: 6.867 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.175, allocations: 0 / 447.2 MB, free: 6.867 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/0.175, allocations: 0 / 447.2 MB, free: 6.867 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.175, allocations: 4 kB / 447.2 MB, free: 6.863 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.175, allocations: 0 / 447.2 MB, free: 6.863 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000333/0.1754, allocations: 177.8 kB / 447.3 MB, free: 6.668 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.536e-05/0.1755, allocations: 92.92 kB / 447.4 MB, free: 6.559 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.762e-05/0.1755, allocations: 8.078 kB / 447.4 MB, free: 6.551 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.391e-05/0.1756, allocations: 11.92 kB / 447.5 MB, free: 6.539 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.722e-05/0.1757, allocations: 8 kB / 447.5 MB, free: 6.531 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.084e-05/0.1757, allocations: 7.984 kB / 447.5 MB, free: 6.523 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001529/0.1758, allocations: 157.5 kB / 447.6 MB, free: 6.371 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1759, allocations: 4 kB / 447.6 MB, free: 6.367 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002641/0.1761, allocations: 35.98 kB / 447.7 MB, free: 6.332 MB / 382.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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001174/0.1773, allocations: 461.8 kB / 448.1 MB, free: 5.91 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002705/0.1776, allocations: 83.97 kB / 448.2 MB, free: 5.828 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1776, allocations: 0 / 448.2 MB, free: 5.828 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001101/0.1777, allocations: 43.91 kB / 448.2 MB, free: 5.785 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003672/0.1781, allocations: 51.77 kB / 448.3 MB, free: 5.734 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005737/0.1787, allocations: 289.7 kB / 448.6 MB, free: 5.422 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003233/0.179, allocations: 0.7166 MB / 449.3 MB, free: 4.68 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.527e-05/0.1791, allocations: 33.5 kB / 449.3 MB, free: 4.648 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.697e-05/0.1792, allocations: 27.42 kB / 449.4 MB, free: 4.621 MB / 382.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1792, allocations: 0 / 449.4 MB, free: 4.621 MB / 382.1 MB Notification: Performance of Templates: time 0.006663/0.1858, allocations: 2.527 MB / 451.9 MB, free: 2.102 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches