Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.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) 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: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.WhyArrows,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_WhyArrows",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.WhyArrows,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_WhyArrows",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001835/0.001835, allocations: 105.8 kB / 16.92 MB, free: 6.145 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.002152/0.002152, allocations: 187.4 kB / 17.85 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.265/2.265, allocations: 222.9 MB / 241.6 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001821/0.001822, allocations: 48.27 kB / 300.7 MB, free: 5.766 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1741/0.176, allocations: 49.45 MB / 350.2 MB, free: 4.309 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.006226/0.1823, allocations: 2.243 MB / 352.4 MB, free: 2.043 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008452/0.1832, allocations: 199.2 kB / 352.6 MB, free: 1.848 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002266/0.1835, allocations: 4 kB / 352.6 MB, free: 1.844 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001453/0.1836, allocations: 39.64 kB / 352.6 MB, free: 1.805 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003771/0.1841, allocations: 63.42 kB / 352.7 MB, free: 1.742 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002806/0.1843, allocations: 51.94 kB / 352.8 MB, free: 1.691 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004047/0.1848, allocations: 230.9 kB / 353 MB, free: 1.465 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003602/0.1851, allocations: 106.6 kB / 353.1 MB, free: 1.355 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001591/0.1853, allocations: 99.62 kB / 353.2 MB, free: 1.258 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001804/0.1855, allocations: 99.56 kB / 353.3 MB, free: 1.16 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001318/0.1856, allocations: 20 kB / 353.3 MB, free: 1.141 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.37e-05/0.1857, allocations: 24 kB / 353.3 MB, free: 1.117 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.596e-05/0.1857, allocations: 43.84 kB / 353.4 MB, free: 1.074 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001295/0.1859, allocations: 111.5 kB / 353.5 MB, free: 0.9648 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003139/0.1862, allocations: 263.3 kB / 353.7 MB, free: 0.707 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.802e-06/0.1862, allocations: 0 / 353.7 MB, free: 0.707 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.1862, allocations: 3.938 kB / 353.7 MB, free: 0.7031 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.377e-06/0.1862, allocations: 0 / 353.7 MB, free: 0.7031 MB / 286.1 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.0009114/0.1872, allocations: 0.5071 MB / 354.2 MB, free: 148 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/0.1872, allocations: 8.031 kB / 354.3 MB, free: 140 kB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.929e-05/0.1873, allocations: 54.73 kB / 354.3 MB, free: 76 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.877e-05/0.1874, allocations: 24.66 kB / 354.3 MB, free: 52 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000274/0.1876, allocations: 220 kB / 354.5 MB, free: 15.8 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.142e-05/0.1877, allocations: 16.94 kB / 354.6 MB, free: 15.78 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.762e-05/0.1877, allocations: 28.27 kB / 354.6 MB, free: 15.75 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003992/0.1881, allocations: 236.9 kB / 354.8 MB, free: 15.51 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.929e-05/0.1882, allocations: 3.938 kB / 354.8 MB, free: 15.5 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.32e-05/0.1882, allocations: 15.94 kB / 354.8 MB, free: 15.49 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.1882, allocations: 4 kB / 354.8 MB, free: 15.48 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002482/0.1885, allocations: 119.9 kB / 355 MB, free: 15.37 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001186/0.1897, allocations: 0.8633 MB / 355.8 MB, free: 14.44 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002666/0.19, allocations: 163.7 kB / 356 MB, free: 14.25 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.555e-05/0.1901, allocations: 58.88 kB / 356 MB, free: 14.19 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.572e-05/0.1901, allocations: 4 kB / 356 MB, free: 14.18 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.687e-05/0.1901, allocations: 50.42 kB / 356.1 MB, free: 14.12 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.442e-06/0.1901, allocations: 0 / 356.1 MB, free: 14.12 MB / 302.1 MB Notification: Performance of matching and sorting (n=17): time 0.0003733/0.1905, allocations: 161.4 kB / 356.3 MB, free: 13.96 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.431e-05/0.1906, allocations: 106.8 kB / 356.4 MB, free: 13.83 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002209/0.1908, allocations: 206.4 kB / 356.6 MB, free: 13.62 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.915e-05/0.1908, allocations: 25.7 kB / 356.6 MB, free: 13.59 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000101/0.1909, allocations: 163.8 kB / 356.7 MB, free: 13.42 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.564e-05/0.191, allocations: 59.11 kB / 356.8 MB, free: 13.36 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.296e-05/0.1911, allocations: 57.89 kB / 356.9 MB, free: 13.3 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.1912, allocations: 326.8 kB / 357.2 MB, free: 12.97 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001373/0.1914, allocations: 52.48 kB / 357.2 MB, free: 12.92 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001603/0.1915, allocations: 155.7 kB / 357.4 MB, free: 12.72 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002692/0.1918, allocations: 222.2 kB / 357.6 MB, free: 12.45 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.511e-06/0.1918, allocations: 0 / 357.6 MB, free: 12.45 MB / 302.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003688/0.1922, allocations: 245 kB / 357.8 MB, free: 12.21 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.1922, allocations: 4.438 kB / 357.8 MB, free: 12.2 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.1923, allocations: 8 kB / 357.9 MB, free: 12.2 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.565e-05/0.1923, allocations: 11.98 kB / 357.9 MB, free: 12.18 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002211/0.1925, allocations: 55.92 kB / 357.9 MB, free: 12.13 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.428e-05/0.1925, allocations: 11.94 kB / 357.9 MB, free: 12.12 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001831/0.1927, allocations: 27.69 kB / 358 MB, free: 12.09 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.565e-05/0.1927, allocations: 12 kB / 358 MB, free: 12.08 MB / 302.1 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 0.0001417/0.1929, allocations: 145.6 kB / 358.1 MB, free: 11.93 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.487e-05/0.193, allocations: 27.69 kB / 358.1 MB, free: 11.9 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.696e-05/0.193, allocations: 25.41 kB / 358.2 MB, free: 11.88 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.1931, allocations: 0 / 358.2 MB, free: 11.88 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.1931, allocations: 4 kB / 358.2 MB, free: 11.88 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.1931, allocations: 3.984 kB / 358.2 MB, free: 11.87 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005575/0.1936, allocations: 416.9 kB / 358.6 MB, free: 11.4 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.1937, allocations: 0 / 358.6 MB, free: 11.4 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002015/0.1939, allocations: 39.92 kB / 358.6 MB, free: 11.36 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/0.1939, allocations: 8.094 kB / 358.6 MB, free: 11.35 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.393e-05/0.1939, allocations: 4 kB / 358.6 MB, free: 11.35 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.543e-05/0.194, allocations: 7.984 kB / 358.6 MB, free: 11.34 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.194, allocations: 0 / 358.6 MB, free: 11.34 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004795/0.1945, allocations: 388.8 kB / 359 MB, free: 10.93 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.656e-05/0.1945, allocations: 88.92 kB / 359.1 MB, free: 10.83 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.143e-05/0.1946, allocations: 8 kB / 359.1 MB, free: 10.82 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000153/0.1947, allocations: 0 / 359.1 MB, free: 10.82 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.271e-05/0.1948, allocations: 19.97 kB / 359.1 MB, free: 10.8 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.075e-06/0.1948, allocations: 4 kB / 359.1 MB, free: 10.8 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001227/0.1949, allocations: 144.3 kB / 359.3 MB, free: 10.66 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1949, allocations: 3.938 kB / 359.3 MB, free: 10.65 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003648/0.1953, allocations: 47.94 kB / 359.3 MB, free: 10.61 MB / 302.1 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 0.0007801/0.1961, allocations: 0.9199 MB / 360.2 MB, free: 9.648 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002831/0.1964, allocations: 151.7 kB / 360.4 MB, free: 9.5 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1964, allocations: 0 / 360.4 MB, free: 9.5 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.21e-05/0.1965, allocations: 47.92 kB / 360.4 MB, free: 9.453 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005816/0.1971, allocations: 38.14 kB / 360.5 MB, free: 9.418 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002928/0.2, allocations: 2.57 MB / 363 MB, free: 6.66 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003417/0.2003, allocations: 0.732 MB / 363.8 MB, free: 5.902 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001007/0.2005, allocations: 21.94 kB / 363.8 MB, free: 5.883 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.263e-05/0.2006, allocations: 55.42 kB / 363.9 MB, free: 5.828 MB / 302.1 MB Notification: Performance of SimCode: time 2.21e-07/0.2006, allocations: 0 / 363.9 MB, free: 5.828 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02421/0.2248, allocations: 3.656 MB / 367.5 MB, free: 2.25 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.75/12.97, allocations: 10.39 kB / 367.5 MB, free: 2.242 MB / 302.1 MB (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 & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_WhyArrows.fmu > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/WhyArrows/WhyArrows.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.WhyArrows.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches