Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001703/0.001703, allocations: 113.6 kB / 21.19 MB, free: 0.7031 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001548/0.001548, allocations: 208.6 kB / 24.49 MB, free: 4.055 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.415/1.415, allocations: 207.6 MB / 235.3 MB, free: 9.988 MB / 190.1 MB " [Timeout remaining time 178] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.WhyArrows,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_WhyArrows",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.WhyArrows,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_WhyArrows",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001757/0.001757, allocations: 55.91 kB / 347.2 MB, free: 10.12 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2724/0.2741, allocations: 49.16 MB / 396.3 MB, free: 8.949 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.00335/0.2775, allocations: 2.258 MB / 398.6 MB, free: 7.387 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004511/0.2779, allocations: 198.6 kB / 398.8 MB, free: 7.238 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000102/0.278, allocations: 8.438 kB / 398.8 MB, free: 7.234 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 9.285e-05/0.2781, allocations: 35.64 kB / 398.8 MB, free: 7.215 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001628/0.2783, allocations: 63.11 kB / 398.9 MB, free: 7.168 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001859/0.2785, allocations: 50.39 kB / 398.9 MB, free: 7.141 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002537/0.2787, allocations: 235.7 kB / 399.2 MB, free: 7.023 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002126/0.2789, allocations: 87.95 kB / 399.3 MB, free: 6.977 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001226/0.2791, allocations: 92.73 kB / 399.4 MB, free: 6.934 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001773/0.2792, allocations: 100.9 kB / 399.5 MB, free: 6.883 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.606e-05/0.2793, allocations: 20.72 kB / 399.5 MB, free: 6.883 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.205e-05/0.2793, allocations: 21.72 kB / 399.5 MB, free: 6.883 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.292e-05/0.2794, allocations: 49.61 kB / 399.5 MB, free: 6.848 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001108/0.2795, allocations: 113.9 kB / 399.7 MB, free: 6.781 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003471/0.2798, allocations: 263.7 kB / 399.9 MB, free: 6.676 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.2798, allocations: 0 / 399.9 MB, free: 6.676 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2798, allocations: 0 / 399.9 MB, free: 6.676 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.2799, allocations: 0 / 399.9 MB, free: 6.676 MB / 318.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.0006471/0.2805, allocations: 445.2 kB / 400.3 MB, free: 6.309 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.2805, allocations: 13.58 kB / 400.4 MB, free: 6.305 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.293e-05/0.2806, allocations: 60.19 kB / 400.4 MB, free: 6.25 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.838e-05/0.2806, allocations: 24.7 kB / 400.4 MB, free: 6.238 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001826/0.2808, allocations: 161.8 kB / 400.6 MB, free: 6.078 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.241e-05/0.2808, allocations: 17.59 kB / 400.6 MB, free: 6.07 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.532e-05/0.2809, allocations: 24.09 kB / 400.6 MB, free: 6.062 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003599/0.2813, allocations: 233.3 kB / 400.9 MB, free: 5.926 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.2813, allocations: 4.734 kB / 400.9 MB, free: 5.922 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.965e-05/0.2813, allocations: 10.69 kB / 400.9 MB, free: 5.914 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/0.2813, allocations: 6.188 kB / 400.9 MB, free: 5.914 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002324/0.2815, allocations: 132 kB / 401 MB, free: 5.871 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009842/0.2825, allocations: 0.8251 MB / 401.8 MB, free: 5.215 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002166/0.2827, allocations: 155 kB / 402 MB, free: 5.102 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.315e-05/0.2828, allocations: 57.91 kB / 402.1 MB, free: 5.062 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.802e-05/0.2828, allocations: 2.531 kB / 402.1 MB, free: 5.062 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.009e-05/0.2829, allocations: 44.55 kB / 402.1 MB, free: 5.012 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 1.302e-06/0.2829, allocations: 1.031 kB / 402.1 MB, free: 5.012 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.0003969/0.2833, allocations: 173.6 kB / 402.3 MB, free: 4.922 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.362e-05/0.2833, allocations: 110.3 kB / 402.4 MB, free: 4.793 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001775/0.2835, allocations: 202.3 kB / 402.6 MB, free: 4.652 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.217e-05/0.2835, allocations: 27.05 kB / 402.6 MB, free: 4.621 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.031e-05/0.2836, allocations: 164.2 kB / 402.8 MB, free: 4.473 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.225e-05/0.2836, allocations: 65.48 kB / 402.8 MB, free: 4.422 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.749e-05/0.2837, allocations: 46.86 kB / 402.9 MB, free: 4.387 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.963e-05/0.2837, allocations: 330.1 kB / 403.2 MB, free: 4.066 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.619e-05/0.2838, allocations: 51.83 kB / 403.2 MB, free: 4.047 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001405/0.284, allocations: 156.9 kB / 403.4 MB, free: 3.891 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002396/0.2842, allocations: 220.4 kB / 403.6 MB, free: 3.695 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.2842, allocations: 9.125 kB / 403.6 MB, free: 3.688 MB / 318.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003384/0.2846, allocations: 253.3 kB / 403.9 MB, free: 3.562 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.2846, allocations: 5.594 kB / 403.9 MB, free: 3.562 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.2846, allocations: 4.438 kB / 403.9 MB, free: 3.562 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.181e-05/0.2846, allocations: 5 kB / 403.9 MB, free: 3.562 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002103/0.2848, allocations: 62.81 kB / 403.9 MB, free: 3.555 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.227e-05/0.2848, allocations: 9.531 kB / 404 MB, free: 3.551 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001287/0.285, allocations: 27.78 kB / 404 MB, free: 3.531 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.656e-05/0.285, allocations: 10.25 kB / 404 MB, free: 3.531 MB / 318.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 8.676e-05/0.2851, allocations: 144 kB / 404.1 MB, free: 3.395 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.02e-05/0.2851, allocations: 20.88 kB / 404.2 MB, free: 3.383 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.759e-05/0.2852, allocations: 23.59 kB / 404.2 MB, free: 3.363 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.2852, allocations: 3.094 kB / 404.2 MB, free: 3.363 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.2852, allocations: 1.094 kB / 404.2 MB, free: 3.363 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.2852, allocations: 5.031 kB / 404.2 MB, free: 3.359 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004729/0.2857, allocations: 395 kB / 404.6 MB, free: 3.012 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.2857, allocations: 1.312 kB / 404.6 MB, free: 3.012 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00019/0.2859, allocations: 35.38 kB / 404.6 MB, free: 3.012 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.2859, allocations: 5.625 kB / 404.6 MB, free: 3.008 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.483e-05/0.2859, allocations: 3.375 kB / 404.6 MB, free: 3.008 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.2859, allocations: 2.094 kB / 404.6 MB, free: 3.008 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.2859, allocations: 6.406 kB / 404.6 MB, free: 3.004 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003239/0.2862, allocations: 379.9 kB / 405 MB, free: 2.703 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3e-05/0.2862, allocations: 19.88 kB / 405 MB, free: 2.691 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.005e-05/0.2863, allocations: 12.02 kB / 405 MB, free: 2.684 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001293/0.2864, allocations: 1.188 kB / 405 MB, free: 2.684 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.298e-05/0.2864, allocations: 19.03 kB / 405 MB, free: 2.676 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.247e-06/0.2864, allocations: 4.25 kB / 405 MB, free: 2.676 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001051/0.2866, allocations: 140.4 kB / 405.2 MB, free: 2.582 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2866, allocations: 0 / 405.2 MB, free: 2.582 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003742/0.2869, allocations: 48.98 kB / 405.2 MB, free: 2.574 MB / 318.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.0004637/0.2874, allocations: 0.9218 MB / 406.2 MB, free: 1.727 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002706/0.2877, allocations: 143.4 kB / 406.3 MB, free: 1.672 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.2877, allocations: 0 / 406.3 MB, free: 1.672 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 7.498e-05/0.2877, allocations: 54.34 kB / 406.3 MB, free: 1.652 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000469/0.2882, allocations: 38.38 kB / 406.4 MB, free: 1.633 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002639/0.2908, allocations: 2.566 MB / 409 MB, free: 15.52 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003919/0.2912, allocations: 0.7367 MB / 409.7 MB, free: 14.82 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001005/0.2913, allocations: 21.3 kB / 409.7 MB, free: 14.81 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.862e-05/0.2914, allocations: 55.98 kB / 409.8 MB, free: 14.77 MB / 334.1 MB Notification: Performance of SimCode: time 1.032e-06/0.2914, allocations: 0 / 409.8 MB, free: 14.77 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03421/0.3256, allocations: 4.006 MB / 413.8 MB, free: 13.4 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.61, allocations: 5.094 kB / 413.8 MB, free: 13.4 MB / 334.1 MB " [Timeout remaining time 648] (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Mechanics_Translational_Examples_WhyArrows.fmu > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/WhyArrows/WhyArrows.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.WhyArrows.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.010507234001125]