Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.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.Accelerate,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_Accelerate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Accelerate,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_Accelerate",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.001174/0.001174, allocations: 109.8 kB / 17.06 MB, free: 6.016 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.001044/0.001044, allocations: 191 kB / 18 MB, free: 5.102 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.344/1.344, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0011/0.0011, allocations: 51.86 kB / 350.8 MB, free: 3.754 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2745/0.2756, allocations: 49.43 MB / 400.2 MB, free: 8.414 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.003022/0.2786, allocations: 1.649 MB / 401.9 MB, free: 7.125 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003013/0.279, allocations: 66.17 kB / 401.9 MB, free: 7.07 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.148e-05/0.2791, allocations: 1.125 kB / 401.9 MB, free: 7.07 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001111/0.2792, allocations: 14.11 kB / 401.9 MB, free: 7.059 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.579e-05/0.2793, allocations: 17 kB / 402 MB, free: 7.043 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001448/0.2794, allocations: 15.48 kB / 402 MB, free: 7.031 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001502/0.2796, allocations: 66.89 kB / 402 MB, free: 6.984 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001459/0.2798, allocations: 27.97 kB / 402.1 MB, free: 6.957 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.037e-05/0.2798, allocations: 19.94 kB / 402.1 MB, free: 6.938 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001006/0.2799, allocations: 27.91 kB / 402.1 MB, free: 6.91 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.237e-05/0.28, allocations: 4 kB / 402.1 MB, free: 6.906 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.834e-05/0.28, allocations: 7.938 kB / 402.1 MB, free: 6.898 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.676e-05/0.28, allocations: 8 kB / 402.1 MB, free: 6.891 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.159e-05/0.2801, allocations: 35.84 kB / 402.2 MB, free: 6.855 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001742/0.2802, allocations: 66.83 kB / 402.2 MB, free: 6.793 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.2803, allocations: 0 / 402.2 MB, free: 6.793 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.2803, allocations: 0 / 402.2 MB, free: 6.793 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.598e-06/0.2803, allocations: 0 / 402.2 MB, free: 6.793 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005515/0.2808, allocations: 363.3 kB / 402.6 MB, free: 6.387 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.935e-05/0.2809, allocations: 12.03 kB / 402.6 MB, free: 6.375 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.199e-05/0.281, allocations: 38.69 kB / 402.6 MB, free: 6.328 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.755e-05/0.281, allocations: 8.891 kB / 402.6 MB, free: 6.32 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002689/0.2813, allocations: 176.3 kB / 402.8 MB, free: 6.109 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.386e-05/0.2813, allocations: 8.375 kB / 402.8 MB, free: 6.102 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.429e-05/0.2814, allocations: 8.359 kB / 402.8 MB, free: 6.094 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001683/0.2815, allocations: 66.25 kB / 402.9 MB, free: 6.023 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.817e-05/0.2816, allocations: 15.88 kB / 402.9 MB, free: 6.008 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.478e-05/0.2816, allocations: 4 kB / 402.9 MB, free: 6.004 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.7e-06/0.2816, allocations: 3.938 kB / 402.9 MB, free: 6 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.836e-05/0.2817, allocations: 35.92 kB / 403 MB, free: 5.965 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006985/0.2824, allocations: 383.6 kB / 403.3 MB, free: 5.535 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001065/0.2825, allocations: 62.48 kB / 403.4 MB, free: 5.465 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.513e-05/0.2826, allocations: 20.86 kB / 403.4 MB, free: 5.441 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.182e-05/0.2826, allocations: 0 / 403.4 MB, free: 5.441 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.418e-05/0.2826, allocations: 34.56 kB / 403.4 MB, free: 5.398 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 1.002e-06/0.2826, allocations: 0 / 403.4 MB, free: 5.398 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007609/0.2834, allocations: 0.5139 MB / 404 MB, free: 4.793 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.869e-05/0.2834, allocations: 55.41 kB / 404 MB, free: 4.727 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001114/0.2836, allocations: 125.8 kB / 404.1 MB, free: 4.594 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.222e-05/0.2836, allocations: 25.7 kB / 404.2 MB, free: 4.562 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.299e-05/0.2836, allocations: 88.09 kB / 404.2 MB, free: 4.473 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.3e-05/0.2837, allocations: 35.69 kB / 404.3 MB, free: 4.438 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.106e-05/0.2837, allocations: 25.72 kB / 404.3 MB, free: 4.406 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001188/0.2838, allocations: 322.8 kB / 404.6 MB, free: 4.082 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.79e-05/0.2839, allocations: 12 kB / 404.6 MB, free: 4.07 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.343e-05/0.284, allocations: 72.2 kB / 404.7 MB, free: 3.984 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001095/0.2841, allocations: 85.08 kB / 404.8 MB, free: 3.883 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.2841, allocations: 4 kB / 404.8 MB, free: 3.879 MB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001526/0.2842, allocations: 109.5 kB / 404.9 MB, free: 3.766 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.2843, allocations: 4 kB / 404.9 MB, free: 3.762 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.2843, allocations: 4 kB / 404.9 MB, free: 3.758 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.2843, allocations: 0 / 404.9 MB, free: 3.758 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001023/0.2844, allocations: 27.92 kB / 404.9 MB, free: 3.73 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.2844, allocations: 4.406 kB / 404.9 MB, free: 3.727 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.945e-05/0.2845, allocations: 4 kB / 404.9 MB, free: 3.723 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-06/0.2845, allocations: 4 kB / 404.9 MB, free: 3.719 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (13): * Single equations (assignments): 13 * 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.949e-05/0.2846, allocations: 129.9 kB / 405.1 MB, free: 3.582 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.83e-05/0.2846, allocations: 4 kB / 405.1 MB, free: 3.578 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.051e-05/0.2846, allocations: 12.31 kB / 405.1 MB, free: 3.562 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.2846, allocations: 4 kB / 405.1 MB, free: 3.559 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.2847, allocations: 3.938 kB / 405.1 MB, free: 3.555 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.2847, allocations: 0 / 405.1 MB, free: 3.555 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005005/0.2852, allocations: 414.7 kB / 405.5 MB, free: 3.078 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.2852, allocations: 7.984 kB / 405.5 MB, free: 3.07 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001023/0.2853, allocations: 23.97 kB / 405.5 MB, free: 3.047 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.2853, allocations: 0 / 405.5 MB, free: 3.047 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.2853, allocations: 4 kB / 405.5 MB, free: 3.043 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.2853, allocations: 3.938 kB / 405.5 MB, free: 3.039 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.2853, allocations: 4 kB / 405.5 MB, free: 3.035 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002529/0.2856, allocations: 231.8 kB / 405.8 MB, free: 2.777 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.892e-05/0.2856, allocations: 85.06 kB / 405.9 MB, free: 2.676 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.982e-05/0.2857, allocations: 4 kB / 405.9 MB, free: 2.672 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.106e-05/0.2858, allocations: 8.062 kB / 405.9 MB, free: 2.664 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.999e-05/0.2858, allocations: 11.98 kB / 405.9 MB, free: 2.652 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-06/0.2858, allocations: 4 kB / 405.9 MB, free: 2.648 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.097e-05/0.2859, allocations: 95.27 kB / 406 MB, free: 2.555 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2859, allocations: 0 / 406 MB, free: 2.555 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002607/0.2861, allocations: 16 kB / 406 MB, free: 2.539 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (accelerate.s,accelerate.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 (9): * Single equations (assignments): 9 * 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.000511/0.2866, allocations: 0.7677 MB / 406.8 MB, free: 1.73 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001488/0.2868, allocations: 67.91 kB / 406.8 MB, free: 1.664 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.2868, allocations: 3.938 kB / 406.8 MB, free: 1.66 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.473e-05/0.2869, allocations: 23.94 kB / 406.9 MB, free: 1.637 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003365/0.2872, allocations: 16.05 kB / 406.9 MB, free: 1.621 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001607/0.2888, allocations: 1.67 MB / 408.5 MB, free: 15.81 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003427/0.2892, allocations: 0.7006 MB / 409.2 MB, free: 15.09 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.929e-05/0.2892, allocations: 12.41 kB / 409.3 MB, free: 15.07 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.496e-05/0.2893, allocations: 19.44 kB / 409.3 MB, free: 15.05 MB / 334.1 MB Notification: Performance of SimCode: time 1.453e-06/0.2893, allocations: 4 kB / 409.3 MB, free: 15.05 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02061/0.3099, allocations: 1.904 MB / 411.2 MB, free: 13.24 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.531/7.841, allocations: 7.844 kB / 411.2 MB, free: 13.23 MB / 334.1 MB (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate_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_Accelerate.fmu > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Accelerate/Accelerate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches