Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.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.Test47,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.Test47") translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,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.Test47") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001632/0.001632, allocations: 96.14 kB / 15.87 MB, free: 16 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.002518/0.002517, allocations: 206.3 kB / 16.79 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 1.705/1.705, allocations: 205.1 MB / 222.6 MB, free: 4.789 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.4048/0.4048, allocations: 43.5 MB / 313.5 MB, free: 8.578 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.001598/0.001599, allocations: 71.89 kB / 382 MB, free: 8.727 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1714/0.173, allocations: 57.78 MB / 439.8 MB, free: 14.84 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.003865/0.1769, allocations: 1.756 MB / 441.6 MB, free: 13.07 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001519/0.1785, allocations: 0.7963 MB / 442.4 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.254e-05/0.1786, allocations: 4 kB / 442.4 MB, free: 12.26 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003685/0.179, allocations: 43.86 kB / 442.4 MB, free: 12.22 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000187/0.1792, allocations: 59.81 kB / 442.5 MB, free: 12.16 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000247/0.1794, allocations: 79.84 kB / 442.6 MB, free: 12.08 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001684/0.1796, allocations: 95.69 kB / 442.7 MB, free: 11.99 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.1797, allocations: 8.219 kB / 442.7 MB, free: 11.98 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.403e-05/0.1798, allocations: 47.73 kB / 442.7 MB, free: 11.93 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.141e-05/0.1799, allocations: 35.83 kB / 442.7 MB, free: 11.9 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.19e-05/0.1799, allocations: 4 kB / 442.7 MB, free: 11.89 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001169/0.18, allocations: 39.98 kB / 442.8 MB, free: 11.86 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.513e-05/0.1801, allocations: 27.84 kB / 442.8 MB, free: 11.83 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.213e-05/0.1802, allocations: 47.59 kB / 442.9 MB, free: 11.78 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002055/0.1804, allocations: 123.9 kB / 443 MB, free: 11.66 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.1804, allocations: 7.875 kB / 443 MB, free: 11.65 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1804, allocations: 0 / 443 MB, free: 11.65 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.601e-06/0.1804, allocations: 0 / 443 MB, free: 11.65 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.0008169/0.1813, allocations: 438.7 kB / 443.4 MB, free: 11.18 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/0.1813, allocations: 16.03 kB / 443.4 MB, free: 11.16 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.203e-05/0.1814, allocations: 8.844 kB / 443.4 MB, free: 11.15 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002543/0.1816, allocations: 223.7 kB / 443.7 MB, free: 10.89 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/0.1817, allocations: 384 / 443.7 MB, free: 10.89 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.63e-05/0.1817, allocations: 12.12 kB / 443.7 MB, free: 10.88 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001689/0.1819, allocations: 57.61 kB / 443.7 MB, free: 10.82 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.1819, allocations: 0 / 443.7 MB, free: 10.82 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.1819, allocations: 0 / 443.7 MB, free: 10.82 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.1819, allocations: 0 / 443.7 MB, free: 10.82 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.965e-05/0.182, allocations: 23.98 kB / 443.7 MB, free: 10.8 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003968/0.1824, allocations: 292.8 kB / 444 MB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000184/0.1826, allocations: 62.61 kB / 444.1 MB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.291e-05/0.1827, allocations: 20.84 kB / 444.1 MB, free: 10.37 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.056e-05/0.1827, allocations: 4 kB / 444.1 MB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002285/0.1829, allocations: 67.39 kB / 444.2 MB, free: 10.29 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.233e-06/0.1829, allocations: 0 / 444.2 MB, free: 10.29 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005708/0.1835, allocations: 181 kB / 444.4 MB, free: 10.1 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.304e-05/0.1836, allocations: 55.34 kB / 444.4 MB, free: 10.04 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002438/0.1838, allocations: 254.8 kB / 444.7 MB, free: 9.773 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.825e-05/0.1839, allocations: 29.7 kB / 444.7 MB, free: 9.738 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.68e-05/0.184, allocations: 116.1 kB / 444.8 MB, free: 9.621 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.918e-05/0.184, allocations: 27.64 kB / 444.8 MB, free: 9.594 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.186e-05/0.184, allocations: 25.7 kB / 444.9 MB, free: 9.562 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001719/0.1842, allocations: 330.8 kB / 445.2 MB, free: 9.23 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.063e-05/0.1843, allocations: 23.92 kB / 445.2 MB, free: 9.207 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.606e-05/0.1844, allocations: 37.7 kB / 445.2 MB, free: 9.164 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001132/0.1845, allocations: 57.72 kB / 445.3 MB, free: 9.102 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.1845, allocations: 0 / 445.3 MB, free: 9.102 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001823/0.1847, allocations: 105.4 kB / 445.4 MB, free: 8.992 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.1847, allocations: 8 kB / 445.4 MB, free: 8.984 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.1847, allocations: 0 / 445.4 MB, free: 8.984 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.1847, allocations: 0 / 445.4 MB, free: 8.984 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.719e-05/0.1848, allocations: 12.19 kB / 445.4 MB, free: 8.973 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.1848, allocations: 4 kB / 445.4 MB, free: 8.969 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.709e-05/0.1849, allocations: 11.86 kB / 445.4 MB, free: 8.957 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.597e-06/0.1849, allocations: 8.031 kB / 445.4 MB, free: 8.949 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.0001089/0.185, allocations: 141.7 kB / 445.6 MB, free: 8.801 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.418e-05/0.1851, allocations: 15.81 kB / 445.6 MB, free: 8.785 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.582e-05/0.1851, allocations: 17.77 kB / 445.6 MB, free: 8.766 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.1851, allocations: 4 kB / 445.6 MB, free: 8.762 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.1851, allocations: 0 / 445.6 MB, free: 8.762 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.1851, allocations: 3.938 kB / 445.6 MB, free: 8.758 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004124/0.1855, allocations: 415.4 kB / 446 MB, free: 8.293 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1856, allocations: 0 / 446 MB, free: 8.293 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.241e-05/0.1856, allocations: 11.98 kB / 446 MB, free: 8.281 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.1856, allocations: 0 / 446 MB, free: 8.281 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.362e-05/0.1856, allocations: 7.938 kB / 446.1 MB, free: 8.273 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1856, allocations: 0 / 446.1 MB, free: 8.273 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1856, allocations: 0 / 446.1 MB, free: 8.273 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002209/0.1859, allocations: 208.2 kB / 446.3 MB, free: 8.051 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.415e-05/0.1859, allocations: 92.91 kB / 446.3 MB, free: 7.941 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.692e-05/0.1859, allocations: 11.92 kB / 446.4 MB, free: 7.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.036e-05/0.186, allocations: 4 kB / 446.4 MB, free: 7.926 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.04e-05/0.1861, allocations: 11.92 kB / 446.4 MB, free: 7.914 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.416e-05/0.1861, allocations: 4 kB / 446.4 MB, free: 7.91 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001515/0.1862, allocations: 204 kB / 446.6 MB, free: 7.711 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1862, allocations: 0 / 446.6 MB, free: 7.711 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002486/0.1865, allocations: 24 kB / 446.6 MB, free: 7.688 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.0009949/0.1875, allocations: 456.6 kB / 447 MB, free: 7.277 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001829/0.1877, allocations: 59.91 kB / 447.1 MB, free: 7.219 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.1877, allocations: 12 kB / 447.1 MB, free: 7.207 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.337e-05/0.1878, allocations: 27.92 kB / 447.1 MB, free: 7.18 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003472/0.1881, allocations: 23.98 kB / 447.2 MB, free: 7.156 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005785/0.1887, allocations: 317.5 kB / 447.5 MB, free: 6.82 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003571/0.1891, allocations: 0.716 MB / 448.2 MB, free: 6.078 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.021e-05/0.1892, allocations: 17.17 kB / 448.2 MB, free: 6.059 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.7e-05/0.1892, allocations: 19.44 kB / 448.2 MB, free: 6.039 MB / 382.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1892, allocations: 0 / 448.2 MB, free: 6.039 MB / 382.1 MB Notification: Performance of Templates: time 0.004762/0.194, allocations: 1.673 MB / 449.9 MB, free: 4.367 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches