Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.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.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61") translateModel(ModelicaTest.Tables.CombiTimeTable.Test61,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007811/0.0007812, allocations: 88.19 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008856/0.0008857, allocations: 173.9 kB / 16.58 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.013/2.013, allocations: 205.4 MB / 222.8 MB, free: 5.641 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.562/0.562, allocations: 43.57 MB / 314.6 MB, free: 8.789 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.0005888/0.000589, allocations: 20 kB / 384 MB, free: 7.98 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1719/0.1725, allocations: 58.86 MB / 442.8 MB, free: 13.02 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.002312/0.1749, allocations: 1.348 MB / 444.2 MB, free: 11.66 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001369/0.1763, allocations: 0.7383 MB / 444.9 MB, free: 10.91 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.76e-05/0.1764, allocations: 0 / 444.9 MB, free: 10.91 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003297/0.1767, allocations: 51.86 kB / 445 MB, free: 10.86 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000205/0.1769, allocations: 51.75 kB / 445 MB, free: 10.81 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002242/0.1772, allocations: 71.86 kB / 445.1 MB, free: 10.74 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001647/0.1773, allocations: 79.7 kB / 445.2 MB, free: 10.66 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.256e-05/0.1774, allocations: 11.97 kB / 445.2 MB, free: 10.65 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.669e-05/0.1775, allocations: 43.78 kB / 445.2 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.784e-05/0.1776, allocations: 27.84 kB / 445.2 MB, free: 10.58 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.712e-05/0.1776, allocations: 4 kB / 445.2 MB, free: 10.57 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.861e-05/0.1777, allocations: 24 kB / 445.3 MB, free: 10.55 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.863e-05/0.1778, allocations: 35.89 kB / 445.3 MB, free: 10.52 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.019e-05/0.1778, allocations: 37.64 kB / 445.3 MB, free: 10.47 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001665/0.178, allocations: 88.05 kB / 445.4 MB, free: 10.39 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.197e-06/0.178, allocations: 0 / 445.4 MB, free: 10.39 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.178, allocations: 0 / 445.4 MB, free: 10.39 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.178, allocations: 0 / 445.4 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006185/0.1787, allocations: 418.6 kB / 445.8 MB, free: 9.93 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.1787, allocations: 12.03 kB / 445.9 MB, free: 9.918 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.755e-05/0.1788, allocations: 15.81 kB / 445.9 MB, free: 9.902 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002522/0.179, allocations: 210.9 kB / 446.1 MB, free: 9.656 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.104e-05/0.1791, allocations: 0 / 446.1 MB, free: 9.656 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.372e-05/0.1791, allocations: 4 kB / 446.1 MB, free: 9.652 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001471/0.1792, allocations: 49.67 kB / 446.1 MB, free: 9.598 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.1792, allocations: 0 / 446.1 MB, free: 9.598 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.759e-06/0.1793, allocations: 0 / 446.1 MB, free: 9.598 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/0.1793, allocations: 3.953 kB / 446.1 MB, free: 9.594 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.44e-05/0.1793, allocations: 15.94 kB / 446.1 MB, free: 9.578 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002192/0.1796, allocations: 185.7 kB / 446.3 MB, free: 9.348 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001578/0.1797, allocations: 58.61 kB / 446.4 MB, free: 9.281 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.776e-05/0.1798, allocations: 16.86 kB / 446.4 MB, free: 9.262 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.472e-05/0.1798, allocations: 4 kB / 446.4 MB, free: 9.258 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002203/0.1801, allocations: 67.3 kB / 446.5 MB, free: 9.18 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 2.885e-06/0.1801, allocations: 7.984 kB / 446.5 MB, free: 9.172 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.000289/0.1804, allocations: 97.52 kB / 446.6 MB, free: 9.07 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.209e-05/0.1804, allocations: 63.28 kB / 446.6 MB, free: 8.996 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002532/0.1807, allocations: 262.5 kB / 446.9 MB, free: 8.727 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.386e-05/0.1807, allocations: 25.7 kB / 446.9 MB, free: 8.695 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.172e-05/0.1808, allocations: 112.1 kB / 447 MB, free: 8.582 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.751e-05/0.1808, allocations: 15.8 kB / 447 MB, free: 8.566 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.368e-06/0.1808, allocations: 0 / 447 MB, free: 8.566 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.181, allocations: 326.8 kB / 447.4 MB, free: 8.238 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.794e-05/0.181, allocations: 15.98 kB / 447.4 MB, free: 8.223 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.444e-05/0.1811, allocations: 33.7 kB / 447.4 MB, free: 8.184 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.15e-05/0.1812, allocations: 15.98 kB / 447.4 MB, free: 8.168 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.1812, allocations: 3.938 kB / 447.4 MB, free: 8.164 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001429/0.1813, allocations: 81.5 kB / 447.5 MB, free: 8.078 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.1813, allocations: 4 kB / 447.5 MB, free: 8.074 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.1814, allocations: 4.031 kB / 447.5 MB, free: 8.07 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.1814, allocations: 0 / 447.5 MB, free: 8.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.36e-05/0.1815, allocations: 19.92 kB / 447.5 MB, free: 8.051 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.42e-05/0.1815, allocations: 3.953 kB / 447.5 MB, free: 8.047 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.922e-05/0.1815, allocations: 11.94 kB / 447.5 MB, free: 8.035 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-06/0.1816, allocations: 0 / 447.5 MB, free: 8.035 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001213/0.1817, allocations: 133.8 kB / 447.7 MB, free: 7.895 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.834e-05/0.1817, allocations: 11.81 kB / 447.7 MB, free: 7.883 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.583e-05/0.1818, allocations: 24.98 kB / 447.7 MB, free: 7.859 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.1818, allocations: 0 / 447.7 MB, free: 7.859 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.1818, allocations: 0 / 447.7 MB, free: 7.859 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.1818, allocations: 8.266 kB / 447.7 MB, free: 7.852 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001655/0.182, allocations: 193.6 kB / 447.9 MB, free: 7.613 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.182, allocations: 4 kB / 447.9 MB, free: 7.609 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.917e-05/0.182, allocations: 4 kB / 447.9 MB, free: 7.605 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.182, allocations: 0 / 447.9 MB, free: 7.605 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.182, allocations: 0 / 447.9 MB, free: 7.605 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.182, allocations: 0 / 447.9 MB, free: 7.605 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.182, allocations: 0 / 447.9 MB, free: 7.605 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001835/0.1822, allocations: 124.8 kB / 448 MB, free: 7.465 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.591e-05/0.1823, allocations: 89 kB / 448.1 MB, free: 7.359 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.161e-05/0.1823, allocations: 0 / 448.1 MB, free: 7.359 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.71e-05/0.1824, allocations: 4 kB / 448.1 MB, free: 7.355 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.308e-05/0.1824, allocations: 7.938 kB / 448.1 MB, free: 7.348 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-05/0.1824, allocations: 7.984 kB / 448.1 MB, free: 7.34 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001809/0.1826, allocations: 196 kB / 448.3 MB, free: 7.148 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1826, allocations: 4 kB / 448.3 MB, free: 7.145 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002119/0.1828, allocations: 20 kB / 448.4 MB, free: 7.125 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009869/0.1838, allocations: 397.9 kB / 448.8 MB, free: 6.766 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001642/0.184, allocations: 47.91 kB / 448.8 MB, free: 6.719 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.184, allocations: 0 / 448.8 MB, free: 6.719 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.583e-05/0.1841, allocations: 16 kB / 448.8 MB, free: 6.703 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002739/0.1844, allocations: 31.98 kB / 448.8 MB, free: 6.672 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005174/0.1849, allocations: 273.7 kB / 449.1 MB, free: 6.379 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003097/0.1852, allocations: 0.7121 MB / 449.8 MB, free: 5.641 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.938e-05/0.1853, allocations: 12.55 kB / 449.8 MB, free: 5.629 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.165e-05/0.1853, allocations: 15.44 kB / 449.9 MB, free: 5.613 MB / 382.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1853, allocations: 3.938 kB / 449.9 MB, free: 5.609 MB / 382.1 MB Notification: Performance of Templates: time 0.004549/0.1899, allocations: 1.411 MB / 451.3 MB, free: 4.199 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test61/Test61.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test61.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches