Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.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.Test19,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.Test19") translateModel(ModelicaTest.Tables.CombiTimeTable.Test19,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.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001017/0.001018, allocations: 96.7 kB / 15.7 MB, free: 468 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.00153/0.001531, allocations: 173.9 kB / 16.58 MB, free: 6.844 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.999/1.999, allocations: 205.4 MB / 222.8 MB, free: 5.66 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.4493/0.4493, allocations: 43.58 MB / 314.6 MB, free: 8.785 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.0005729/0.0005733, allocations: 16 kB / 384 MB, free: 7.996 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1667/0.1672, allocations: 58.86 MB / 442.8 MB, free: 13.03 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.002832/0.1701, allocations: 1.383 MB / 444.2 MB, free: 11.63 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001563/0.1717, allocations: 0.75 MB / 445 MB, free: 10.88 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.795e-05/0.1718, allocations: 0 / 445 MB, free: 10.88 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004055/0.1723, allocations: 43.83 kB / 445 MB, free: 10.83 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002286/0.1725, allocations: 43.83 kB / 445 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002806/0.1728, allocations: 71.8 kB / 445.1 MB, free: 10.72 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000208/0.173, allocations: 79.75 kB / 445.2 MB, free: 10.64 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001412/0.1732, allocations: 24.19 kB / 445.2 MB, free: 10.62 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001131/0.1733, allocations: 35.8 kB / 445.2 MB, free: 10.58 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.646e-05/0.1734, allocations: 23.86 kB / 445.3 MB, free: 10.56 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.189e-05/0.1734, allocations: 4 kB / 445.3 MB, free: 10.55 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001157/0.1735, allocations: 43.91 kB / 445.3 MB, free: 10.51 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.258e-05/0.1736, allocations: 11.92 kB / 445.3 MB, free: 10.5 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.104e-05/0.1737, allocations: 33.7 kB / 445.4 MB, free: 10.46 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001999/0.1739, allocations: 92.09 kB / 445.5 MB, free: 10.37 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.115e-06/0.1739, allocations: 0 / 445.5 MB, free: 10.37 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.505e-06/0.1739, allocations: 0 / 445.5 MB, free: 10.37 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.241e-06/0.1739, allocations: 0 / 445.5 MB, free: 10.37 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.00072/0.1746, allocations: 410.7 kB / 445.9 MB, free: 9.922 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.504e-05/0.1747, allocations: 12.03 kB / 445.9 MB, free: 9.91 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.297e-05/0.1748, allocations: 7.906 kB / 445.9 MB, free: 9.902 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003073/0.1751, allocations: 198.8 kB / 446.1 MB, free: 9.668 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.645e-05/0.1751, allocations: 12 kB / 446.1 MB, free: 9.656 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.39e-05/0.1752, allocations: 0 / 446.1 MB, free: 9.656 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001858/0.1754, allocations: 53.67 kB / 446.1 MB, free: 9.598 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.1754, allocations: 0 / 446.1 MB, free: 9.598 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.1754, allocations: 4 kB / 446.1 MB, free: 9.594 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.728e-06/0.1754, allocations: 3.953 kB / 446.1 MB, free: 9.59 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.203e-05/0.1755, allocations: 23.92 kB / 446.2 MB, free: 9.566 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004924/0.176, allocations: 284.9 kB / 446.4 MB, free: 9.238 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002022/0.1762, allocations: 54.69 kB / 446.5 MB, free: 9.176 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.696e-05/0.1763, allocations: 28.78 kB / 446.5 MB, free: 9.145 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.755e-05/0.1763, allocations: 3.938 kB / 446.5 MB, free: 9.141 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002224/0.1766, allocations: 71.25 kB / 446.6 MB, free: 9.059 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.1766, allocations: 4 kB / 446.6 MB, free: 9.055 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005893/0.1772, allocations: 165.3 kB / 446.8 MB, free: 8.887 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.681e-05/0.1772, allocations: 51.41 kB / 446.8 MB, free: 8.824 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001988/0.1774, allocations: 190.1 kB / 447 MB, free: 8.629 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.916e-05/0.1774, allocations: 25.7 kB / 447 MB, free: 8.598 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.345e-05/0.1775, allocations: 104.1 kB / 447.1 MB, free: 8.492 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.276e-05/0.1776, allocations: 19.72 kB / 447.1 MB, free: 8.473 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.053e-06/0.1776, allocations: 4 kB / 447.1 MB, free: 8.469 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001601/0.1778, allocations: 326.8 kB / 447.5 MB, free: 8.141 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.79e-05/0.1778, allocations: 23.98 kB / 447.5 MB, free: 8.117 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.423e-05/0.1779, allocations: 33.7 kB / 447.5 MB, free: 8.078 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.279e-05/0.178, allocations: 24.06 kB / 447.5 MB, free: 8.055 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.178, allocations: 7.875 kB / 447.6 MB, free: 8.047 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001778/0.1782, allocations: 101.5 kB / 447.7 MB, free: 7.941 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.1782, allocations: 8 kB / 447.7 MB, free: 7.934 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.1782, allocations: 4.031 kB / 447.7 MB, free: 7.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.1782, allocations: 0 / 447.7 MB, free: 7.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.695e-05/0.1783, allocations: 23.94 kB / 447.7 MB, free: 7.906 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.1783, allocations: 0 / 447.7 MB, free: 7.906 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.43e-05/0.1784, allocations: 3.984 kB / 447.7 MB, free: 7.902 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.387e-06/0.1784, allocations: 4 kB / 447.7 MB, free: 7.898 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 (10): * Single equations (assignments): 10 * 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.0001149/0.1785, allocations: 125.8 kB / 447.8 MB, free: 7.766 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.94e-05/0.1785, allocations: 15.86 kB / 447.8 MB, free: 7.75 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.872e-05/0.1786, allocations: 20.7 kB / 447.9 MB, free: 7.734 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.1786, allocations: 0 / 447.9 MB, free: 7.734 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.1786, allocations: 0 / 447.9 MB, free: 7.734 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.1786, allocations: 0 / 447.9 MB, free: 7.734 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005241/0.1792, allocations: 395.2 kB / 448.2 MB, free: 7.289 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.1792, allocations: 0 / 448.2 MB, free: 7.289 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.423e-05/0.1792, allocations: 15.98 kB / 448.3 MB, free: 7.273 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.1792, allocations: 0 / 448.3 MB, free: 7.273 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.1792, allocations: 4 kB / 448.3 MB, free: 7.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.1792, allocations: 4.406 kB / 448.3 MB, free: 7.266 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.1792, allocations: 192 / 448.3 MB, free: 7.266 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000231/0.1795, allocations: 200.2 kB / 448.5 MB, free: 7.051 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.127e-05/0.1796, allocations: 104.8 kB / 448.6 MB, free: 6.93 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.391e-05/0.1796, allocations: 4 kB / 448.6 MB, free: 6.926 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.585e-05/0.1797, allocations: 4 kB / 448.6 MB, free: 6.922 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.063e-05/0.1797, allocations: 15.98 kB / 448.6 MB, free: 6.906 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.432e-05/0.1797, allocations: 4 kB / 448.6 MB, free: 6.902 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001156/0.1798, allocations: 140.1 kB / 448.7 MB, free: 6.766 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1799, allocations: 0 / 448.7 MB, free: 6.766 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002536/0.1801, allocations: 27.98 kB / 448.8 MB, free: 6.738 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 (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.001091/0.1812, allocations: 464.8 kB / 449.2 MB, free: 6.309 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001728/0.1814, allocations: 55.97 kB / 449.3 MB, free: 6.254 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1814, allocations: 0 / 449.3 MB, free: 6.254 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.942e-05/0.1815, allocations: 28.09 kB / 449.3 MB, free: 6.227 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003208/0.1818, allocations: 28.11 kB / 449.3 MB, free: 6.199 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004844/0.1823, allocations: 238.5 kB / 449.6 MB, free: 5.938 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003435/0.1827, allocations: 0.7043 MB / 450.3 MB, free: 5.207 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.102e-05/0.1827, allocations: 12.88 kB / 450.3 MB, free: 5.191 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.82e-05/0.1828, allocations: 19.44 kB / 450.3 MB, free: 5.172 MB / 382.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1828, allocations: 3.938 kB / 450.3 MB, free: 5.168 MB / 382.1 MB Notification: Performance of Templates: time 0.00445/0.1872, allocations: 1.588 MB / 451.9 MB, free: 3.582 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test19/Test19.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches