Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.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.Test45,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.Test45") translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,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.Test45") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001096/0.001096, allocations: 99.34 kB / 15.98 MB, free: 6.352 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.001142/0.001142, allocations: 198 kB / 16.91 MB, free: 6.191 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.982/1.982, allocations: 205.1 MB / 222.8 MB, free: 4.703 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.5045/0.5045, allocations: 43.49 MB / 313.6 MB, free: 8.496 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.001464/0.001464, allocations: 63.91 kB / 382.2 MB, free: 8.625 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1713/0.1728, allocations: 57.78 MB / 440 MB, free: 14.74 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.003605/0.1765, allocations: 1.756 MB / 441.8 MB, free: 12.97 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001303/0.1778, allocations: 0.7924 MB / 442.6 MB, free: 12.17 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.733e-05/0.1779, allocations: 7.938 kB / 442.6 MB, free: 12.16 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003209/0.1782, allocations: 31.89 kB / 442.6 MB, free: 12.13 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002015/0.1785, allocations: 47.83 kB / 442.6 MB, free: 12.08 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002546/0.1787, allocations: 87.83 kB / 442.7 MB, free: 12 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001795/0.1789, allocations: 91.7 kB / 442.8 MB, free: 11.91 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.625e-05/0.179, allocations: 12.22 kB / 442.8 MB, free: 11.89 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.057e-05/0.1791, allocations: 43.77 kB / 442.9 MB, free: 11.85 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.547e-05/0.1792, allocations: 35.8 kB / 442.9 MB, free: 11.82 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.865e-05/0.1792, allocations: 4 kB / 442.9 MB, free: 11.81 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001081/0.1793, allocations: 39.98 kB / 443 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.716e-05/0.1794, allocations: 23.91 kB / 443 MB, free: 11.75 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.666e-05/0.1795, allocations: 35.75 kB / 443 MB, free: 11.71 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001949/0.1797, allocations: 115.9 kB / 443.1 MB, free: 11.6 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.1797, allocations: 0 / 443.1 MB, free: 11.6 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1797, allocations: 0 / 443.1 MB, free: 11.6 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.61e-06/0.1797, allocations: 0 / 443.1 MB, free: 11.6 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.0005842/0.1803, allocations: 422.8 kB / 443.5 MB, free: 11.14 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.1803, allocations: 11.89 kB / 443.6 MB, free: 11.13 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.554e-05/0.1804, allocations: 8.844 kB / 443.6 MB, free: 11.12 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002276/0.1806, allocations: 216.7 kB / 443.8 MB, free: 10.87 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.515e-05/0.1806, allocations: 8.375 kB / 443.8 MB, free: 10.86 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.605e-05/0.1807, allocations: 4.125 kB / 443.8 MB, free: 10.86 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001639/0.1808, allocations: 53.67 kB / 443.8 MB, free: 10.8 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.1809, allocations: 0 / 443.8 MB, free: 10.8 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.1809, allocations: 0 / 443.8 MB, free: 10.8 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.1809, allocations: 7.938 kB / 443.8 MB, free: 10.79 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.494e-05/0.181, allocations: 19.92 kB / 443.9 MB, free: 10.77 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003874/0.1814, allocations: 288.9 kB / 444.1 MB, free: 10.44 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001728/0.1815, allocations: 58.69 kB / 444.2 MB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.697e-05/0.1816, allocations: 20.84 kB / 444.2 MB, free: 10.35 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.373e-05/0.1816, allocations: 3.938 kB / 444.2 MB, free: 10.35 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002238/0.1819, allocations: 67.39 kB / 444.3 MB, free: 10.27 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.453e-06/0.1819, allocations: 4 kB / 444.3 MB, free: 10.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005722/0.1825, allocations: 173.1 kB / 444.5 MB, free: 10.09 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.714e-05/0.1825, allocations: 55.41 kB / 444.5 MB, free: 10.02 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001726/0.1827, allocations: 192 kB / 444.7 MB, free: 9.828 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.034e-05/0.1827, allocations: 29.7 kB / 444.7 MB, free: 9.793 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.224e-05/0.1828, allocations: 104.1 kB / 444.8 MB, free: 9.688 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.502e-05/0.1828, allocations: 19.72 kB / 444.9 MB, free: 9.668 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.011e-05/0.1829, allocations: 25.7 kB / 444.9 MB, free: 9.637 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001244/0.183, allocations: 334.8 kB / 445.2 MB, free: 9.301 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.264e-05/0.1831, allocations: 12 kB / 445.2 MB, free: 9.289 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.356e-05/0.1831, allocations: 41.64 kB / 445.3 MB, free: 9.242 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001206/0.1833, allocations: 65.62 kB / 445.3 MB, free: 9.172 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1833, allocations: 0 / 445.3 MB, free: 9.172 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001742/0.1835, allocations: 105.5 kB / 445.4 MB, free: 9.062 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.1835, allocations: 7.984 kB / 445.4 MB, free: 9.055 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.1835, allocations: 80 / 445.4 MB, free: 9.055 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.1835, allocations: 0 / 445.4 MB, free: 9.055 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.092e-05/0.1836, allocations: 16.38 kB / 445.5 MB, free: 9.039 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.1836, allocations: 3.984 kB / 445.5 MB, free: 9.035 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.673e-05/0.1837, allocations: 11.94 kB / 445.5 MB, free: 9.023 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.128e-05/0.1837, allocations: 7.984 kB / 445.5 MB, free: 9.016 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.0001121/0.1838, allocations: 129.8 kB / 445.6 MB, free: 8.879 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.013e-05/0.1838, allocations: 11.91 kB / 445.6 MB, free: 8.867 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.706e-05/0.1839, allocations: 17.39 kB / 445.6 MB, free: 8.848 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.1839, allocations: 4 kB / 445.6 MB, free: 8.844 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.1839, allocations: 3.984 kB / 445.6 MB, free: 8.84 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.586e-06/0.1839, allocations: 3.938 kB / 445.6 MB, free: 8.836 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004207/0.1844, allocations: 395.2 kB / 446 MB, free: 8.391 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.1844, allocations: 0 / 446 MB, free: 8.391 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.224e-05/0.1844, allocations: 16.11 kB / 446 MB, free: 8.375 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.1844, allocations: 4.031 kB / 446 MB, free: 8.371 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/0.1844, allocations: 7.875 kB / 446.1 MB, free: 8.363 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.826e-06/0.1844, allocations: 4 kB / 446.1 MB, free: 8.359 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1844, allocations: 0 / 446.1 MB, free: 8.359 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002173/0.1847, allocations: 196.3 kB / 446.3 MB, free: 8.148 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.674e-05/0.1847, allocations: 88.92 kB / 446.3 MB, free: 8.043 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.613e-05/0.1848, allocations: 3.938 kB / 446.3 MB, free: 8.039 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.375e-05/0.1848, allocations: 11.98 kB / 446.4 MB, free: 8.027 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.97e-05/0.1849, allocations: 7.938 kB / 446.4 MB, free: 8.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.487e-05/0.1849, allocations: 4 kB / 446.4 MB, free: 8.016 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000112/0.185, allocations: 152.2 kB / 446.5 MB, free: 7.867 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.185, allocations: 0 / 446.5 MB, free: 7.867 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002569/0.1853, allocations: 27.98 kB / 446.5 MB, free: 7.84 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.001089/0.1864, allocations: 477.2 kB / 447 MB, free: 7.406 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001969/0.1866, allocations: 67.89 kB / 447.1 MB, free: 7.34 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1866, allocations: 0 / 447.1 MB, free: 7.34 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.474e-05/0.1867, allocations: 20 kB / 447.1 MB, free: 7.32 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003612/0.1871, allocations: 39.95 kB / 447.1 MB, free: 7.281 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004931/0.1876, allocations: 255.4 kB / 447.4 MB, free: 7 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002794/0.1878, allocations: 0.7119 MB / 448.1 MB, free: 6.262 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.289e-05/0.1879, allocations: 20.86 kB / 448.1 MB, free: 6.242 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.624e-05/0.1879, allocations: 15.44 kB / 448.1 MB, free: 6.23 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.188, allocations: 0 / 448.1 MB, free: 6.23 MB / 382.1 MB Notification: Performance of Templates: time 0.004509/0.1925, allocations: 1.666 MB / 449.8 MB, free: 4.566 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test45/Test45.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test45.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches