Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Accelerate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Accelerate,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Mechanics_Translational_Examples_Accelerate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Accelerate,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Mechanics_Translational_Examples_Accelerate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008554/0.0008554, allocations: 177 kB / 16.72 MB, free: 4.957 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.192/1.192, allocations: 205.4 MB / 222.9 MB, free: 9.023 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008414/0.0008413, allocations: 103.6 kB / 271.2 MB, free: 8.238 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003334/0.0003335, allocations: 8 kB / 327.6 MB, free: 15.8 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.197/0.1974, allocations: 47.58 MB / 375.2 MB, free: 45.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.001559/0.199, allocations: 1.327 MB / 376.5 MB, free: 44.38 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002269/0.1992, allocations: 66.39 kB / 376.6 MB, free: 44.32 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.733e-05/0.1993, allocations: 5 kB / 376.6 MB, free: 44.32 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 8.385e-05/0.1994, allocations: 4.969 kB / 376.6 MB, free: 44.32 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 4.387e-05/0.1994, allocations: 14 kB / 376.6 MB, free: 44.3 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001215/0.1996, allocations: 15 kB / 376.6 MB, free: 44.29 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001012/0.1997, allocations: 60.56 kB / 376.7 MB, free: 44.26 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.1998, allocations: 20.25 kB / 376.7 MB, free: 44.25 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.926e-05/0.1998, allocations: 22.02 kB / 376.7 MB, free: 44.23 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.635e-05/0.1999, allocations: 24.16 kB / 376.7 MB, free: 44.22 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.65e-05/0.1999, allocations: 3.25 kB / 376.7 MB, free: 44.22 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.382e-05/0.1999, allocations: 2.312 kB / 376.7 MB, free: 44.22 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.461e-05/0.2, allocations: 9.625 kB / 376.8 MB, free: 44.21 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.095e-05/0.2, allocations: 55.91 kB / 376.8 MB, free: 44.16 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 7.425e-05/0.2001, allocations: 44.8 kB / 376.9 MB, free: 44.13 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.2001, allocations: 1.188 kB / 376.9 MB, free: 44.13 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.2001, allocations: 0 / 376.9 MB, free: 44.13 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.2001, allocations: 4 kB / 376.9 MB, free: 44.12 MB / 298.7 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.0003348/0.2005, allocations: 349.6 kB / 377.2 MB, free: 43.75 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.2005, allocations: 8.312 kB / 377.2 MB, free: 43.75 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.945e-05/0.2005, allocations: 40.89 kB / 377.2 MB, free: 43.7 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.832e-05/0.2006, allocations: 9.062 kB / 377.3 MB, free: 43.7 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001265/0.2007, allocations: 181.8 kB / 377.4 MB, free: 43.49 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.195e-06/0.2007, allocations: 2.625 kB / 377.4 MB, free: 43.49 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.711e-05/0.2008, allocations: 13.78 kB / 377.4 MB, free: 43.48 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000138/0.2009, allocations: 68.33 kB / 377.5 MB, free: 43.43 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/0.2009, allocations: 12.86 kB / 377.5 MB, free: 43.41 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.2009, allocations: 4.969 kB / 377.5 MB, free: 43.41 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.249e-06/0.201, allocations: 1.188 kB / 377.5 MB, free: 43.41 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.788e-05/0.201, allocations: 34.72 kB / 377.6 MB, free: 43.39 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005323/0.2016, allocations: 373.6 kB / 377.9 MB, free: 43.02 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.755e-05/0.2017, allocations: 58.31 kB / 378 MB, free: 42.98 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.11e-05/0.2017, allocations: 20.31 kB / 378 MB, free: 42.96 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.339e-05/0.2017, allocations: 1 kB / 378 MB, free: 42.96 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.333e-05/0.2018, allocations: 39.52 kB / 378 MB, free: 42.91 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 1.453e-06/0.2018, allocations: 0 / 378 MB, free: 42.91 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005699/0.2023, allocations: 0.5152 MB / 378.6 MB, free: 42.39 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.427e-05/0.2024, allocations: 56.56 kB / 378.6 MB, free: 42.33 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.37e-05/0.2024, allocations: 119.6 kB / 378.7 MB, free: 42.21 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.306e-06/0.2025, allocations: 26.73 kB / 378.8 MB, free: 42.18 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.986e-05/0.2025, allocations: 93.7 kB / 378.9 MB, free: 42.09 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.841e-05/0.2025, allocations: 35.81 kB / 378.9 MB, free: 42.06 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.719e-06/0.2025, allocations: 5.062 kB / 378.9 MB, free: 42.05 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.942e-05/0.2026, allocations: 320.9 kB / 379.2 MB, free: 41.73 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.181e-05/0.2026, allocations: 17.66 kB / 379.2 MB, free: 41.73 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.685e-05/0.2027, allocations: 59.36 kB / 379.3 MB, free: 41.66 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.653e-05/0.2028, allocations: 91.36 kB / 379.4 MB, free: 41.58 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.2028, allocations: 480 / 379.4 MB, free: 41.58 MB / 298.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001355/0.2029, allocations: 109.1 kB / 379.5 MB, free: 41.51 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.2029, allocations: 5.75 kB / 379.5 MB, free: 41.51 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.2029, allocations: 1.125 kB / 379.5 MB, free: 41.51 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.203, allocations: 2.281 kB / 379.5 MB, free: 41.51 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.079e-05/0.203, allocations: 26.25 kB / 379.5 MB, free: 41.5 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.2031, allocations: 6.281 kB / 379.5 MB, free: 41.5 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.848e-05/0.2031, allocations: 18.38 kB / 379.5 MB, free: 41.48 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-06/0.2031, allocations: 3.219 kB / 379.5 MB, free: 41.48 MB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.237e-05/0.2032, allocations: 119.6 kB / 379.7 MB, free: 41.36 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.664e-05/0.2032, allocations: 7.297 kB / 379.7 MB, free: 41.36 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.635e-05/0.2032, allocations: 9.5 kB / 379.7 MB, free: 41.36 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.2032, allocations: 2.25 kB / 379.7 MB, free: 41.36 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.2032, allocations: 3.938 kB / 379.7 MB, free: 41.35 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.2033, allocations: 0 / 379.7 MB, free: 41.35 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000377/0.2036, allocations: 416.8 kB / 380.1 MB, free: 40.93 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.2037, allocations: 2.344 kB / 380.1 MB, free: 40.93 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.856e-05/0.2037, allocations: 18.48 kB / 380.1 MB, free: 40.93 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.506e-06/0.2038, allocations: 2.688 kB / 380.1 MB, free: 40.93 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.034e-05/0.2038, allocations: 2.375 kB / 380.1 MB, free: 40.93 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.2038, allocations: 6.344 kB / 380.1 MB, free: 40.92 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.2038, allocations: 1.156 kB / 380.1 MB, free: 40.92 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001805/0.204, allocations: 235.3 kB / 380.3 MB, free: 40.7 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.412e-05/0.204, allocations: 91.98 kB / 380.4 MB, free: 40.6 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.759e-05/0.204, allocations: 3.312 kB / 380.4 MB, free: 40.6 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.293e-05/0.2041, allocations: 4 kB / 380.4 MB, free: 40.59 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.139e-05/0.2041, allocations: 8.078 kB / 380.5 MB, free: 40.59 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.2041, allocations: 3.75 kB / 380.5 MB, free: 40.59 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.284e-05/0.2042, allocations: 92.64 kB / 380.5 MB, free: 40.51 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2042, allocations: 0 / 380.5 MB, free: 40.51 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002296/0.2044, allocations: 16.91 kB / 380.6 MB, free: 40.5 MB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003035/0.2047, allocations: 0.768 MB / 381.3 MB, free: 39.75 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001202/0.2049, allocations: 54.33 kB / 381.4 MB, free: 39.73 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.2049, allocations: 0 / 381.4 MB, free: 39.73 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.551e-05/0.2049, allocations: 32.55 kB / 381.4 MB, free: 39.71 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003088/0.2052, allocations: 18.73 kB / 381.4 MB, free: 39.7 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000845/0.2061, allocations: 0.7734 MB / 382.2 MB, free: 39 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001016/0.2062, allocations: 0.6919 MB / 382.9 MB, free: 38.3 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.175e-05/0.2062, allocations: 25.47 kB / 382.9 MB, free: 38.28 MB / 298.7 MB Notification: Performance of SimCode: time 3.01e-07/0.2062, allocations: 0 / 382.9 MB, free: 38.28 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.451/2.657, allocations: 1.295 MB / 384.2 MB, free: 37.62 MB / 298.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Accelerate.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Accelerate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Accelerate_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Mechanics_Translational_Examples_Accelerate_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Mechanics_Translational_Examples_Accelerate.fmu > Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Accelerate.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Accelerate_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/Accelerate/Accelerate.csv","../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Accelerate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches