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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) Running command: translateModel(Modelica.Mechanics.Translational.Examples.Accelerate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|accelerate.s|accelerate.v",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001064/0.001064, allocations: 175.6 kB / 17.4 MB, free: 4.398 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.338/1.338, allocations: 223.3 MB / 241.4 MB, free: 9.863 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007676/0.0007676, allocations: 92.27 kB / 292.6 MB, free: 10.55 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002957/0.0002958, allocations: 19.94 kB / 352.3 MB, free: 14.79 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2166/0.2169, allocations: 50.39 MB / 402.7 MB, free: 32.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08452/0.3015, allocations: 76.36 MB / 479.1 MB, free: 3.965 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002057/0.3017, allocations: 63.97 kB / 479.2 MB, free: 3.902 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003536/0.3053, allocations: 1.359 MB / 480.5 MB, free: 2.551 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.715e-06/0.3053, allocations: 0 / 480.5 MB, free: 2.551 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.227e-06/0.3053, allocations: 8 kB / 480.5 MB, free: 2.543 MB / 346.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.0003311/0.3056, allocations: 350.1 kB / 480.9 MB, free: 2.152 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.3057, allocations: 12.03 kB / 480.9 MB, free: 2.141 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.133e-05/0.3057, allocations: 4.844 kB / 480.9 MB, free: 2.137 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001486/0.3059, allocations: 180.3 kB / 481.1 MB, free: 1.922 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/0.3059, allocations: 384 / 481.1 MB, free: 1.922 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.788e-05/0.3059, allocations: 12.38 kB / 481.1 MB, free: 1.91 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000135/0.3061, allocations: 66.7 kB / 481.1 MB, free: 1.84 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.3061, allocations: 8.094 kB / 481.1 MB, free: 1.832 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.453e-05/0.3061, allocations: 11.94 kB / 481.2 MB, free: 1.82 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.3061, allocations: 0 / 481.2 MB, free: 1.82 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.098e-05/0.3062, allocations: 39.97 kB / 481.2 MB, free: 1.781 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000618/0.3068, allocations: 379.6 kB / 481.6 MB, free: 1.352 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.66e-05/0.3069, allocations: 58.56 kB / 481.6 MB, free: 1.285 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.505e-05/0.307, allocations: 20.84 kB / 481.6 MB, free: 1.262 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.182e-05/0.307, allocations: 0 / 481.6 MB, free: 1.262 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.668e-05/0.307, allocations: 30.56 kB / 481.7 MB, free: 1.223 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 9.11e-07/0.307, allocations: 0 / 481.7 MB, free: 1.223 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0006817/0.3077, allocations: 0.5215 MB / 482.2 MB, free: 0.6094 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.915e-05/0.3078, allocations: 51.41 kB / 482.2 MB, free: 0.5469 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.33e-05/0.3078, allocations: 121.7 kB / 482.4 MB, free: 428 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.123e-05/0.3079, allocations: 29.7 kB / 482.4 MB, free: 392 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.732e-05/0.3079, allocations: 92.03 kB / 482.5 MB, free: 296 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.522e-05/0.3079, allocations: 35.45 kB / 482.5 MB, free: 260 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.474e-06/0.308, allocations: 8.469 kB / 482.5 MB, free: 252 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001052/0.3081, allocations: 314.8 kB / 482.8 MB, free: 15.93 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.521e-05/0.3081, allocations: 23.98 kB / 482.9 MB, free: 15.91 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.174e-05/0.3082, allocations: 58.27 kB / 482.9 MB, free: 15.83 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001017/0.3083, allocations: 85.09 kB / 483 MB, free: 15.73 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.3083, allocations: 3.938 kB / 483 MB, free: 15.73 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001607/0.3085, allocations: 113.4 kB / 483.1 MB, free: 15.61 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.3085, allocations: 8 kB / 483.1 MB, free: 15.6 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.3085, allocations: 0 / 483.1 MB, free: 15.6 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.3085, allocations: 4 kB / 483.1 MB, free: 15.6 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.562e-05/0.3086, allocations: 27.92 kB / 483.2 MB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.3086, allocations: 3.938 kB / 483.2 MB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.283e-05/0.3087, allocations: 8.094 kB / 483.2 MB, free: 15.56 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-06/0.3087, allocations: 8 kB / 483.2 MB, free: 15.55 MB / 362.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 9.003e-05/0.3088, allocations: 121.7 kB / 483.3 MB, free: 15.42 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.537e-05/0.3088, allocations: 0 / 483.3 MB, free: 15.42 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.37e-05/0.3089, allocations: 12.38 kB / 483.3 MB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.3089, allocations: 0 / 483.3 MB, free: 15.41 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.443e-06/0.3089, allocations: 3.938 kB / 483.3 MB, free: 15.4 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.3089, allocations: 3.984 kB / 483.3 MB, free: 15.4 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004624/0.3094, allocations: 410.6 kB / 483.7 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.3094, allocations: 0 / 483.7 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.968e-05/0.3095, allocations: 23.92 kB / 483.7 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.059e-06/0.3095, allocations: 4 kB / 483.7 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.327e-06/0.3095, allocations: 0 / 483.7 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.516e-06/0.3095, allocations: 4 kB / 483.7 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.3095, allocations: 4.156 kB / 483.7 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002252/0.3097, allocations: 235.5 kB / 484 MB, free: 14.63 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.385e-05/0.3098, allocations: 93.09 kB / 484.1 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.592e-05/0.3098, allocations: 0 / 484.1 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.891e-05/0.3099, allocations: 8 kB / 484.1 MB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.521e-05/0.3099, allocations: 7.938 kB / 484.1 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.031e-06/0.3099, allocations: 4 kB / 484.1 MB, free: 14.5 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.2e-05/0.31, allocations: 95.3 kB / 484.2 MB, free: 14.41 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.463e-06/0.31, allocations: 0 / 484.2 MB, free: 14.41 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002594/0.3103, allocations: 23.94 kB / 484.2 MB, free: 14.38 MB / 362.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.0001193/0.3104, allocations: 107.2 kB / 484.3 MB, free: 14.27 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001313/0.3105, allocations: 63.8 kB / 484.4 MB, free: 14.21 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3105, allocations: 0 / 484.4 MB, free: 14.21 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.907e-05/0.3106, allocations: 27.92 kB / 484.4 MB, free: 14.18 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003211/0.3109, allocations: 12.56 kB / 484.4 MB, free: 14.17 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005442/0.3115, allocations: 397.6 kB / 484.8 MB, free: 13.73 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002466/0.3117, allocations: 0.7004 MB / 485.5 MB, free: 13.01 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.26e-05/0.3118, allocations: 4.438 kB / 485.5 MB, free: 13 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.172e-05/0.3118, allocations: 11.44 kB / 485.5 MB, free: 12.99 MB / 362.7 MB Notification: Performance of SimCode: time 3.11e-07/0.3118, allocations: 0 / 485.5 MB, free: 12.99 MB / 362.7 MB Notification: Performance of Templates: time 0.002554/0.3144, allocations: 0.5997 MB / 486.1 MB, free: 12.4 MB / 362.7 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.makefile (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 & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Accelerate/Accelerate.csv","../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches