Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001455/0.001456, allocations: 182 kB / 18.04 MB, free: 3.758 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.428/1.428, allocations: 205.4 MB / 224.2 MB, free: 9.031 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.0009262/0.0009261, allocations: 81.5 kB / 272.5 MB, free: 8.266 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000393/0.000393, allocations: 12 kB / 329.4 MB, free: 15.28 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2146/0.215, allocations: 47.57 MB / 377 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08042/0.2955, allocations: 75.32 MB / 452.3 MB, free: 5.242 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001752/0.2957, allocations: 67.91 kB / 452.4 MB, free: 5.176 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003393/0.2991, allocations: 1.329 MB / 453.7 MB, free: 3.84 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2991, allocations: 4 kB / 453.7 MB, free: 3.836 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.672e-06/0.2992, allocations: 0 / 453.7 MB, free: 3.836 MB / 330.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.000312/0.2995, allocations: 347.4 kB / 454.1 MB, free: 3.445 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.265e-05/0.2995, allocations: 12.03 kB / 454.1 MB, free: 3.434 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.08e-05/0.2996, allocations: 12.84 kB / 454.1 MB, free: 3.422 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001387/0.2997, allocations: 184.2 kB / 454.3 MB, free: 3.203 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.668e-06/0.2997, allocations: 4.375 kB / 454.3 MB, free: 3.199 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.057e-05/0.2997, allocations: 8.375 kB / 454.3 MB, free: 3.191 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001253/0.2999, allocations: 69.61 kB / 454.4 MB, free: 3.121 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.2999, allocations: 4.094 kB / 454.4 MB, free: 3.117 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.2999, allocations: 11.88 kB / 454.4 MB, free: 3.105 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.316e-06/0.2999, allocations: 0 / 454.4 MB, free: 3.105 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.535e-05/0.3, allocations: 43.91 kB / 454.4 MB, free: 3.062 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005878/0.3006, allocations: 375.6 kB / 454.8 MB, free: 2.637 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.853e-05/0.3007, allocations: 68.77 kB / 454.8 MB, free: 2.566 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.294e-05/0.3008, allocations: 20.84 kB / 454.9 MB, free: 2.543 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.863e-06/0.3008, allocations: 0 / 454.9 MB, free: 2.543 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.372e-05/0.3008, allocations: 38.56 kB / 454.9 MB, free: 2.496 MB / 330.7 MB Notification: Performance of pre-optimization done (n=7): time 1.223e-06/0.3008, allocations: 4 kB / 454.9 MB, free: 2.492 MB / 330.7 MB Notification: Performance of matching and sorting (n=9): time 0.0007198/0.3015, allocations: 0.5052 MB / 455.4 MB, free: 1.895 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.431e-05/0.3016, allocations: 51.41 kB / 455.5 MB, free: 1.832 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.834e-05/0.3017, allocations: 121.8 kB / 455.6 MB, free: 1.703 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.233e-05/0.3017, allocations: 29.7 kB / 455.6 MB, free: 1.668 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.133e-05/0.3017, allocations: 92.03 kB / 455.7 MB, free: 1.574 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.336e-05/0.3018, allocations: 31.47 kB / 455.7 MB, free: 1.543 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.462e-06/0.3018, allocations: 8 kB / 455.7 MB, free: 1.535 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.933e-05/0.3019, allocations: 318.8 kB / 456.1 MB, free: 1.215 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.478e-05/0.3019, allocations: 19.98 kB / 456.1 MB, free: 1.195 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.614e-05/0.302, allocations: 57.08 kB / 456.1 MB, free: 1.121 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001001/0.3021, allocations: 85.09 kB / 456.2 MB, free: 1.02 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.3021, allocations: 0 / 456.2 MB, free: 1.02 MB / 330.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001608/0.3023, allocations: 105.5 kB / 456.3 MB, free: 0.9102 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.3023, allocations: 16.08 kB / 456.3 MB, free: 0.8945 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.908e-06/0.3023, allocations: 480 / 456.3 MB, free: 0.8945 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.055e-05/0.3023, allocations: 4 kB / 456.3 MB, free: 0.8906 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.446e-05/0.3024, allocations: 23.94 kB / 456.4 MB, free: 0.8672 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.3024, allocations: 7.922 kB / 456.4 MB, free: 0.8594 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.197e-05/0.3025, allocations: 8 kB / 456.4 MB, free: 0.8516 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.3025, allocations: 7.938 kB / 456.4 MB, free: 0.8438 MB / 330.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 6.967e-05/0.3026, allocations: 117.8 kB / 456.5 MB, free: 0.7188 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.621e-05/0.3026, allocations: 7.938 kB / 456.5 MB, free: 0.7109 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.554e-05/0.3026, allocations: 16.38 kB / 456.5 MB, free: 0.6992 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.3026, allocations: 0 / 456.5 MB, free: 0.6992 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.3027, allocations: 3.938 kB / 456.5 MB, free: 0.6953 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.3027, allocations: 0 / 456.5 MB, free: 0.6953 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004485/0.3031, allocations: 414.8 kB / 456.9 MB, free: 224 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.3031, allocations: 0 / 456.9 MB, free: 224 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.768e-05/0.3032, allocations: 19.98 kB / 456.9 MB, free: 204 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-06/0.3032, allocations: 4 kB / 457 MB, free: 200 kB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.707e-06/0.3033, allocations: 4 kB / 457 MB, free: 196 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.3033, allocations: 7.938 kB / 457 MB, free: 188 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.3033, allocations: 0 / 457 MB, free: 188 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002189/0.3035, allocations: 235.6 kB / 457.2 MB, free: 15.92 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.848e-05/0.3035, allocations: 85.05 kB / 457.3 MB, free: 15.82 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.788e-05/0.3036, allocations: 7.984 kB / 457.3 MB, free: 15.81 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.586e-05/0.3036, allocations: 4 kB / 457.3 MB, free: 15.81 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.991e-05/0.3037, allocations: 4 kB / 457.3 MB, free: 15.8 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.452e-06/0.3037, allocations: 8.062 kB / 457.3 MB, free: 15.8 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.345e-05/0.3037, allocations: 95.27 kB / 457.4 MB, free: 15.7 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3037, allocations: 0 / 457.4 MB, free: 15.7 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002415/0.304, allocations: 16 kB / 457.4 MB, free: 15.69 MB / 346.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 9.581e-05/0.3041, allocations: 99.19 kB / 457.5 MB, free: 15.58 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000126/0.3042, allocations: 63.84 kB / 457.6 MB, free: 15.52 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3042, allocations: 4.5 kB / 457.6 MB, free: 15.51 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.631e-05/0.3043, allocations: 27.94 kB / 457.6 MB, free: 15.48 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003279/0.3046, allocations: 15.98 kB / 457.6 MB, free: 15.47 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005365/0.3052, allocations: 406.5 kB / 458 MB, free: 15.03 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002426/0.3054, allocations: 0.6926 MB / 458.7 MB, free: 14.31 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.647e-05/0.3055, allocations: 8.438 kB / 458.7 MB, free: 14.3 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.952e-05/0.3055, allocations: 11.44 kB / 458.7 MB, free: 14.29 MB / 346.7 MB Notification: Performance of SimCode: time 3.31e-07/0.3055, allocations: 0 / 458.7 MB, free: 14.29 MB / 346.7 MB Notification: Performance of Templates: time 0.002324/0.3078, allocations: 0.5946 MB / 459.3 MB, free: 13.7 MB / 346.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_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_Modelica.Mechanics.Translational.Examples.Accelerate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches