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.001248/0.001248, allocations: 112.6 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.001313/0.001313, allocations: 193.4 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.409/1.409, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001495/0.001495, allocations: 47.92 kB / 350.8 MB, free: 3.777 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2751/0.2766, allocations: 49.44 MB / 400.2 MB, free: 8.414 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.003051/0.2797, allocations: 1.631 MB / 401.9 MB, free: 7.141 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002627/0.28, allocations: 62.25 kB / 401.9 MB, free: 7.09 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.197e-05/0.2801, allocations: 10.09 kB / 401.9 MB, free: 7.082 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001085/0.2802, allocations: 13.05 kB / 401.9 MB, free: 7.07 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 5.163e-05/0.2803, allocations: 17.94 kB / 402 MB, free: 7.055 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001304/0.2804, allocations: 14.2 kB / 402 MB, free: 7.043 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001343/0.2805, allocations: 66.27 kB / 402 MB, free: 7.004 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001249/0.2807, allocations: 25.94 kB / 402.1 MB, free: 6.988 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.965e-05/0.2807, allocations: 20.91 kB / 402.1 MB, free: 6.969 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.485e-05/0.2808, allocations: 35.89 kB / 402.1 MB, free: 6.934 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.572e-05/0.2809, allocations: 4 kB / 402.1 MB, free: 6.93 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.815e-05/0.2809, allocations: 4 kB / 402.1 MB, free: 6.926 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.959e-05/0.2809, allocations: 11.94 kB / 402.1 MB, free: 6.914 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.9e-05/0.281, allocations: 31.86 kB / 402.2 MB, free: 6.883 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001486/0.2811, allocations: 66.77 kB / 402.2 MB, free: 6.82 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.2811, allocations: 0 / 402.2 MB, free: 6.82 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.238e-06/0.2812, allocations: 3.984 kB / 402.2 MB, free: 6.816 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.269e-06/0.2812, allocations: 0 / 402.2 MB, free: 6.816 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.0005724/0.2817, allocations: 371.3 kB / 402.6 MB, free: 6.402 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.2818, allocations: 8.031 kB / 402.6 MB, free: 6.395 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.302e-05/0.2818, allocations: 34.75 kB / 402.6 MB, free: 6.352 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.13e-05/0.2819, allocations: 8.891 kB / 402.6 MB, free: 6.344 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002367/0.2821, allocations: 180.3 kB / 402.8 MB, free: 6.129 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.69e-05/0.2821, allocations: 8.375 kB / 402.8 MB, free: 6.121 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.482e-05/0.2822, allocations: 8.375 kB / 402.8 MB, free: 6.113 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001572/0.2823, allocations: 70.17 kB / 402.9 MB, free: 6.039 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.769e-05/0.2824, allocations: 7.891 kB / 402.9 MB, free: 6.031 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.574e-05/0.2824, allocations: 11.98 kB / 402.9 MB, free: 6.02 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.128e-06/0.2824, allocations: 0 / 402.9 MB, free: 6.02 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.113e-05/0.2825, allocations: 35.92 kB / 403 MB, free: 5.984 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006763/0.2832, allocations: 379.6 kB / 403.3 MB, free: 5.555 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001135/0.2833, allocations: 54.56 kB / 403.4 MB, free: 5.492 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.661e-05/0.2834, allocations: 16.86 kB / 403.4 MB, free: 5.473 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.349e-05/0.2834, allocations: 4 kB / 403.4 MB, free: 5.469 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.549e-05/0.2834, allocations: 34.56 kB / 403.4 MB, free: 5.426 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 1.282e-06/0.2834, allocations: 0 / 403.4 MB, free: 5.426 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.000807/0.2842, allocations: 0.5131 MB / 404 MB, free: 4.82 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.608e-05/0.2843, allocations: 55.41 kB / 404 MB, free: 4.754 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001102/0.2844, allocations: 129.8 kB / 404.1 MB, free: 4.617 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.735e-05/0.2844, allocations: 29.69 kB / 404.2 MB, free: 4.582 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.859e-05/0.2845, allocations: 92.09 kB / 404.3 MB, free: 4.488 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.92e-05/0.2846, allocations: 35.69 kB / 404.3 MB, free: 4.453 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.482e-05/0.2846, allocations: 25.72 kB / 404.3 MB, free: 4.422 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001654/0.2848, allocations: 318.8 kB / 404.6 MB, free: 4.102 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.458e-05/0.2848, allocations: 16 kB / 404.6 MB, free: 4.086 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.796e-05/0.2849, allocations: 59.14 kB / 404.7 MB, free: 4.012 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001143/0.285, allocations: 85.08 kB / 404.8 MB, free: 3.91 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.285, allocations: 0 / 404.8 MB, free: 3.91 MB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001873/0.2852, allocations: 117.5 kB / 404.9 MB, free: 3.789 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.2853, allocations: 8 kB / 404.9 MB, free: 3.781 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.2853, allocations: 0 / 404.9 MB, free: 3.781 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.2853, allocations: 4 kB / 404.9 MB, free: 3.777 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.344e-05/0.2854, allocations: 23.92 kB / 404.9 MB, free: 3.754 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.909e-06/0.2854, allocations: 7.938 kB / 404.9 MB, free: 3.746 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.895e-05/0.2854, allocations: 4 kB / 404.9 MB, free: 3.742 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.714e-06/0.2854, allocations: 4 kB / 404.9 MB, free: 3.738 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 0.0001011/0.2856, allocations: 129.8 kB / 405.1 MB, free: 3.602 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.755e-05/0.2856, allocations: 8 kB / 405.1 MB, free: 3.594 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.093e-05/0.2856, allocations: 12.38 kB / 405.1 MB, free: 3.582 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.584e-06/0.2856, allocations: 0 / 405.1 MB, free: 3.582 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/0.2856, allocations: 3.938 kB / 405.1 MB, free: 3.578 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.2856, allocations: 0 / 405.1 MB, free: 3.578 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000504/0.2862, allocations: 406.6 kB / 405.5 MB, free: 3.109 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.2862, allocations: 0 / 405.5 MB, free: 3.109 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.861e-05/0.2863, allocations: 27.86 kB / 405.5 MB, free: 3.082 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.2863, allocations: 4 kB / 405.5 MB, free: 3.078 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.2863, allocations: 4 kB / 405.5 MB, free: 3.074 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.771e-06/0.2863, allocations: 8 kB / 405.5 MB, free: 3.066 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2863, allocations: 0 / 405.5 MB, free: 3.066 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000254/0.2866, allocations: 232.2 kB / 405.8 MB, free: 2.809 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.169e-05/0.2866, allocations: 85.19 kB / 405.8 MB, free: 2.707 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.745e-05/0.2867, allocations: 7.938 kB / 405.9 MB, free: 2.699 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.43e-05/0.2867, allocations: 4 kB / 405.9 MB, free: 2.695 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.051e-05/0.2868, allocations: 15.98 kB / 405.9 MB, free: 2.68 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.313e-06/0.2868, allocations: 4 kB / 405.9 MB, free: 2.676 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.84e-05/0.2868, allocations: 95.27 kB / 406 MB, free: 2.582 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2868, allocations: 0 / 406 MB, free: 2.582 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002451/0.2871, allocations: 12 kB / 406 MB, free: 2.57 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.0005699/0.2877, allocations: 0.7673 MB / 406.8 MB, free: 1.762 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001522/0.2878, allocations: 67.84 kB / 406.8 MB, free: 1.695 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2878, allocations: 4.25 kB / 406.8 MB, free: 1.691 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.836e-05/0.2879, allocations: 23.94 kB / 406.8 MB, free: 1.668 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003081/0.2882, allocations: 19.08 kB / 406.9 MB, free: 1.652 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001887/0.2901, allocations: 1.667 MB / 408.5 MB, free: 15.84 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003733/0.2905, allocations: 0.6967 MB / 409.2 MB, free: 15.12 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.121e-05/0.2905, allocations: 16.41 kB / 409.2 MB, free: 15.11 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.991e-05/0.2906, allocations: 19.44 kB / 409.3 MB, free: 15.09 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2906, allocations: 384 / 409.3 MB, free: 15.09 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02255/0.3132, allocations: 1.898 MB / 411.2 MB, free: 13.27 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.741/8.054, allocations: 25.25 kB / 411.2 MB, free: 13.26 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