Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Accelerate,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_Accelerate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Accelerate,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_Accelerate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001264/0.001264, allocations: 121.1 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001402/0.001402, allocations: 203.8 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.454/1.454, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001912/0.001912, allocations: 67.88 kB / 358.2 MB, free: 13.46 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2775/0.2794, allocations: 50.54 MB / 408.7 MB, free: 1.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.002999/0.2824, allocations: 1.654 MB / 410.4 MB, free: 15.92 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002555/0.2827, allocations: 75.77 kB / 410.5 MB, free: 15.84 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.891e-05/0.2828, allocations: 0 / 410.5 MB, free: 15.84 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001176/0.2829, allocations: 11.88 kB / 410.5 MB, free: 15.83 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.693e-05/0.283, allocations: 15.84 kB / 410.5 MB, free: 15.82 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001288/0.2831, allocations: 15.98 kB / 410.5 MB, free: 15.8 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001349/0.2833, allocations: 67.66 kB / 410.6 MB, free: 15.73 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.2834, allocations: 16 kB / 410.6 MB, free: 15.72 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.083e-05/0.2834, allocations: 31.91 kB / 410.6 MB, free: 15.69 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.566e-05/0.2835, allocations: 23.92 kB / 410.7 MB, free: 15.66 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.728e-05/0.2835, allocations: 7.938 kB / 410.7 MB, free: 15.66 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.46e-05/0.2836, allocations: 4 kB / 410.7 MB, free: 15.65 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.066e-05/0.2836, allocations: 8 kB / 410.7 MB, free: 15.64 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.499e-05/0.2836, allocations: 31.86 kB / 410.7 MB, free: 15.61 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001406/0.2838, allocations: 66.73 kB / 410.8 MB, free: 15.55 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.2838, allocations: 0 / 410.8 MB, free: 15.55 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2838, allocations: 0 / 410.8 MB, free: 15.55 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.2838, allocations: 0 / 410.8 MB, free: 15.55 MB / 334.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.00053/0.2843, allocations: 363.3 kB / 411.1 MB, free: 15.14 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.2844, allocations: 12.03 kB / 411.1 MB, free: 15.13 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.615e-05/0.2844, allocations: 34.75 kB / 411.2 MB, free: 15.09 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.87e-05/0.2845, allocations: 12.83 kB / 411.2 MB, free: 15.08 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002131/0.2847, allocations: 188.2 kB / 411.4 MB, free: 14.86 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/0.2847, allocations: 384 / 411.4 MB, free: 14.86 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.576e-05/0.2847, allocations: 8.375 kB / 411.4 MB, free: 14.85 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001508/0.2849, allocations: 66.23 kB / 411.4 MB, free: 14.78 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.688e-05/0.2849, allocations: 15.88 kB / 411.5 MB, free: 14.76 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/0.2849, allocations: 7.938 kB / 411.5 MB, free: 14.75 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.285, allocations: 0 / 411.5 MB, free: 14.75 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.387e-05/0.285, allocations: 39.91 kB / 411.5 MB, free: 14.71 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006357/0.2857, allocations: 379.6 kB / 411.9 MB, free: 14.29 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001043/0.2858, allocations: 58.5 kB / 411.9 MB, free: 14.22 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.472e-05/0.2858, allocations: 16.86 kB / 411.9 MB, free: 14.2 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.242e-05/0.2859, allocations: 7.984 kB / 412 MB, free: 14.19 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.435e-05/0.2859, allocations: 34.56 kB / 412 MB, free: 14.15 MB / 334.1 MB Notification: Performance of pre-optimization done (n=7): time 1.223e-06/0.2859, allocations: 0 / 412 MB, free: 14.15 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007591/0.2867, allocations: 0.5136 MB / 412.5 MB, free: 13.54 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.372e-05/0.2867, allocations: 55.41 kB / 412.6 MB, free: 13.48 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001068/0.2868, allocations: 121.8 kB / 412.7 MB, free: 13.35 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.827e-05/0.2869, allocations: 25.7 kB / 412.7 MB, free: 13.32 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.586e-05/0.2869, allocations: 92.09 kB / 412.8 MB, free: 13.22 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.119e-05/0.287, allocations: 35.69 kB / 412.8 MB, free: 13.19 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.749e-05/0.287, allocations: 29.7 kB / 412.8 MB, free: 13.15 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.2872, allocations: 314.8 kB / 413.2 MB, free: 12.84 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.872e-05/0.2872, allocations: 19.98 kB / 413.2 MB, free: 12.82 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.177e-05/0.2873, allocations: 65.08 kB / 413.2 MB, free: 12.73 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001225/0.2874, allocations: 85.08 kB / 413.3 MB, free: 12.63 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.2874, allocations: 0 / 413.3 MB, free: 12.63 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001721/0.2876, allocations: 117.5 kB / 413.4 MB, free: 12.51 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.2876, allocations: 8.469 kB / 413.4 MB, free: 12.5 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.698e-06/0.2876, allocations: 0 / 413.4 MB, free: 12.5 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.2877, allocations: 0 / 413.4 MB, free: 12.5 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.11e-05/0.2878, allocations: 31.92 kB / 413.5 MB, free: 12.47 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.117e-05/0.2878, allocations: 7.938 kB / 413.5 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.775e-05/0.2878, allocations: 3.938 kB / 413.5 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.445e-06/0.2878, allocations: 4 kB / 413.5 MB, free: 12.46 MB / 334.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.0001017/0.2879, allocations: 121.9 kB / 413.6 MB, free: 12.33 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.997e-05/0.288, allocations: 7.953 kB / 413.6 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.705e-05/0.288, allocations: 8.375 kB / 413.6 MB, free: 12.31 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.288, allocations: 4 kB / 413.6 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.288, allocations: 3.938 kB / 413.6 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.2881, allocations: 3.984 kB / 413.6 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005007/0.2886, allocations: 418.4 kB / 414 MB, free: 11.82 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.2886, allocations: 0 / 414 MB, free: 11.82 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.766e-05/0.2887, allocations: 23.98 kB / 414.1 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.2887, allocations: 0 / 414.1 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/0.2887, allocations: 4 kB / 414.1 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.2887, allocations: 3.938 kB / 414.1 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.2887, allocations: 4 kB / 414.1 MB, free: 11.78 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002529/0.289, allocations: 231.8 kB / 414.3 MB, free: 11.52 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.35e-05/0.2891, allocations: 93.05 kB / 414.4 MB, free: 11.41 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.487e-05/0.2891, allocations: 0 / 414.4 MB, free: 11.41 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.893e-05/0.2892, allocations: 4 kB / 414.4 MB, free: 11.41 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.655e-05/0.2892, allocations: 8.062 kB / 414.4 MB, free: 11.4 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.614e-06/0.2892, allocations: 8 kB / 414.4 MB, free: 11.39 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.691e-05/0.2892, allocations: 91.27 kB / 414.5 MB, free: 11.3 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2893, allocations: 0 / 414.5 MB, free: 11.3 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002434/0.2895, allocations: 12 kB / 414.5 MB, free: 11.29 MB / 334.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.0005405/0.29, allocations: 0.7829 MB / 415.3 MB, free: 10.47 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001351/0.2902, allocations: 60.05 kB / 415.4 MB, free: 10.41 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.2902, allocations: 4.062 kB / 415.4 MB, free: 10.41 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.06e-05/0.2903, allocations: 27.92 kB / 415.4 MB, free: 10.38 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003074/0.2906, allocations: 8 kB / 415.4 MB, free: 10.38 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001757/0.2923, allocations: 1.661 MB / 417.1 MB, free: 8.57 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003377/0.2927, allocations: 0.6963 MB / 417.8 MB, free: 7.848 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.598e-05/0.2927, allocations: 8.422 kB / 417.8 MB, free: 7.84 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.757e-05/0.2928, allocations: 19.44 kB / 417.8 MB, free: 7.82 MB / 334.1 MB Notification: Performance of SimCode: time 5.01e-07/0.2928, allocations: 3.938 kB / 417.8 MB, free: 7.816 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02375/0.3165, allocations: 1.911 MB / 419.7 MB, free: 6 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.689/8.005, allocations: 6.438 kB / 419.7 MB, free: 5.996 MB / 334.1 MB (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Mechanics_Translational_Examples_Accelerate.fmu > Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/Accelerate/Accelerate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches