Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.Accelerate") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001071/0.001071, allocations: 191.5 kB / 17.43 MB, free: 4.402 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.279/1.279, allocations: 229.5 MB / 247.7 MB, free: 6.301 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007797/0.0007797, allocations: 86.92 kB / 299.8 MB, free: 5.375 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002033/0.0002033, allocations: 4 kB / 360.6 MB, free: 8.5 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1968/0.197, allocations: 51.41 MB / 412 MB, free: 25.93 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.001269/0.1983, allocations: 1.339 MB / 413.4 MB, free: 24.59 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001754/0.1985, allocations: 73.11 kB / 413.5 MB, free: 24.52 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.865e-05/0.1986, allocations: 0 / 413.5 MB, free: 24.52 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 7.213e-05/0.1987, allocations: 12.92 kB / 413.5 MB, free: 24.5 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 3.843e-05/0.1987, allocations: 7.922 kB / 413.5 MB, free: 24.5 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.798e-05/0.1988, allocations: 17.42 kB / 413.5 MB, free: 24.48 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.603e-05/0.1989, allocations: 63.67 kB / 413.6 MB, free: 24.42 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.935e-05/0.199, allocations: 25.86 kB / 413.6 MB, free: 24.39 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.72e-05/0.199, allocations: 19.94 kB / 413.6 MB, free: 24.38 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.758e-05/0.1991, allocations: 23.86 kB / 413.6 MB, free: 24.35 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.669e-05/0.1991, allocations: 4 kB / 413.6 MB, free: 24.35 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.276e-05/0.1991, allocations: 3.531 kB / 413.6 MB, free: 24.35 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.592e-05/0.1992, allocations: 11.98 kB / 413.6 MB, free: 24.34 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.471e-05/0.1992, allocations: 45.58 kB / 413.7 MB, free: 24.29 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 7.599e-05/0.1993, allocations: 65.25 kB / 413.8 MB, free: 24.22 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.1993, allocations: 4 kB / 413.8 MB, free: 24.22 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1993, allocations: 0 / 413.8 MB, free: 24.22 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.856e-06/0.1993, allocations: 0 / 413.8 MB, free: 24.22 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.0002937/0.1996, allocations: 359.3 kB / 414.1 MB, free: 23.82 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.825e-05/0.1996, allocations: 8.031 kB / 414.1 MB, free: 23.81 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.676e-05/0.1997, allocations: 8.844 kB / 414.1 MB, free: 23.8 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000108/0.1998, allocations: 180.3 kB / 414.3 MB, free: 23.59 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.1998, allocations: 384 / 414.3 MB, free: 23.59 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.999e-05/0.1998, allocations: 8.375 kB / 414.3 MB, free: 23.58 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001305/0.2, allocations: 70.17 kB / 414.4 MB, free: 23.5 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.2, allocations: 192 / 414.4 MB, free: 23.5 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.2, allocations: 11.94 kB / 414.4 MB, free: 23.49 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.2, allocations: 7.875 kB / 414.4 MB, free: 23.48 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.803e-05/0.2001, allocations: 39.97 kB / 414.4 MB, free: 23.45 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005309/0.2006, allocations: 375.5 kB / 414.8 MB, free: 23.02 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.124e-05/0.2007, allocations: 58.5 kB / 414.9 MB, free: 22.96 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.885e-05/0.2008, allocations: 20.84 kB / 414.9 MB, free: 22.93 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.01e-05/0.2008, allocations: 0 / 414.9 MB, free: 22.93 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.105e-05/0.2008, allocations: 34.56 kB / 414.9 MB, free: 22.89 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 1.302e-06/0.2008, allocations: 0 / 414.9 MB, free: 22.89 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005386/0.2014, allocations: 0.5129 MB / 415.4 MB, free: 22.29 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.123e-05/0.2014, allocations: 51.41 kB / 415.5 MB, free: 22.22 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.892e-05/0.2014, allocations: 118.2 kB / 415.6 MB, free: 22.1 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.312e-06/0.2015, allocations: 29.7 kB / 415.6 MB, free: 22.06 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.931e-05/0.2015, allocations: 100.1 kB / 415.7 MB, free: 21.96 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.689e-05/0.2015, allocations: 27.56 kB / 415.7 MB, free: 21.93 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.448e-06/0.2015, allocations: 4.094 kB / 415.8 MB, free: 21.93 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.678e-05/0.2016, allocations: 322.8 kB / 416.1 MB, free: 21.61 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.093e-05/0.2016, allocations: 23.92 kB / 416.1 MB, free: 21.58 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.547e-05/0.2017, allocations: 69.14 kB / 416.2 MB, free: 21.5 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.706e-05/0.2017, allocations: 81.08 kB / 416.2 MB, free: 21.4 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.011e-06/0.2018, allocations: 0 / 416.2 MB, free: 21.4 MB / 298.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001237/0.2019, allocations: 109.5 kB / 416.3 MB, free: 21.29 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.2019, allocations: 16.08 kB / 416.4 MB, free: 21.27 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.858e-06/0.2019, allocations: 0 / 416.4 MB, free: 21.27 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.2019, allocations: 4 kB / 416.4 MB, free: 21.27 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.922e-05/0.202, allocations: 19.94 kB / 416.4 MB, free: 21.25 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.174e-06/0.202, allocations: 11.92 kB / 416.4 MB, free: 21.23 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.728e-05/0.2021, allocations: 0 / 416.4 MB, free: 21.23 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.284e-06/0.2021, allocations: 8 kB / 416.4 MB, free: 21.23 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.689e-05/0.2021, allocations: 117.8 kB / 416.5 MB, free: 21.1 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.525e-05/0.2022, allocations: 7.906 kB / 416.5 MB, free: 21.09 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.6e-05/0.2022, allocations: 16.38 kB / 416.5 MB, free: 21.07 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.2022, allocations: 0 / 416.5 MB, free: 21.07 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.297e-06/0.2022, allocations: 3.938 kB / 416.5 MB, free: 21.07 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.2022, allocations: 0 / 416.5 MB, free: 21.07 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003275/0.2026, allocations: 418.6 kB / 417 MB, free: 20.59 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.2026, allocations: 3.938 kB / 417 MB, free: 20.58 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.664e-05/0.2027, allocations: 19.98 kB / 417 MB, free: 20.56 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.2027, allocations: 0 / 417 MB, free: 20.56 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.806e-06/0.2027, allocations: 4 kB / 417 MB, free: 20.56 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.2027, allocations: 7.938 kB / 417 MB, free: 20.55 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.2027, allocations: 0 / 417 MB, free: 20.55 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001576/0.2029, allocations: 235.7 kB / 417.2 MB, free: 20.29 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.923e-05/0.2029, allocations: 77.11 kB / 417.3 MB, free: 20.2 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.59e-05/0.2029, allocations: 7.984 kB / 417.3 MB, free: 20.19 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.702e-05/0.203, allocations: 8 kB / 417.3 MB, free: 20.18 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.476e-05/0.203, allocations: 4.062 kB / 417.3 MB, free: 20.18 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.203, allocations: 4 kB / 417.3 MB, free: 20.17 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.972e-05/0.2031, allocations: 103.2 kB / 417.4 MB, free: 20.07 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2031, allocations: 0 / 417.4 MB, free: 20.07 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002266/0.2033, allocations: 16 kB / 417.4 MB, free: 20.05 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.123e-05/0.2034, allocations: 103.2 kB / 417.5 MB, free: 19.95 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001127/0.2035, allocations: 68.06 kB / 417.6 MB, free: 19.88 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.2035, allocations: 4.188 kB / 417.6 MB, free: 19.88 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.192e-05/0.2035, allocations: 28.12 kB / 417.6 MB, free: 19.85 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003033/0.2039, allocations: 20.06 kB / 417.7 MB, free: 19.83 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004493/0.2043, allocations: 401.4 kB / 418 MB, free: 19.39 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001082/0.2044, allocations: 0.6926 MB / 418.7 MB, free: 18.67 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.546e-05/0.2045, allocations: 16.36 kB / 418.8 MB, free: 18.66 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.249e-05/0.2045, allocations: 11.44 kB / 418.8 MB, free: 18.64 MB / 298.7 MB Notification: Performance of SimCode: time 3.21e-07/0.2045, allocations: 0 / 418.8 MB, free: 18.64 MB / 298.7 MB Notification: Performance of Templates: time 0.002294/0.2068, allocations: 0.6158 MB / 419.4 MB, free: 18.04 MB / 298.7 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.makefile (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 & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Accelerate/Accelerate.csv","../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches