Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62") translateModel(ModelicaTest.Tables.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001742/0.001742, allocations: 106.5 kB / 17.2 MB, free: 6.289 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.002088/0.002087, allocations: 194 kB / 18.12 MB, free: 5.383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.487/1.487, allocations: 222.9 MB / 241.8 MB, free: 15.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2337/0.2337, allocations: 44.18 MB / 336.1 MB, free: 3.004 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001381, allocations: 69.14 kB / 407.7 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1753/0.1767, allocations: 60.83 MB / 468.5 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.003414/0.1801, allocations: 1.714 MB / 470.2 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001483/0.1816, allocations: 0.8459 MB / 471.1 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.669e-05/0.1817, allocations: 3.938 kB / 471.1 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003314/0.1821, allocations: 55.86 kB / 471.2 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002017/0.1823, allocations: 59.75 kB / 471.2 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002766/0.1826, allocations: 91.77 kB / 471.3 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001577/0.1828, allocations: 87.69 kB / 471.4 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.828e-05/0.1828, allocations: 8 kB / 471.4 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.1e-05/0.1829, allocations: 35.86 kB / 471.4 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.282e-05/0.183, allocations: 43.7 kB / 471.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.659e-05/0.183, allocations: 0 / 471.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.345e-05/0.1831, allocations: 24 kB / 471.5 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.931e-05/0.1832, allocations: 23.91 kB / 471.5 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.801e-05/0.1833, allocations: 39.69 kB / 471.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002125/0.1835, allocations: 115.9 kB / 471.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1835, allocations: 0 / 471.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.42e-07/0.1835, allocations: 4 kB / 471.7 MB, free: 11.67 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.717e-06/0.1835, allocations: 0 / 471.7 MB, free: 11.67 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005862/0.1841, allocations: 426.8 kB / 472.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.1841, allocations: 12.03 kB / 472.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.022e-05/0.1842, allocations: 12.75 kB / 472.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002399/0.1844, allocations: 219.9 kB / 472.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/0.1845, allocations: 384 / 472.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.529e-05/0.1845, allocations: 8.125 kB / 472.3 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001604/0.1847, allocations: 53.67 kB / 472.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.1847, allocations: 0 / 472.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.1847, allocations: 0 / 472.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.1847, allocations: 0 / 472.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.135e-05/0.1848, allocations: 19.92 kB / 472.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002274/0.185, allocations: 189.7 kB / 472.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001651/0.1852, allocations: 54.61 kB / 472.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.103e-05/0.1853, allocations: 28.78 kB / 472.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.299e-05/0.1853, allocations: 0 / 472.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002471/0.1856, allocations: 63.39 kB / 472.7 MB, free: 10.44 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 3.988e-06/0.1856, allocations: 0 / 472.7 MB, free: 10.44 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003134/0.1859, allocations: 101.4 kB / 472.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.691e-05/0.1859, allocations: 51.41 kB / 472.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003232/0.1863, allocations: 266.9 kB / 473.2 MB, free: 10 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.731e-05/0.1863, allocations: 25.7 kB / 473.2 MB, free: 9.969 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.07e-05/0.1864, allocations: 112.1 kB / 473.3 MB, free: 9.855 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.704e-05/0.1864, allocations: 15.89 kB / 473.3 MB, free: 9.84 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.557e-05/0.1865, allocations: 17.7 kB / 473.3 MB, free: 9.816 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.1866, allocations: 330.8 kB / 473.6 MB, free: 9.484 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.183e-05/0.1867, allocations: 12 kB / 473.7 MB, free: 9.473 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.036e-05/0.1867, allocations: 37.64 kB / 473.7 MB, free: 9.43 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001005/0.1868, allocations: 49.58 kB / 473.7 MB, free: 9.375 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.1869, allocations: 0 / 473.7 MB, free: 9.375 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001742/0.187, allocations: 89.69 kB / 473.8 MB, free: 9.281 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.1871, allocations: 4 kB / 473.8 MB, free: 9.277 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.1871, allocations: 4 kB / 473.8 MB, free: 9.273 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.1871, allocations: 4 kB / 473.8 MB, free: 9.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.75e-05/0.1872, allocations: 15.98 kB / 473.9 MB, free: 9.254 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.1872, allocations: 4.188 kB / 473.9 MB, free: 9.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.905e-05/0.1873, allocations: 7.938 kB / 473.9 MB, free: 9.242 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.552e-06/0.1873, allocations: 0 / 473.9 MB, free: 9.242 MB / 350.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 (7): * Single equations (assignments): 7 * 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.0001195/0.1874, allocations: 137.8 kB / 474 MB, free: 9.098 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.916e-05/0.1875, allocations: 11.81 kB / 474 MB, free: 9.086 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.994e-05/0.1875, allocations: 24.97 kB / 474 MB, free: 9.059 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.1875, allocations: 0 / 474 MB, free: 9.059 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.1875, allocations: 4 kB / 474 MB, free: 9.055 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.1875, allocations: 0 / 474 MB, free: 9.055 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001756/0.1877, allocations: 197.6 kB / 474.2 MB, free: 8.812 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1877, allocations: 0 / 474.2 MB, free: 8.812 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.48e-05/0.1878, allocations: 7.938 kB / 474.2 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.1878, allocations: 0 / 474.2 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/0.1878, allocations: 0 / 474.2 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1878, allocations: 0 / 474.2 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.103e-06/0.1878, allocations: 0 / 474.2 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001923/0.188, allocations: 116.9 kB / 474.4 MB, free: 8.672 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.276e-05/0.1881, allocations: 92.92 kB / 474.4 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.549e-05/0.1881, allocations: 3.984 kB / 474.4 MB, free: 8.559 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.745e-05/0.1882, allocations: 0 / 474.4 MB, free: 8.559 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.63e-05/0.1882, allocations: 8 kB / 474.5 MB, free: 8.551 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.698e-05/0.1882, allocations: 4 kB / 474.5 MB, free: 8.547 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001878/0.1884, allocations: 196.2 kB / 474.7 MB, free: 8.355 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1884, allocations: 0 / 474.7 MB, free: 8.355 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002253/0.1886, allocations: 20 kB / 474.7 MB, free: 8.336 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001173/0.1898, allocations: 412.6 kB / 475.1 MB, free: 8.086 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001823/0.19, allocations: 39.98 kB / 475.1 MB, free: 8.047 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.19, allocations: 0 / 475.1 MB, free: 8.047 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.842e-05/0.1901, allocations: 23.97 kB / 475.1 MB, free: 8.023 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000289/0.1904, allocations: 35.84 kB / 475.2 MB, free: 7.988 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005101/0.1909, allocations: 272.5 kB / 475.4 MB, free: 7.695 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003052/0.1912, allocations: 0.7082 MB / 476.1 MB, free: 6.961 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.362e-05/0.1913, allocations: 20.36 kB / 476.2 MB, free: 6.941 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.929e-05/0.1913, allocations: 23.42 kB / 476.2 MB, free: 6.918 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1914, allocations: 0 / 476.2 MB, free: 6.918 MB / 350.1 MB Notification: Performance of Templates: time 0.004641/0.196, allocations: 1.456 MB / 477.6 MB, free: 5.48 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches