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.001142/0.001142, allocations: 113.4 kB / 17.07 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.001254/0.001254, allocations: 195 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.386/1.386, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009854/0.0009854, allocations: 47.92 kB / 350.8 MB, free: 3.75 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2737/0.2747, allocations: 49.43 MB / 400.2 MB, free: 8.395 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.004231/0.2789, allocations: 2.246 MB / 402.5 MB, free: 6.562 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007479/0.2797, allocations: 195.3 kB / 402.7 MB, free: 6.371 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002217/0.28, allocations: 4 kB / 402.7 MB, free: 6.367 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001241/0.2801, allocations: 39.58 kB / 402.7 MB, free: 6.328 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00025/0.2804, allocations: 71.41 kB / 402.8 MB, free: 6.258 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002085/0.2806, allocations: 47.94 kB / 402.8 MB, free: 6.211 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003042/0.2809, allocations: 235 kB / 403 MB, free: 5.98 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002586/0.2812, allocations: 114.6 kB / 403.2 MB, free: 5.867 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001512/0.2813, allocations: 91.64 kB / 403.2 MB, free: 5.777 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001788/0.2815, allocations: 107.5 kB / 403.4 MB, free: 5.672 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.968e-05/0.2816, allocations: 20 kB / 403.4 MB, free: 5.652 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.053e-05/0.2816, allocations: 20 kB / 403.4 MB, free: 5.633 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.011e-05/0.2817, allocations: 51.84 kB / 403.4 MB, free: 5.582 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001345/0.2818, allocations: 115.5 kB / 403.6 MB, free: 5.469 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003221/0.2822, allocations: 254.1 kB / 403.8 MB, free: 5.223 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.2822, allocations: 0 / 403.8 MB, free: 5.223 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.2822, allocations: 0 / 403.8 MB, free: 5.223 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.213e-05/0.2822, allocations: 0 / 403.8 MB, free: 5.223 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.0008415/0.283, allocations: 0.5184 MB / 404.3 MB, free: 4.652 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.935e-05/0.2831, allocations: 8.031 kB / 404.3 MB, free: 4.645 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.056e-05/0.2832, allocations: 54.73 kB / 404.4 MB, free: 4.582 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.478e-05/0.2833, allocations: 24.8 kB / 404.4 MB, free: 4.559 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002703/0.2835, allocations: 224 kB / 404.6 MB, free: 4.301 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.012e-05/0.2836, allocations: 12.94 kB / 404.6 MB, free: 4.289 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.611e-05/0.2836, allocations: 24.38 kB / 404.7 MB, free: 4.266 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004228/0.284, allocations: 244.8 kB / 404.9 MB, free: 4.012 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.982e-05/0.2841, allocations: 3.938 kB / 404.9 MB, free: 4.008 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.043e-05/0.2841, allocations: 8 kB / 404.9 MB, free: 4 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/0.2841, allocations: 8 kB / 404.9 MB, free: 3.992 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002483/0.2844, allocations: 135.8 kB / 405.1 MB, free: 3.859 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001214/0.2856, allocations: 0.8558 MB / 405.9 MB, free: 2.941 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002225/0.2858, allocations: 155.7 kB / 406.1 MB, free: 2.762 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001109/0.2859, allocations: 62.56 kB / 406.1 MB, free: 2.691 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.537e-05/0.286, allocations: 7.938 kB / 406.1 MB, free: 2.684 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.562e-05/0.286, allocations: 38.44 kB / 406.2 MB, free: 2.637 MB / 318.1 MB Notification: Performance of pre-optimization done (n=17): time 1.543e-06/0.286, allocations: 0 / 406.2 MB, free: 2.637 MB / 318.1 MB Notification: Performance of matching and sorting (n=17): time 0.0003853/0.2864, allocations: 173.7 kB / 406.3 MB, free: 2.461 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.983e-05/0.2865, allocations: 110.8 kB / 406.4 MB, free: 2.328 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001998/0.2867, allocations: 198.7 kB / 406.6 MB, free: 2.125 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.716e-05/0.2867, allocations: 33.64 kB / 406.7 MB, free: 2.086 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001032/0.2868, allocations: 152.2 kB / 406.8 MB, free: 1.934 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.33e-05/0.2869, allocations: 79.34 kB / 406.9 MB, free: 1.855 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.37e-05/0.287, allocations: 49.95 kB / 406.9 MB, free: 1.797 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.2871, allocations: 330.8 kB / 407.3 MB, free: 1.465 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.094e-05/0.2872, allocations: 48.55 kB / 407.3 MB, free: 1.418 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001556/0.2873, allocations: 155.7 kB / 407.5 MB, free: 1.219 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002572/0.2876, allocations: 221.5 kB / 407.7 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.2876, allocations: 0 / 407.7 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003852/0.288, allocations: 249.2 kB / 407.9 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.288, allocations: 4 kB / 407.9 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.2881, allocations: 4 kB / 407.9 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.2881, allocations: 4 kB / 407.9 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002197/0.2883, allocations: 55.92 kB / 408 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.397e-05/0.2883, allocations: 17.14 kB / 408 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001465/0.2885, allocations: 31.78 kB / 408 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.063e-05/0.2885, allocations: 12.19 kB / 408.1 MB, free: 0.5781 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.0001235/0.2886, allocations: 141.7 kB / 408.2 MB, free: 440 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.005e-05/0.2887, allocations: 23.8 kB / 408.2 MB, free: 416 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.443e-05/0.2888, allocations: 29.39 kB / 408.2 MB, free: 384 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/0.2888, allocations: 3.984 kB / 408.3 MB, free: 380 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.2888, allocations: 0 / 408.3 MB, free: 380 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.2888, allocations: 4 kB / 408.3 MB, free: 376 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006082/0.2894, allocations: 420.9 kB / 408.7 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.2895, allocations: 0 / 408.7 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001964/0.2897, allocations: 47.91 kB / 408.7 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.2897, allocations: 0 / 408.7 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.688e-05/0.2897, allocations: 4 kB / 408.7 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.2897, allocations: 4 kB / 408.7 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.2897, allocations: 0 / 408.7 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004155/0.2901, allocations: 385.2 kB / 409.1 MB, free: 15.43 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.22e-05/0.2902, allocations: 96.91 kB / 409.2 MB, free: 15.32 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.713e-05/0.2903, allocations: 19.97 kB / 409.2 MB, free: 15.3 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001328/0.2904, allocations: 0 / 409.2 MB, free: 15.3 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.025e-05/0.2904, allocations: 23.92 kB / 409.2 MB, free: 15.28 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.656e-06/0.2905, allocations: 4 kB / 409.2 MB, free: 15.27 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001312/0.2906, allocations: 140.3 kB / 409.4 MB, free: 15.14 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2906, allocations: 0 / 409.4 MB, free: 15.14 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003674/0.291, allocations: 51.89 kB / 409.4 MB, free: 15.09 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.0007348/0.2917, allocations: 0.9126 MB / 410.3 MB, free: 14.14 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002865/0.292, allocations: 148.6 kB / 410.5 MB, free: 13.99 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.292, allocations: 0 / 410.5 MB, free: 13.99 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.518e-05/0.2921, allocations: 51.92 kB / 410.5 MB, free: 13.94 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005275/0.2926, allocations: 31.02 kB / 410.6 MB, free: 13.91 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002847/0.2955, allocations: 2.569 MB / 413.1 MB, free: 11.14 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003375/0.2959, allocations: 0.732 MB / 413.9 MB, free: 10.38 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.148e-05/0.296, allocations: 21.94 kB / 413.9 MB, free: 10.36 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.567e-05/0.2961, allocations: 55.42 kB / 413.9 MB, free: 10.31 MB / 334.1 MB Notification: Performance of SimCode: time 2.21e-07/0.2961, allocations: 4 kB / 413.9 MB, free: 10.3 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0221/0.3182, allocations: 3.742 MB / 417.7 MB, free: 6.672 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.463/7.781, allocations: 7.641 kB / 417.7 MB, free: 6.668 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