Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.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.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59") translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001447/0.001447, allocations: 104.3 kB / 15.98 MB, free: 6.352 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.001177/0.001177, allocations: 190.1 kB / 16.91 MB, free: 6.191 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.966/1.966, allocations: 205.1 MB / 222.8 MB, free: 4.699 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.3889/0.3889, allocations: 43.49 MB / 313.6 MB, free: 8.309 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.001526/0.001527, allocations: 67.91 kB / 382.2 MB, free: 8.391 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1629/0.1644, allocations: 57.78 MB / 440 MB, free: 14.5 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.004838/0.1693, allocations: 1.756 MB / 441.8 MB, free: 12.73 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002366/0.1717, allocations: 1.367 MB / 443.1 MB, free: 11.35 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001015/0.1718, allocations: 8 kB / 443.1 MB, free: 11.34 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004472/0.1723, allocations: 31.84 kB / 443.2 MB, free: 11.31 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002723/0.1726, allocations: 51.81 kB / 443.2 MB, free: 11.26 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002735/0.1729, allocations: 75.8 kB / 443.3 MB, free: 11.18 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002146/0.1731, allocations: 95.73 kB / 443.4 MB, free: 11.09 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001262/0.1733, allocations: 16.22 kB / 443.4 MB, free: 11.07 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.82e-05/0.1734, allocations: 39.8 kB / 443.4 MB, free: 11.04 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001656/0.1736, allocations: 51.77 kB / 443.5 MB, free: 10.98 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.862e-05/0.1736, allocations: 4 kB / 443.5 MB, free: 10.98 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001275/0.1737, allocations: 63.95 kB / 443.6 MB, free: 10.92 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.837e-05/0.1738, allocations: 11.94 kB / 443.6 MB, free: 10.91 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.111e-05/0.1738, allocations: 31.8 kB / 443.6 MB, free: 10.88 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002499/0.1741, allocations: 123.9 kB / 443.7 MB, free: 10.75 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.355e-06/0.1741, allocations: 4 kB / 443.7 MB, free: 10.75 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.1741, allocations: 0 / 443.7 MB, free: 10.75 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.674e-06/0.1741, allocations: 0 / 443.7 MB, free: 10.75 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005762/0.1747, allocations: 407 kB / 444.1 MB, free: 10.3 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.1748, allocations: 11.89 kB / 444.1 MB, free: 10.29 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.197e-05/0.1748, allocations: 8.844 kB / 444.1 MB, free: 10.29 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002418/0.1751, allocations: 215.6 kB / 444.4 MB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.1751, allocations: 384 / 444.4 MB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.958e-05/0.1751, allocations: 8.125 kB / 444.4 MB, free: 10.03 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001701/0.1753, allocations: 67.33 kB / 444.4 MB, free: 9.953 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.1753, allocations: 0 / 444.4 MB, free: 9.953 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.984e-05/0.1754, allocations: 15.98 kB / 444.4 MB, free: 9.938 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.1754, allocations: 3.938 kB / 444.5 MB, free: 9.934 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.331e-05/0.1754, allocations: 15.98 kB / 444.5 MB, free: 9.918 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000396/0.1758, allocations: 284.8 kB / 444.7 MB, free: 9.59 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001966/0.1761, allocations: 58.67 kB / 444.8 MB, free: 9.523 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.2e-05/0.1761, allocations: 28.78 kB / 444.8 MB, free: 9.492 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.612e-05/0.1762, allocations: 0 / 444.8 MB, free: 9.492 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002593/0.1764, allocations: 67.39 kB / 444.9 MB, free: 9.414 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.1764, allocations: 0 / 444.9 MB, free: 9.414 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.000696/0.1771, allocations: 177.2 kB / 445.1 MB, free: 9.234 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.085e-05/0.1772, allocations: 77.11 kB / 445.1 MB, free: 9.141 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001781/0.1774, allocations: 149.8 kB / 445.3 MB, free: 8.984 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.798e-05/0.1774, allocations: 25.7 kB / 445.3 MB, free: 8.953 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.1775, allocations: 100.1 kB / 445.4 MB, free: 8.852 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.426e-05/0.1776, allocations: 31.64 kB / 445.4 MB, free: 8.82 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.071e-05/0.1776, allocations: 25.7 kB / 445.5 MB, free: 8.789 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001318/0.1778, allocations: 326.8 kB / 445.8 MB, free: 8.461 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.667e-05/0.1778, allocations: 16 kB / 445.8 MB, free: 8.445 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.231e-05/0.1779, allocations: 46.56 kB / 445.9 MB, free: 8.391 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000118/0.178, allocations: 57.64 kB / 445.9 MB, free: 8.328 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.178, allocations: 0 / 445.9 MB, free: 8.328 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001775/0.1782, allocations: 105.5 kB / 446 MB, free: 8.219 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.1782, allocations: 4 kB / 446 MB, free: 8.215 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.1783, allocations: 0 / 446 MB, free: 8.215 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.1783, allocations: 0 / 446 MB, free: 8.215 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.11e-05/0.1784, allocations: 16 kB / 446 MB, free: 8.199 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.942e-06/0.1784, allocations: 4.062 kB / 446 MB, free: 8.195 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.205e-05/0.1784, allocations: 11.92 kB / 446 MB, free: 8.184 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.368e-06/0.1785, allocations: 4 kB / 446 MB, free: 8.18 MB / 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: 5 ($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 (10): * Single equations (assignments): 10 * 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 9.535e-05/0.1786, allocations: 117.8 kB / 446.2 MB, free: 8.055 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.356e-05/0.1786, allocations: 11.81 kB / 446.2 MB, free: 8.043 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.569e-05/0.1786, allocations: 16.7 kB / 446.2 MB, free: 8.031 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.1786, allocations: 3.938 kB / 446.2 MB, free: 8.027 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.1787, allocations: 0 / 446.2 MB, free: 8.027 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.1787, allocations: 7.875 kB / 446.2 MB, free: 8.02 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00042/0.1791, allocations: 387.4 kB / 446.6 MB, free: 7.582 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.1791, allocations: 3.938 kB / 446.6 MB, free: 7.578 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.783e-05/0.1791, allocations: 8 kB / 446.6 MB, free: 7.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.1791, allocations: 7.984 kB / 446.6 MB, free: 7.562 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/0.1792, allocations: 4.312 kB / 446.6 MB, free: 7.559 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.1792, allocations: 0 / 446.6 MB, free: 7.559 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.1792, allocations: 4 kB / 446.6 MB, free: 7.555 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002292/0.1794, allocations: 212.5 kB / 446.8 MB, free: 7.328 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.092e-05/0.1795, allocations: 85.02 kB / 446.9 MB, free: 7.227 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.518e-05/0.1795, allocations: 3.938 kB / 446.9 MB, free: 7.223 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.772e-05/0.1796, allocations: 8.172 kB / 446.9 MB, free: 7.215 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.321e-05/0.1796, allocations: 11.94 kB / 446.9 MB, free: 7.203 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.496e-05/0.1797, allocations: 7.938 kB / 446.9 MB, free: 7.195 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.015e-05/0.1797, allocations: 122.5 kB / 447.1 MB, free: 7.078 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1798, allocations: 0 / 447.1 MB, free: 7.078 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002596/0.18, allocations: 31.98 kB / 447.1 MB, free: 7.047 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001172/0.1812, allocations: 0.4942 MB / 447.6 MB, free: 6.582 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001905/0.1814, allocations: 59.91 kB / 447.6 MB, free: 6.523 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1814, allocations: 3.938 kB / 447.6 MB, free: 6.52 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.297e-05/0.1815, allocations: 31.98 kB / 447.7 MB, free: 6.488 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003286/0.1818, allocations: 31.78 kB / 447.7 MB, free: 6.457 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004228/0.1823, allocations: 207 kB / 447.9 MB, free: 6.223 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002794/0.1826, allocations: 0.704 MB / 448.6 MB, free: 5.492 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.905e-05/0.1826, allocations: 17.17 kB / 448.6 MB, free: 5.477 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.445e-05/0.1827, allocations: 23.42 kB / 448.6 MB, free: 5.453 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1827, allocations: 0 / 448.6 MB, free: 5.453 MB / 382.1 MB Notification: Performance of Templates: time 0.005011/0.1877, allocations: 1.936 MB / 450.6 MB, free: 3.52 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches