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.001293/0.001293, allocations: 112 kB / 17.06 MB, free: 5.988 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.001196/0.001196, allocations: 195.9 kB / 18 MB, free: 5.074 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.391/1.391, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001639/0.001639, allocations: 48.06 kB / 350.8 MB, free: 3.785 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2835/0.2852, allocations: 49.44 MB / 400.2 MB, free: 8.441 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.004106/0.2894, allocations: 2.253 MB / 402.5 MB, free: 6.594 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004957/0.2899, allocations: 199.2 kB / 402.7 MB, free: 6.398 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001015/0.29, allocations: 8 kB / 402.7 MB, free: 6.391 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 8.96e-05/0.2901, allocations: 35.64 kB / 402.7 MB, free: 6.355 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001619/0.2903, allocations: 55.42 kB / 402.8 MB, free: 6.301 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001819/0.2905, allocations: 55.94 kB / 402.8 MB, free: 6.246 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002794/0.2908, allocations: 234.9 kB / 403.1 MB, free: 6.016 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002641/0.2911, allocations: 110.6 kB / 403.2 MB, free: 5.906 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001243/0.2912, allocations: 95.64 kB / 403.3 MB, free: 5.812 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001789/0.2914, allocations: 103.5 kB / 403.4 MB, free: 5.711 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.813e-05/0.2914, allocations: 20 kB / 403.4 MB, free: 5.691 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.997e-05/0.2915, allocations: 24 kB / 403.4 MB, free: 5.668 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.223e-05/0.2915, allocations: 43.84 kB / 403.4 MB, free: 5.625 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001255/0.2916, allocations: 115.5 kB / 403.6 MB, free: 5.512 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003375/0.292, allocations: 250.1 kB / 403.8 MB, free: 5.27 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.251e-06/0.292, allocations: 0 / 403.8 MB, free: 5.27 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.292, allocations: 4 kB / 403.8 MB, free: 5.266 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.334e-06/0.292, allocations: 4 kB / 403.8 MB, free: 5.262 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.0008217/0.2929, allocations: 0.5106 MB / 404.3 MB, free: 4.699 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.2929, allocations: 12.03 kB / 404.3 MB, free: 4.688 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.498e-05/0.293, allocations: 54.73 kB / 404.4 MB, free: 4.625 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.984e-05/0.2931, allocations: 32.78 kB / 404.4 MB, free: 4.594 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002568/0.2933, allocations: 216.1 kB / 404.6 MB, free: 4.344 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.377e-05/0.2934, allocations: 20.94 kB / 404.6 MB, free: 4.324 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.05e-05/0.2934, allocations: 16.38 kB / 404.7 MB, free: 4.309 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004145/0.2938, allocations: 236.9 kB / 404.9 MB, free: 4.062 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.173e-05/0.2939, allocations: 7.875 kB / 404.9 MB, free: 4.055 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.152e-05/0.2939, allocations: 8 kB / 404.9 MB, free: 4.047 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.488e-06/0.2939, allocations: 12 kB / 404.9 MB, free: 4.035 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002467/0.2942, allocations: 135.8 kB / 405.1 MB, free: 3.902 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001224/0.2954, allocations: 0.8596 MB / 405.9 MB, free: 2.98 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000253/0.2957, allocations: 151.7 kB / 406.1 MB, free: 2.805 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001076/0.2958, allocations: 58.56 kB / 406.1 MB, free: 2.738 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.911e-05/0.2958, allocations: 8.312 kB / 406.1 MB, free: 2.73 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.185e-05/0.2959, allocations: 54.41 kB / 406.2 MB, free: 2.668 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 1.753e-06/0.2959, allocations: 0 / 406.2 MB, free: 2.668 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.0003873/0.2963, allocations: 165.5 kB / 406.3 MB, free: 2.5 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.079e-05/0.2964, allocations: 106.8 kB / 406.4 MB, free: 2.371 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002075/0.2966, allocations: 194.7 kB / 406.6 MB, free: 2.172 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.369e-05/0.2966, allocations: 29.7 kB / 406.7 MB, free: 2.137 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001206/0.2967, allocations: 164.2 kB / 406.8 MB, free: 1.973 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.801e-05/0.2968, allocations: 75.3 kB / 406.9 MB, free: 1.898 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.095e-05/0.2969, allocations: 53.94 kB / 406.9 MB, free: 1.836 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000167/0.2971, allocations: 326.8 kB / 407.3 MB, free: 1.508 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.756e-05/0.2972, allocations: 48.53 kB / 407.3 MB, free: 1.461 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001756/0.2973, allocations: 151.7 kB / 407.5 MB, free: 1.266 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002897/0.2976, allocations: 226.1 kB / 407.7 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.2977, allocations: 3.938 kB / 407.7 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003713/0.298, allocations: 249.4 kB / 407.9 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.2981, allocations: 8 kB / 407.9 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/0.2981, allocations: 4 kB / 407.9 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.2981, allocations: 4 kB / 407.9 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000211/0.2983, allocations: 63.91 kB / 408 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.142e-05/0.2983, allocations: 7.938 kB / 408 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001413/0.2985, allocations: 27.78 kB / 408 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.745e-05/0.2985, allocations: 12 kB / 408.1 MB, free: 0.6172 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 0.0001287/0.2986, allocations: 145.9 kB / 408.2 MB, free: 476 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.109e-05/0.2987, allocations: 23.8 kB / 408.2 MB, free: 452 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.763e-05/0.2988, allocations: 25.39 kB / 408.2 MB, free: 424 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.2988, allocations: 4 kB / 408.3 MB, free: 420 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.2988, allocations: 0 / 408.3 MB, free: 420 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.2988, allocations: 0 / 408.3 MB, free: 420 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000612/0.2994, allocations: 428.8 kB / 408.7 MB, free: 15.93 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.2994, allocations: 4 kB / 408.7 MB, free: 15.92 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001923/0.2996, allocations: 35.92 kB / 408.7 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.656e-06/0.2997, allocations: 4 kB / 408.7 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.653e-05/0.2997, allocations: 7.938 kB / 408.7 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.2997, allocations: 4 kB / 408.7 MB, free: 15.87 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.2997, allocations: 0 / 408.7 MB, free: 15.87 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004308/0.3001, allocations: 382.7 kB / 409.1 MB, free: 15.47 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.796e-05/0.3002, allocations: 97 kB / 409.2 MB, free: 15.36 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.141e-05/0.3003, allocations: 8 kB / 409.2 MB, free: 15.35 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001497/0.3004, allocations: 4 kB / 409.2 MB, free: 15.35 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.355e-05/0.3004, allocations: 15.92 kB / 409.2 MB, free: 15.33 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.708e-06/0.3005, allocations: 4 kB / 409.2 MB, free: 15.33 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001599/0.3006, allocations: 148.3 kB / 409.4 MB, free: 15.18 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3006, allocations: 0 / 409.4 MB, free: 15.18 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003663/0.301, allocations: 55.89 kB / 409.4 MB, free: 15.13 MB / 334.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.0007579/0.3018, allocations: 0.9042 MB / 410.3 MB, free: 14.18 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002758/0.3021, allocations: 139.7 kB / 410.5 MB, free: 14.05 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3021, allocations: 0.875 kB / 410.5 MB, free: 14.05 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 9.549e-05/0.3022, allocations: 56.05 kB / 410.5 MB, free: 13.99 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005117/0.3027, allocations: 48.17 kB / 410.6 MB, free: 13.95 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002997/0.3057, allocations: 2.569 MB / 413.1 MB, free: 11.18 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003993/0.3061, allocations: 0.7359 MB / 413.9 MB, free: 10.42 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.633e-05/0.3062, allocations: 21.94 kB / 413.9 MB, free: 10.4 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.23e-05/0.3063, allocations: 51.42 kB / 413.9 MB, free: 10.35 MB / 334.1 MB Notification: Performance of SimCode: time 2.61e-07/0.3063, allocations: 4 kB / 413.9 MB, free: 10.34 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02624/0.3326, allocations: 3.743 MB / 417.7 MB, free: 6.711 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.796/8.128, allocations: 7.984 kB / 417.7 MB, free: 6.703 MB / 334.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