Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002195/0.002194, allocations: 198.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.693/1.693, allocations: 225.6 MB / 234.8 MB, free: 3.23 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001025/0.001025, allocations: 91.47 kB / 286.7 MB, free: 5.289 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.678e-05/1.703e-05, allocations: 4 kB / 343.7 MB, free: 8.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.1197, allocations: 51.47 MB / 395.2 MB, free: 4.762 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.427/0.5467, allocations: 76.39 MB / 471.5 MB, free: 14.88 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002906/0.5471, allocations: 68.38 kB / 471.6 MB, free: 14.85 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003638/0.5508, allocations: 1.356 MB / 473 MB, free: 13.99 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.5508, allocations: 0 / 473 MB, free: 13.99 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.296e-06/0.5508, allocations: 0 / 473 MB, free: 13.99 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.0002883/0.5511, allocations: 345.1 kB / 473.3 MB, free: 13.62 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.5511, allocations: 9.859 kB / 473.3 MB, free: 13.62 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.162e-05/0.5512, allocations: 11.62 kB / 473.3 MB, free: 13.61 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001475/0.5513, allocations: 182.4 kB / 473.5 MB, free: 13.4 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/0.5514, allocations: 4.859 kB / 473.5 MB, free: 13.39 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.411e-05/0.5514, allocations: 4 kB / 473.5 MB, free: 13.39 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.763e-05/0.5515, allocations: 32.83 kB / 473.5 MB, free: 13.38 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001053/0.5516, allocations: 60.25 kB / 473.6 MB, free: 13.32 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.5516, allocations: 0 / 473.6 MB, free: 13.32 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.5517, allocations: 0 / 473.6 MB, free: 13.32 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.5517, allocations: 0 / 473.6 MB, free: 13.32 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005946/0.5523, allocations: 354.7 kB / 474 MB, free: 12.99 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.24e-05/0.5523, allocations: 46.88 kB / 474 MB, free: 12.95 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.02e-05/0.5524, allocations: 16.3 kB / 474 MB, free: 12.93 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.38e-05/0.5524, allocations: 0.7031 kB / 474 MB, free: 12.93 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.682e-05/0.5524, allocations: 34.56 kB / 474 MB, free: 12.89 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 2.565e-06/0.5524, allocations: 4 kB / 474.1 MB, free: 12.89 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005622/0.553, allocations: 482.1 kB / 474.5 MB, free: 12.38 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.858e-05/0.553, allocations: 52.11 kB / 474.6 MB, free: 12.31 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.268e-05/0.5531, allocations: 102.3 kB / 474.7 MB, free: 12.21 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.215e-05/0.5531, allocations: 25.7 kB / 474.7 MB, free: 12.18 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.58e-05/0.5532, allocations: 102 kB / 474.8 MB, free: 12.08 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.965e-05/0.5532, allocations: 33.84 kB / 474.8 MB, free: 12.05 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.697e-06/0.5532, allocations: 3.938 kB / 474.8 MB, free: 12.05 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.738e-05/0.5533, allocations: 321 kB / 475.1 MB, free: 11.73 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.589e-05/0.5533, allocations: 15.69 kB / 475.2 MB, free: 11.72 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.776e-05/0.5534, allocations: 54.97 kB / 475.2 MB, free: 11.66 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.365e-05/0.5534, allocations: 30.17 kB / 475.2 MB, free: 11.64 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.5534, allocations: 0 / 475.2 MB, free: 11.64 MB / 346.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001241/0.5535, allocations: 94.25 kB / 475.3 MB, free: 11.57 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.5536, allocations: 11.72 kB / 475.4 MB, free: 11.56 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.5536, allocations: 0.9375 kB / 475.4 MB, free: 11.56 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.5536, allocations: 4 kB / 475.4 MB, free: 11.55 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.281e-05/0.5537, allocations: 26.58 kB / 475.4 MB, free: 11.54 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.5537, allocations: 96 / 475.4 MB, free: 11.54 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.749e-05/0.5537, allocations: 4 kB / 475.4 MB, free: 11.53 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-06/0.5538, allocations: 11.44 kB / 475.4 MB, free: 11.52 MB / 346.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 () * 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.475e-05/0.5538, allocations: 109.7 kB / 475.5 MB, free: 11.41 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.466e-05/0.5539, allocations: 4 kB / 475.5 MB, free: 11.41 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.358e-05/0.5539, allocations: 8.5 kB / 475.5 MB, free: 11.4 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.5539, allocations: 0.6562 kB / 475.5 MB, free: 11.4 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/0.5539, allocations: 0 / 475.5 MB, free: 11.4 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.5539, allocations: 0.5625 kB / 475.5 MB, free: 11.4 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000382/0.5543, allocations: 376.8 kB / 475.9 MB, free: 11.02 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.5543, allocations: 0 / 475.9 MB, free: 11.02 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.998e-05/0.5544, allocations: 25.58 kB / 475.9 MB, free: 11 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.5544, allocations: 4.656 kB / 475.9 MB, free: 11 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.218e-06/0.5544, allocations: 0 / 475.9 MB, free: 11 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/0.5545, allocations: 8.906 kB / 475.9 MB, free: 10.99 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.5545, allocations: 0 / 475.9 MB, free: 10.99 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002442/0.5547, allocations: 280.9 kB / 476.2 MB, free: 10.69 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.029e-05/0.5548, allocations: 86.31 kB / 476.3 MB, free: 10.59 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.89e-05/0.5548, allocations: 0.8438 kB / 476.3 MB, free: 10.59 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.169e-05/0.5549, allocations: 4 kB / 476.3 MB, free: 10.58 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.812e-05/0.5549, allocations: 18.06 kB / 476.3 MB, free: 10.57 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.512e-06/0.5549, allocations: 7.953 kB / 476.3 MB, free: 10.56 MB / 346.7 MB Notification: Performance of sorting global known variables: time 3.711e-05/0.5549, allocations: 86.95 kB / 476.4 MB, free: 10.48 MB / 346.7 MB Notification: Performance of sort global known variables: time 2e-07/0.555, allocations: 0 / 476.4 MB, free: 10.48 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002442/0.5552, allocations: 12 kB / 476.4 MB, free: 10.47 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 () * 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.000125/0.5553, allocations: 96.8 kB / 476.5 MB, free: 10.37 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001195/0.5555, allocations: 48.22 kB / 476.6 MB, free: 10.34 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.5555, allocations: 192 / 476.6 MB, free: 10.34 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.176e-05/0.5555, allocations: 36.08 kB / 476.6 MB, free: 10.31 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002473/0.5558, allocations: 5.5 kB / 476.6 MB, free: 10.3 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004548/0.5562, allocations: 253.9 kB / 476.8 MB, free: 10.05 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000245/0.5565, allocations: 0.6969 MB / 477.5 MB, free: 9.344 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.133e-05/0.5565, allocations: 6.547 kB / 477.5 MB, free: 9.34 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.146e-05/0.5566, allocations: 15.44 kB / 477.6 MB, free: 9.324 MB / 346.7 MB Notification: Performance of SimCode: time 2.5e-07/0.5566, allocations: 0 / 477.6 MB, free: 9.324 MB / 346.7 MB Notification: Performance of Templates: time 0.002795/0.5594, allocations: 0.5457 MB / 478.1 MB, free: 9.016 MB / 346.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