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: translateModel(Modelica.Mechanics.Translational.Examples.Accelerate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|accelerate.s|accelerate.v",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Accelerate") translateModel(Modelica.Mechanics.Translational.Examples.Accelerate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|accelerate.s|accelerate.v",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Accelerate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008805/0.0008805, allocations: 177.5 kB / 16.41 MB, free: 5.707 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.345/1.345, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.0009287/0.000929, allocations: 90.3 kB / 270.9 MB, free: 8.355 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002763/0.0002764, allocations: 8 kB / 327 MB, free: 200 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1951/0.1954, allocations: 47.57 MB / 374.5 MB, free: 45.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.001476/0.1969, allocations: 1.323 MB / 375.9 MB, free: 44.39 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000207/0.1972, allocations: 69.8 kB / 375.9 MB, free: 44.33 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.934e-05/0.1972, allocations: 1.156 kB / 375.9 MB, free: 44.33 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 7.264e-05/0.1973, allocations: 5.125 kB / 375.9 MB, free: 44.32 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 4.207e-05/0.1974, allocations: 21.88 kB / 376 MB, free: 44.3 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001051/0.1975, allocations: 7.625 kB / 376 MB, free: 44.3 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.955e-05/0.1976, allocations: 68.64 kB / 376 MB, free: 44.26 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.619e-05/0.1977, allocations: 10.97 kB / 376 MB, free: 44.25 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.648e-05/0.1977, allocations: 21.73 kB / 376.1 MB, free: 44.24 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.652e-05/0.1978, allocations: 19.92 kB / 376.1 MB, free: 44.23 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.49e-05/0.1978, allocations: 7.281 kB / 376.1 MB, free: 44.23 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.556e-05/0.1978, allocations: 2.375 kB / 376.1 MB, free: 44.23 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.133e-05/0.1978, allocations: 6.125 kB / 376.1 MB, free: 44.22 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.401e-05/0.1979, allocations: 40.17 kB / 376.1 MB, free: 44.18 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 7.389e-05/0.1979, allocations: 52.44 kB / 376.2 MB, free: 44.14 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.198, allocations: 0 / 376.2 MB, free: 44.14 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.198, allocations: 0 / 376.2 MB, free: 44.14 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.198, allocations: 1.156 kB / 376.2 MB, free: 44.14 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.0003307/0.1983, allocations: 353.1 kB / 376.5 MB, free: 43.77 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.1984, allocations: 13.06 kB / 376.6 MB, free: 43.77 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.749e-05/0.1984, allocations: 7.281 kB / 376.6 MB, free: 43.76 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001328/0.1985, allocations: 176.4 kB / 376.7 MB, free: 43.55 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.1986, allocations: 10.27 kB / 376.7 MB, free: 43.55 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.435e-05/0.1986, allocations: 5.438 kB / 376.7 MB, free: 43.55 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001333/0.1987, allocations: 71.52 kB / 376.8 MB, free: 43.49 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.1987, allocations: 1.219 kB / 376.8 MB, free: 43.49 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.174e-05/0.1988, allocations: 5.094 kB / 376.8 MB, free: 43.48 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.1988, allocations: 1.156 kB / 376.8 MB, free: 43.48 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.674e-05/0.1989, allocations: 42.62 kB / 376.9 MB, free: 43.46 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005389/0.1994, allocations: 377.4 kB / 377.2 MB, free: 43.09 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.09e-05/0.1995, allocations: 57.72 kB / 377.3 MB, free: 43.04 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.167e-05/0.1996, allocations: 24.25 kB / 377.3 MB, free: 43.02 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.029e-05/0.1996, allocations: 5.062 kB / 377.3 MB, free: 43.02 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.374e-05/0.1996, allocations: 31.62 kB / 377.4 MB, free: 42.98 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/0.1996, allocations: 1.062 kB / 377.4 MB, free: 42.98 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005847/0.2002, allocations: 0.511 MB / 377.9 MB, free: 42.46 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.352e-05/0.2002, allocations: 56.47 kB / 377.9 MB, free: 42.4 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.636e-05/0.2003, allocations: 119.2 kB / 378 MB, free: 42.28 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.845e-06/0.2003, allocations: 30.67 kB / 378.1 MB, free: 42.25 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.309e-05/0.2004, allocations: 94.34 kB / 378.2 MB, free: 42.15 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.929e-05/0.2004, allocations: 36.09 kB / 378.2 MB, free: 42.12 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.466e-06/0.2004, allocations: 0 / 378.2 MB, free: 42.12 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.164e-05/0.2004, allocations: 321.3 kB / 378.5 MB, free: 41.8 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.347e-05/0.2005, allocations: 17.55 kB / 378.5 MB, free: 41.79 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.925e-05/0.2005, allocations: 64.27 kB / 378.6 MB, free: 41.73 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.1e-05/0.2006, allocations: 29.33 kB / 378.6 MB, free: 41.71 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.2006, allocations: 0 / 378.6 MB, free: 41.71 MB / 298.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000145/0.2007, allocations: 108.5 kB / 378.7 MB, free: 41.64 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.2008, allocations: 9.719 kB / 378.7 MB, free: 41.64 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.2008, allocations: 1.156 kB / 378.7 MB, free: 41.64 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.2008, allocations: 2.906 kB / 378.7 MB, free: 41.64 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.654e-05/0.2009, allocations: 26.02 kB / 378.8 MB, free: 41.63 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/0.2009, allocations: 6.328 kB / 378.8 MB, free: 41.62 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.158e-05/0.201, allocations: 2 kB / 378.8 MB, free: 41.62 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.227e-06/0.201, allocations: 8.406 kB / 378.8 MB, free: 41.62 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.454e-05/0.201, allocations: 118.2 kB / 378.9 MB, free: 41.5 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.746e-05/0.2011, allocations: 10.42 kB / 378.9 MB, free: 41.49 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.912e-05/0.2011, allocations: 14.75 kB / 378.9 MB, free: 41.48 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.584e-06/0.2011, allocations: 1.188 kB / 378.9 MB, free: 41.48 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.2011, allocations: 0 / 378.9 MB, free: 41.48 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.2011, allocations: 3.953 kB / 378.9 MB, free: 41.48 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003555/0.2015, allocations: 413.7 kB / 379.3 MB, free: 41.06 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.2015, allocations: 1 kB / 379.3 MB, free: 41.06 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.75e-05/0.2016, allocations: 24.2 kB / 379.4 MB, free: 41.05 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.72e-06/0.2016, allocations: 6.016 kB / 379.4 MB, free: 41.05 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.828e-06/0.2016, allocations: 2.094 kB / 379.4 MB, free: 41.05 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.2016, allocations: 2.75 kB / 379.4 MB, free: 41.05 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.2016, allocations: 1.219 kB / 379.4 MB, free: 41.05 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001798/0.2018, allocations: 230.9 kB / 379.6 MB, free: 40.84 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.478e-05/0.2018, allocations: 83.36 kB / 379.7 MB, free: 40.74 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.718e-05/0.2019, allocations: 7.422 kB / 379.7 MB, free: 40.73 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.493e-05/0.202, allocations: 5.219 kB / 379.7 MB, free: 40.73 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.824e-05/0.202, allocations: 20.45 kB / 379.7 MB, free: 40.71 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.081e-06/0.202, allocations: 3.844 kB / 379.7 MB, free: 40.71 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.247e-05/0.202, allocations: 91.02 kB / 379.8 MB, free: 40.63 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.202, allocations: 288 / 379.8 MB, free: 40.63 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002286/0.2023, allocations: 17.59 kB / 379.8 MB, free: 40.63 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 7.434e-05/0.2023, allocations: 93.78 kB / 379.9 MB, free: 40.54 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001265/0.2025, allocations: 61.05 kB / 380 MB, free: 40.51 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2025, allocations: 1.438 kB / 380 MB, free: 40.51 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.801e-05/0.2025, allocations: 40.09 kB / 380 MB, free: 40.49 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003251/0.2029, allocations: 18.48 kB / 380 MB, free: 40.48 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004778/0.2033, allocations: 421.3 kB / 380.4 MB, free: 40.09 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001098/0.2035, allocations: 0.6914 MB / 381.1 MB, free: 39.39 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.693e-05/0.2035, allocations: 12.66 kB / 381.1 MB, free: 39.38 MB / 298.7 MB Notification: Performance of SimCode: time 6.11e-07/0.2035, allocations: 0 / 381.1 MB, free: 39.38 MB / 298.7 MB Notification: Performance of Templates: time 0.002077/0.2056, allocations: 0.9697 MB / 382.1 MB, free: 38.89 MB / 298.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Accelerate.makefile (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 & ./Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Accelerate --alarm=480 -emit_protected > 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/jenkins/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