Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.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.Test17,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.Test17") translateModel(ModelicaTest.Tables.CombiTimeTable.Test17,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.Test17") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001182/0.001182, allocations: 101.9 kB / 16.4 MB, free: 6.449 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.001191/0.001191, allocations: 192.2 kB / 17.34 MB, free: 5.703 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.621/1.621, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.2745/0.2745, allocations: 43.51 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.00145/0.00145, allocations: 73.61 kB / 441.9 MB, free: 5.574 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1646/0.166, allocations: 57.78 MB / 499.7 MB, free: 11.72 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.003386/0.1695, allocations: 1.696 MB / 0.4896 GB, free: 10.01 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001565/0.1711, allocations: 0.7923 MB / 0.4904 GB, free: 9.211 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001103/0.1712, allocations: 11.88 kB / 0.4904 GB, free: 9.199 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004009/0.1717, allocations: 35.83 kB / 0.4904 GB, free: 9.164 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000259/0.1719, allocations: 55.7 kB / 0.4905 GB, free: 9.109 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000304/0.1722, allocations: 91.75 kB / 0.4906 GB, free: 9.02 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001964/0.1725, allocations: 95.69 kB / 0.4907 GB, free: 8.926 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001248/0.1726, allocations: 16.22 kB / 0.4907 GB, free: 8.91 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.386e-05/0.1727, allocations: 35.8 kB / 0.4907 GB, free: 8.875 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.018e-05/0.1728, allocations: 35.83 kB / 0.4908 GB, free: 8.84 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.144e-05/0.1728, allocations: 4 kB / 0.4908 GB, free: 8.836 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001286/0.173, allocations: 32 kB / 0.4908 GB, free: 8.805 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.872e-05/0.173, allocations: 31.84 kB / 0.4908 GB, free: 8.773 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.822e-05/0.1731, allocations: 35.73 kB / 0.4908 GB, free: 8.738 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002519/0.1734, allocations: 111.6 kB / 0.491 GB, free: 8.629 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.1734, allocations: 0 / 0.491 GB, free: 8.629 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.404e-06/0.1734, allocations: 4 kB / 0.491 GB, free: 8.625 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.365e-05/0.1734, allocations: 0 / 0.491 GB, free: 8.625 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.0006721/0.1741, allocations: 406.8 kB / 0.4913 GB, free: 8.18 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.937e-05/0.1741, allocations: 11.89 kB / 0.4914 GB, free: 8.168 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.589e-05/0.1742, allocations: 8.891 kB / 0.4914 GB, free: 8.16 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003069/0.1745, allocations: 216 kB / 0.4916 GB, free: 7.91 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.568e-05/0.1745, allocations: 384 / 0.4916 GB, free: 7.91 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.718e-05/0.1746, allocations: 8.125 kB / 0.4916 GB, free: 7.902 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002188/0.1748, allocations: 57.67 kB / 0.4916 GB, free: 7.84 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.614e-05/0.1749, allocations: 3.953 kB / 0.4916 GB, free: 7.836 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.845e-05/0.1749, allocations: 3.984 kB / 0.4916 GB, free: 7.832 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.253e-06/0.1749, allocations: 0 / 0.4916 GB, free: 7.832 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.56e-05/0.175, allocations: 19.98 kB / 0.4917 GB, free: 7.812 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004523/0.1754, allocations: 284.9 kB / 0.4919 GB, free: 7.484 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001824/0.1756, allocations: 66.61 kB / 0.492 GB, free: 7.41 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.281e-05/0.1757, allocations: 16.86 kB / 0.492 GB, free: 7.391 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.685e-05/0.1757, allocations: 3.984 kB / 0.492 GB, free: 7.387 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001708/0.1759, allocations: 71.39 kB / 0.4921 GB, free: 7.305 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.1759, allocations: 0 / 0.4921 GB, free: 7.305 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006296/0.1766, allocations: 169.3 kB / 0.4922 GB, free: 7.133 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.288e-05/0.1766, allocations: 59.39 kB / 0.4923 GB, free: 7.062 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001975/0.1768, allocations: 170.2 kB / 0.4925 GB, free: 6.887 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.454e-05/0.1769, allocations: 29.7 kB / 0.4925 GB, free: 6.852 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.772e-05/0.177, allocations: 104.1 kB / 0.4926 GB, free: 6.746 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.229e-05/0.177, allocations: 27.73 kB / 0.4926 GB, free: 6.719 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.853e-05/0.1771, allocations: 21.72 kB / 0.4926 GB, free: 6.691 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001996/0.1773, allocations: 326.8 kB / 0.493 GB, free: 6.363 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.27e-05/0.1773, allocations: 19.98 kB / 0.493 GB, free: 6.344 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.061e-05/0.1774, allocations: 45.64 kB / 0.493 GB, free: 6.293 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001147/0.1775, allocations: 53.7 kB / 0.4931 GB, free: 6.234 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.1775, allocations: 0 / 0.4931 GB, free: 6.234 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002176/0.1778, allocations: 109.5 kB / 0.4932 GB, free: 6.121 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.1778, allocations: 4 kB / 0.4932 GB, free: 6.117 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.1778, allocations: 0 / 0.4932 GB, free: 6.117 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.982e-05/0.1778, allocations: 4.031 kB / 0.4932 GB, free: 6.113 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001065/0.1779, allocations: 19.98 kB / 0.4932 GB, free: 6.094 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.178, allocations: 3.938 kB / 0.4932 GB, free: 6.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.49e-05/0.178, allocations: 3.938 kB / 0.4932 GB, free: 6.086 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.248e-05/0.178, allocations: 4 kB / 0.4932 GB, free: 6.082 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 0.0001466/0.1782, allocations: 129.8 kB / 0.4933 GB, free: 5.945 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.231e-05/0.1782, allocations: 7.953 kB / 0.4933 GB, free: 5.938 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.98e-05/0.1783, allocations: 12.72 kB / 0.4934 GB, free: 5.922 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.429e-06/0.1783, allocations: 4 kB / 0.4934 GB, free: 5.918 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.145e-05/0.1783, allocations: 7.984 kB / 0.4934 GB, free: 5.91 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.105e-06/0.1783, allocations: 3.938 kB / 0.4934 GB, free: 5.906 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004807/0.1788, allocations: 391.3 kB / 0.4937 GB, free: 5.465 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.1788, allocations: 0 / 0.4937 GB, free: 5.465 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.075e-05/0.1789, allocations: 8 kB / 0.4937 GB, free: 5.457 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.1789, allocations: 0 / 0.4937 GB, free: 5.457 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.269e-05/0.1789, allocations: 7.938 kB / 0.4938 GB, free: 5.449 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.1789, allocations: 0 / 0.4938 GB, free: 5.449 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.1789, allocations: 4.406 kB / 0.4938 GB, free: 5.445 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002741/0.1792, allocations: 200.5 kB / 0.494 GB, free: 5.23 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.921e-05/0.1792, allocations: 89.05 kB / 0.494 GB, free: 5.125 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.336e-05/0.1793, allocations: 3.938 kB / 0.494 GB, free: 5.121 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.086e-05/0.1793, allocations: 8 kB / 0.494 GB, free: 5.113 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.665e-05/0.1794, allocations: 15.92 kB / 0.4941 GB, free: 5.098 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.698e-05/0.1794, allocations: 8 kB / 0.4941 GB, free: 5.09 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001222/0.1795, allocations: 128.1 kB / 0.4942 GB, free: 4.965 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1796, allocations: 0 / 0.4942 GB, free: 4.965 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002594/0.1798, allocations: 23.98 kB / 0.4942 GB, free: 4.941 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.001259/0.1811, allocations: 467.7 kB / 0.4947 GB, free: 4.523 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002211/0.1813, allocations: 55.92 kB / 0.4947 GB, free: 4.469 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1813, allocations: 0 / 0.4947 GB, free: 4.469 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.779e-05/0.1814, allocations: 31.92 kB / 0.4947 GB, free: 4.438 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003709/0.1818, allocations: 32.58 kB / 0.4948 GB, free: 4.406 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005282/0.1823, allocations: 210.7 kB / 0.495 GB, free: 4.172 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003569/0.1827, allocations: 0.7002 MB / 0.4957 GB, free: 3.445 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.32e-05/0.1828, allocations: 17.17 kB / 0.4957 GB, free: 3.426 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.963e-05/0.1828, allocations: 19.42 kB / 0.4957 GB, free: 3.406 MB / 382.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1828, allocations: 3.938 kB / 0.4957 GB, free: 3.402 MB / 382.1 MB Notification: Performance of Templates: time 0.004809/0.1876, allocations: 1.695 MB / 0.4974 GB, free: 1.715 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test17/Test17.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test17.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches