Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.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.Test57,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.Test57") translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,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.Test57") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001227/0.001228, allocations: 107.4 kB / 17.03 MB, free: 5.66 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.001208/0.001208, allocations: 192.1 kB / 17.96 MB, free: 5.066 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.948/1.948, allocations: 205.1 MB / 223.8 MB, free: 12.23 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.277/0.277, allocations: 43.52 MB / 314.7 MB, free: 464 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.001574/0.001574, allocations: 71.44 kB / 384.2 MB, free: 56.41 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1719/0.1735, allocations: 57.8 MB / 442 MB, free: 6.117 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.003881/0.1774, allocations: 1.677 MB / 443.7 MB, free: 4.426 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002034/0.1795, allocations: 1.406 MB / 445.1 MB, free: 3.008 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.78e-05/0.1796, allocations: 4 kB / 445.1 MB, free: 3.004 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003372/0.18, allocations: 43.77 kB / 445.1 MB, free: 2.961 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002046/0.1802, allocations: 59.7 kB / 445.2 MB, free: 2.902 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002217/0.1804, allocations: 83.75 kB / 445.3 MB, free: 2.82 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001551/0.1806, allocations: 99.69 kB / 445.3 MB, free: 2.723 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001184/0.1807, allocations: 4.234 kB / 445.4 MB, free: 2.719 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.803e-05/0.1808, allocations: 43.78 kB / 445.4 MB, free: 2.676 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001461/0.1809, allocations: 43.83 kB / 445.4 MB, free: 2.633 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.818e-05/0.181, allocations: 4 kB / 445.4 MB, free: 2.629 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001176/0.1811, allocations: 63.97 kB / 445.5 MB, free: 2.566 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.623e-05/0.1811, allocations: 15.88 kB / 445.5 MB, free: 2.551 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.321e-05/0.1812, allocations: 39.77 kB / 445.6 MB, free: 2.512 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002005/0.1814, allocations: 119.7 kB / 445.7 MB, free: 2.395 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.1814, allocations: 3.938 kB / 445.7 MB, free: 2.391 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.494e-06/0.1814, allocations: 0 / 445.7 MB, free: 2.391 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.282e-06/0.1814, allocations: 0 / 445.7 MB, free: 2.391 MB / 318.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.0004904/0.1819, allocations: 407 kB / 446.1 MB, free: 1.945 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.182, allocations: 15.89 kB / 446.1 MB, free: 1.93 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.585e-05/0.182, allocations: 8.844 kB / 446.1 MB, free: 1.922 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002716/0.1823, allocations: 197.4 kB / 446.3 MB, free: 1.691 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.646e-05/0.1823, allocations: 8.375 kB / 446.3 MB, free: 1.684 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.143e-05/0.1824, allocations: 4.125 kB / 446.3 MB, free: 1.68 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001536/0.1825, allocations: 67.39 kB / 446.4 MB, free: 1.602 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.1825, allocations: 3.906 kB / 446.4 MB, free: 1.598 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.1826, allocations: 7.984 kB / 446.4 MB, free: 1.59 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.1826, allocations: 0 / 446.4 MB, free: 1.59 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.891e-05/0.1826, allocations: 16 kB / 446.4 MB, free: 1.574 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000343/0.183, allocations: 292.8 kB / 446.7 MB, free: 1.238 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001589/0.1832, allocations: 58.67 kB / 446.7 MB, free: 1.172 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.963e-05/0.1832, allocations: 24.84 kB / 446.8 MB, free: 1.145 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.467e-05/0.1833, allocations: 7.875 kB / 446.8 MB, free: 1.137 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001436/0.1834, allocations: 71.33 kB / 446.8 MB, free: 1.055 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.283e-06/0.1834, allocations: 0 / 446.8 MB, free: 1.055 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004988/0.1839, allocations: 161.4 kB / 447 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.421e-05/0.184, allocations: 81.05 kB / 447.1 MB, free: 0.793 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001113/0.1841, allocations: 156.9 kB / 447.2 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.172e-05/0.1841, allocations: 29.7 kB / 447.3 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.73e-05/0.1842, allocations: 96.12 kB / 447.4 MB, free: 0.5 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.418e-05/0.1842, allocations: 27.64 kB / 447.4 MB, free: 484 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.405e-05/0.1842, allocations: 25.72 kB / 447.4 MB, free: 452 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.607e-05/0.1843, allocations: 326.8 kB / 447.7 MB, free: 116 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.009e-05/0.1843, allocations: 16 kB / 447.7 MB, free: 100 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.457e-05/0.1844, allocations: 46.56 kB / 447.8 MB, free: 44 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001285/0.1845, allocations: 65.75 kB / 447.9 MB, free: 15.97 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.1846, allocations: 0 / 447.9 MB, free: 15.97 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001916/0.1847, allocations: 97.52 kB / 447.9 MB, free: 15.87 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.1848, allocations: 8 kB / 448 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.91e-06/0.1848, allocations: 0 / 448 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.1848, allocations: 0 / 448 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.344e-05/0.1849, allocations: 20.31 kB / 448 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.1849, allocations: 8.062 kB / 448 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.115e-05/0.185, allocations: 11.83 kB / 448 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/0.185, allocations: 8 kB / 448 MB, free: 15.82 MB / 334.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.0001215/0.1851, allocations: 125.2 kB / 448.1 MB, free: 15.69 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.075e-05/0.1851, allocations: 7.906 kB / 448.1 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.029e-05/0.1852, allocations: 16.7 kB / 448.2 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.1852, allocations: 0 / 448.2 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.1852, allocations: 0 / 448.2 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.184e-06/0.1852, allocations: 3.938 kB / 448.2 MB, free: 15.65 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004596/0.1857, allocations: 391.3 kB / 448.5 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1857, allocations: 0 / 448.5 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.354e-05/0.1858, allocations: 11.98 kB / 448.5 MB, free: 15.2 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.1858, allocations: 0 / 448.5 MB, free: 15.2 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.459e-05/0.1858, allocations: 11.94 kB / 448.6 MB, free: 15.19 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.681e-06/0.1858, allocations: 3.938 kB / 448.6 MB, free: 15.18 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1858, allocations: 3.938 kB / 448.6 MB, free: 15.18 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002509/0.1861, allocations: 196.5 kB / 448.8 MB, free: 14.97 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.604e-05/0.1861, allocations: 85.02 kB / 448.8 MB, free: 14.87 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.874e-05/0.1862, allocations: 15.86 kB / 448.9 MB, free: 14.85 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.076e-05/0.1862, allocations: 7.984 kB / 448.9 MB, free: 14.84 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.377e-05/0.1863, allocations: 4 kB / 448.9 MB, free: 14.84 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.406e-05/0.1863, allocations: 0 / 448.9 MB, free: 14.84 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001053/0.1864, allocations: 119.2 kB / 449 MB, free: 14.72 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1864, allocations: 4 kB / 449 MB, free: 14.72 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002689/0.1867, allocations: 35.98 kB / 449 MB, free: 14.68 MB / 334.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.001205/0.1879, allocations: 0.4955 MB / 449.5 MB, free: 14.27 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002016/0.1881, allocations: 63.95 kB / 449.6 MB, free: 14.21 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.1881, allocations: 0 / 449.6 MB, free: 14.21 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.453e-05/0.1882, allocations: 27.92 kB / 449.6 MB, free: 14.18 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003255/0.1885, allocations: 31.27 kB / 449.6 MB, free: 14.16 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004547/0.189, allocations: 203 kB / 449.8 MB, free: 13.93 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004328/0.1894, allocations: 0.6924 MB / 450.5 MB, free: 13.21 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.812e-05/0.1895, allocations: 12.88 kB / 450.5 MB, free: 13.2 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.252e-05/0.1896, allocations: 27.36 kB / 450.6 MB, free: 13.17 MB / 334.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1896, allocations: 4 kB / 450.6 MB, free: 13.16 MB / 334.1 MB Notification: Performance of Templates: time 0.004984/0.1946, allocations: 1.939 MB / 452.5 MB, free: 11.23 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches