Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.WhyArrows,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inertia2.s|inertia2.v|mass1.s|mass1.v",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows") translateModel(Modelica.Mechanics.Translational.Examples.WhyArrows,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inertia2.s|inertia2.v|mass1.s|mass1.v",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008533/0.0008534, allocations: 182.7 kB / 16.71 MB, free: 4.969 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.191/1.191, allocations: 225.7 MB / 243.2 MB, free: 10.18 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007227/0.0007227, allocations: 89.61 kB / 294.4 MB, free: 9.723 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002244/0.0002244, allocations: 7.938 kB / 354.2 MB, free: 13.86 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1861/0.1864, allocations: 50.42 MB / 404.6 MB, free: 31.33 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.001581/0.188, allocations: 1.872 MB / 406.4 MB, free: 29.45 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002754/0.1883, allocations: 205.2 kB / 406.6 MB, free: 29.25 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.354e-05/0.1884, allocations: 4 kB / 406.6 MB, free: 29.25 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.566e-05/0.1884, allocations: 23.78 kB / 406.7 MB, free: 29.23 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000117/0.1885, allocations: 51.59 kB / 406.7 MB, free: 29.18 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00013/0.1887, allocations: 43.97 kB / 406.8 MB, free: 29.13 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001506/0.1888, allocations: 231.9 kB / 407 MB, free: 28.91 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000162/0.189, allocations: 82.23 kB / 407.1 MB, free: 28.82 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.08e-05/0.1891, allocations: 81.7 kB / 407.1 MB, free: 28.75 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.832e-05/0.1892, allocations: 91.55 kB / 407.2 MB, free: 28.66 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.887e-05/0.1892, allocations: 12 kB / 407.3 MB, free: 28.64 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.997e-05/0.1893, allocations: 12 kB / 407.3 MB, free: 28.63 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.012e-05/0.1893, allocations: 31.86 kB / 407.3 MB, free: 28.6 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.674e-05/0.1894, allocations: 133.2 kB / 407.4 MB, free: 28.46 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001585/0.1896, allocations: 240.6 kB / 407.7 MB, free: 28.23 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.1896, allocations: 3.938 kB / 407.7 MB, free: 28.23 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1896, allocations: 0 / 407.7 MB, free: 28.23 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.418e-06/0.1896, allocations: 0 / 407.7 MB, free: 28.23 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0005112/0.1901, allocations: 483.3 kB / 408.1 MB, free: 27.71 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.009e-05/0.1901, allocations: 11.97 kB / 408.1 MB, free: 27.7 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.082e-05/0.1902, allocations: 28.66 kB / 408.2 MB, free: 27.67 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001374/0.1903, allocations: 216 kB / 408.4 MB, free: 27.42 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.1903, allocations: 16.94 kB / 408.4 MB, free: 27.4 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.476e-05/0.1904, allocations: 28.28 kB / 408.4 MB, free: 27.38 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002864/0.1907, allocations: 232.8 kB / 408.7 MB, free: 27.13 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.1907, allocations: 192 / 408.7 MB, free: 27.13 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.844e-05/0.1907, allocations: 11.94 kB / 408.7 MB, free: 27.12 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.1907, allocations: 8 kB / 408.7 MB, free: 27.11 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001885/0.1909, allocations: 131.9 kB / 408.8 MB, free: 26.98 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007875/0.1917, allocations: 0.8597 MB / 409.7 MB, free: 26.06 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001656/0.1919, allocations: 155.7 kB / 409.8 MB, free: 25.88 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.128e-05/0.192, allocations: 66.8 kB / 409.9 MB, free: 25.81 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.382e-05/0.192, allocations: 7.984 kB / 409.9 MB, free: 25.8 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.243e-05/0.192, allocations: 38.5 kB / 409.9 MB, free: 25.75 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 1.202e-06/0.192, allocations: 0 / 409.9 MB, free: 25.75 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002833/0.1923, allocations: 165.6 kB / 410.1 MB, free: 25.59 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.042e-05/0.1923, allocations: 110.8 kB / 410.2 MB, free: 25.45 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001197/0.1925, allocations: 194.2 kB / 410.4 MB, free: 25.25 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.846e-06/0.1925, allocations: 29.7 kB / 410.4 MB, free: 25.22 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.171e-05/0.1925, allocations: 159.9 kB / 410.6 MB, free: 25.05 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.939e-05/0.1926, allocations: 67.05 kB / 410.6 MB, free: 24.99 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.266e-06/0.1926, allocations: 8 kB / 410.6 MB, free: 24.98 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.031e-05/0.1926, allocations: 334.8 kB / 411 MB, free: 24.64 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.902e-05/0.1927, allocations: 40.55 kB / 411 MB, free: 24.6 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.332e-05/0.1928, allocations: 150.8 kB / 411.2 MB, free: 24.41 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001786/0.193, allocations: 217.5 kB / 411.4 MB, free: 24.14 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.193, allocations: 4 kB / 411.4 MB, free: 24.14 MB / 298.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002711/0.1933, allocations: 241 kB / 411.6 MB, free: 23.9 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.1933, allocations: 7.938 kB / 411.6 MB, free: 23.89 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.1933, allocations: 4.438 kB / 411.6 MB, free: 23.89 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.1933, allocations: 12 kB / 411.6 MB, free: 23.88 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001869/0.1935, allocations: 59.91 kB / 411.7 MB, free: 23.82 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/0.1935, allocations: 11.94 kB / 411.7 MB, free: 23.8 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001138/0.1937, allocations: 27.69 kB / 411.7 MB, free: 23.78 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.358e-05/0.1937, allocations: 12 kB / 411.7 MB, free: 23.77 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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 7.434e-05/0.1938, allocations: 141.7 kB / 411.9 MB, free: 23.62 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.124e-05/0.1938, allocations: 31.67 kB / 411.9 MB, free: 23.59 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.067e-05/0.1939, allocations: 21.41 kB / 411.9 MB, free: 23.57 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.1939, allocations: 4 kB / 411.9 MB, free: 23.57 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.1939, allocations: 4 kB / 411.9 MB, free: 23.56 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.1939, allocations: 3.984 kB / 411.9 MB, free: 23.56 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003886/0.1943, allocations: 416.9 kB / 412.4 MB, free: 23.09 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.1943, allocations: 0 / 412.4 MB, free: 23.09 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000176/0.1945, allocations: 39.92 kB / 412.4 MB, free: 23.05 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.1945, allocations: 4.094 kB / 412.4 MB, free: 23.04 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.347e-05/0.1945, allocations: 8 kB / 412.4 MB, free: 23.04 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.1945, allocations: 4 kB / 412.4 MB, free: 23.03 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.1945, allocations: 0 / 412.4 MB, free: 23.03 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002605/0.1948, allocations: 377.5 kB / 412.8 MB, free: 22.64 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.039e-05/0.1948, allocations: 96.86 kB / 412.9 MB, free: 22.52 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.68e-05/0.1949, allocations: 4 kB / 412.9 MB, free: 22.52 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001287/0.195, allocations: 12 kB / 412.9 MB, free: 22.51 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.659e-05/0.195, allocations: 11.97 kB / 412.9 MB, free: 22.5 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.895e-06/0.1951, allocations: 8 kB / 412.9 MB, free: 22.49 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.698e-05/0.1951, allocations: 141.5 kB / 413 MB, free: 22.35 MB / 298.7 MB Notification: Performance of sort global known variables: time 8.01e-07/0.1951, allocations: 0 / 413 MB, free: 22.35 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003/0.1954, allocations: 55.84 kB / 413.1 MB, free: 22.3 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (inertia2.s,inertia2.v,mass1.s,mass1.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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 Backend phase and start with SimCode phase: time 6.982e-05/0.1955, allocations: 115.1 kB / 413.2 MB, free: 22.17 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000197/0.1957, allocations: 143.9 kB / 413.4 MB, free: 22.03 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1957, allocations: 0 / 413.4 MB, free: 22.03 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.279e-05/0.1958, allocations: 60.88 kB / 413.4 MB, free: 21.97 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004144/0.1962, allocations: 29.31 kB / 413.4 MB, free: 21.95 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007486/0.197, allocations: 0.7341 MB / 414.2 MB, free: 21.17 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001314/0.1971, allocations: 0.7323 MB / 414.9 MB, free: 20.41 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.832e-05/0.1972, allocations: 21.95 kB / 414.9 MB, free: 20.39 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.574e-05/0.1973, allocations: 19.44 kB / 414.9 MB, free: 20.37 MB / 298.7 MB Notification: Performance of SimCode: time 5.51e-07/0.1973, allocations: 0 / 414.9 MB, free: 20.37 MB / 298.7 MB Notification: Performance of Templates: time 0.003137/0.2004, allocations: 1.451 MB / 416.4 MB, free: 18.93 MB / 298.7 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/WhyArrows/WhyArrows.csv","../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches