Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.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.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68") translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009464/0.009464, allocations: 100.8 kB / 15.87 MB, free: 6.309 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.00178/0.00178, allocations: 195.8 kB / 16.79 MB, free: 6.238 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.797/1.797, allocations: 205.1 MB / 222.6 MB, free: 4.918 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.4826/0.4826, allocations: 43.5 MB / 313.5 MB, free: 8.621 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.001481/0.001481, allocations: 68.42 kB / 382 MB, free: 9.012 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1721/0.1736, allocations: 57.78 MB / 439.8 MB, free: 15.13 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.003805/0.1774, allocations: 1.842 MB / 441.7 MB, free: 13.27 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001539/0.179, allocations: 0.8664 MB / 442.5 MB, free: 12.39 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.834e-05/0.1791, allocations: 3.938 kB / 442.5 MB, free: 12.39 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007242/0.1798, allocations: 295.4 kB / 442.8 MB, free: 12.1 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003354/0.1802, allocations: 195.5 kB / 443 MB, free: 11.91 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003692/0.1806, allocations: 131.6 kB / 443.1 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003108/0.1809, allocations: 227.4 kB / 443.4 MB, free: 11.56 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.821e-05/0.181, allocations: 17.48 kB / 443.4 MB, free: 11.54 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001554/0.1811, allocations: 115.6 kB / 443.5 MB, free: 11.43 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002363/0.1814, allocations: 188 kB / 443.7 MB, free: 11.24 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.249e-05/0.1814, allocations: 4 kB / 443.7 MB, free: 11.24 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001175/0.1816, allocations: 35.98 kB / 443.7 MB, free: 11.2 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001947/0.1818, allocations: 136.4 kB / 443.9 MB, free: 11.07 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00015/0.1819, allocations: 138.9 kB / 444 MB, free: 10.93 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004752/0.1824, allocations: 355 kB / 444.3 MB, free: 10.59 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.1824, allocations: 0 / 444.3 MB, free: 10.59 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.1824, allocations: 0 / 444.3 MB, free: 10.59 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.937e-06/0.1824, allocations: 0 / 444.3 MB, free: 10.59 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001315/0.1838, allocations: 0.7229 MB / 445.1 MB, free: 9.812 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.98e-05/0.1838, allocations: 8.031 kB / 445.1 MB, free: 9.805 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001084/0.184, allocations: 44.38 kB / 445.1 MB, free: 9.762 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006829/0.1847, allocations: 436 kB / 445.5 MB, free: 9.297 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.325e-05/0.1847, allocations: 8.359 kB / 445.5 MB, free: 9.289 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.266e-05/0.1847, allocations: 12.12 kB / 445.6 MB, free: 9.277 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002841/0.185, allocations: 83.3 kB / 445.6 MB, free: 9.184 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/0.185, allocations: 3.984 kB / 445.6 MB, free: 9.18 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.307e-05/0.1851, allocations: 12 kB / 445.7 MB, free: 9.168 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.147e-06/0.1851, allocations: 0 / 445.7 MB, free: 9.168 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000128/0.1852, allocations: 27.97 kB / 445.7 MB, free: 9.141 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005288/0.1858, allocations: 378.2 kB / 446.1 MB, free: 8.719 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003491/0.1861, allocations: 105.2 kB / 446.2 MB, free: 8.598 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001178/0.1863, allocations: 45.62 kB / 446.2 MB, free: 8.547 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.598e-05/0.1863, allocations: 4 kB / 446.2 MB, free: 8.543 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004101/0.1867, allocations: 105 kB / 446.3 MB, free: 8.422 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.403e-06/0.1867, allocations: 0 / 446.3 MB, free: 8.422 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006103/0.1873, allocations: 197 kB / 446.5 MB, free: 8.223 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001017/0.1874, allocations: 81.11 kB / 446.6 MB, free: 8.125 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001341/0.1888, allocations: 1.011 MB / 447.6 MB, free: 7.102 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.596e-05/0.1888, allocations: 25.7 kB / 447.6 MB, free: 7.07 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000233/0.1891, allocations: 232 kB / 447.8 MB, free: 6.84 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.999e-05/0.1891, allocations: 27.64 kB / 447.9 MB, free: 6.812 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.278e-05/0.1892, allocations: 29.7 kB / 447.9 MB, free: 6.777 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002618/0.1895, allocations: 366.8 kB / 448.3 MB, free: 6.41 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.492e-05/0.1896, allocations: 31.92 kB / 448.3 MB, free: 6.379 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001063/0.1897, allocations: 55.42 kB / 448.3 MB, free: 6.312 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002101/0.1899, allocations: 95.28 kB / 448.4 MB, free: 6.207 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.1899, allocations: 0 / 448.4 MB, free: 6.207 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003327/0.1903, allocations: 169.4 kB / 448.6 MB, free: 6.035 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.662e-05/0.1903, allocations: 8 kB / 448.6 MB, free: 6.027 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.1903, allocations: 128 / 448.6 MB, free: 6.027 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.817e-05/0.1903, allocations: 4 kB / 448.6 MB, free: 6.023 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001557/0.1905, allocations: 27.98 kB / 448.6 MB, free: 5.996 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.268e-06/0.1905, allocations: 0 / 448.6 MB, free: 5.996 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.66e-05/0.1906, allocations: 11.89 kB / 448.6 MB, free: 5.984 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.353e-05/0.1906, allocations: 4 kB / 448.7 MB, free: 5.98 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002835/0.1909, allocations: 237.6 kB / 448.9 MB, free: 5.738 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.853e-05/0.191, allocations: 51.33 kB / 448.9 MB, free: 5.688 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.923e-05/0.1911, allocations: 51.86 kB / 449 MB, free: 5.637 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/0.1911, allocations: 7.984 kB / 449 MB, free: 5.629 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.157e-06/0.1912, allocations: 0 / 449 MB, free: 5.629 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.1912, allocations: 0 / 449 MB, free: 5.629 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003351/0.1915, allocations: 341.3 kB / 449.3 MB, free: 5.246 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.1915, allocations: 4 kB / 449.3 MB, free: 5.242 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.647e-05/0.1916, allocations: 4 kB / 449.3 MB, free: 5.238 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.1916, allocations: 4 kB / 449.3 MB, free: 5.234 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.432e-05/0.1916, allocations: 3.984 kB / 449.3 MB, free: 5.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.1916, allocations: 4 kB / 449.3 MB, free: 5.227 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.1916, allocations: 4 kB / 449.3 MB, free: 5.223 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003309/0.1919, allocations: 193.3 kB / 449.5 MB, free: 5.012 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001438/0.1921, allocations: 136.4 kB / 449.7 MB, free: 4.859 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.976e-05/0.1922, allocations: 8 kB / 449.7 MB, free: 4.852 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.807e-05/0.1922, allocations: 7.984 kB / 449.7 MB, free: 4.844 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.172e-05/0.1923, allocations: 15.97 kB / 449.7 MB, free: 4.828 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.199e-05/0.1923, allocations: 11.94 kB / 449.7 MB, free: 4.816 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008052/0.1931, allocations: 0.7448 MB / 450.5 MB, free: 4.074 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1931, allocations: 0 / 450.5 MB, free: 4.074 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002756/0.1934, allocations: 40 kB / 450.5 MB, free: 4.035 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.00108/0.1945, allocations: 422.5 kB / 450.9 MB, free: 3.652 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002706/0.1948, allocations: 83.89 kB / 451 MB, free: 3.57 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.1948, allocations: 0 / 451 MB, free: 3.57 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001168/0.1949, allocations: 43.91 kB / 451 MB, free: 3.527 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004549/0.1954, allocations: 74.05 kB / 451.1 MB, free: 3.457 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001366/0.1968, allocations: 0.9348 MB / 452 MB, free: 2.492 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005058/0.1973, allocations: 0.8273 MB / 452.9 MB, free: 1.641 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001327/0.1974, allocations: 59.45 kB / 452.9 MB, free: 1.582 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.931e-05/0.1975, allocations: 35.36 kB / 453 MB, free: 1.547 MB / 382.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1975, allocations: 4 kB / 453 MB, free: 1.543 MB / 382.1 MB Notification: Performance of Templates: time 0.2675/0.4651, allocations: 3.498 MB / 456.5 MB, free: 48.65 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test68.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches