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.00222/0.002219, allocations: 195.5 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.52/1.52, allocations: 225.4 MB / 240.1 MB, free: 15.12 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001046/0.001046, allocations: 89.7 kB / 292.1 MB, free: 5.973 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.364e-05/3.375e-05, allocations: 4 kB / 350.5 MB, free: 2.531 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09883/0.09888, allocations: 51.49 MB / 402 MB, free: 15 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.344/0.4429, allocations: 77.06 MB / 479.1 MB, free: 12.36 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001788/0.4432, allocations: 69.67 kB / 479.1 MB, free: 12.32 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003069/0.4462, allocations: 1.359 MB / 480.5 MB, free: 11.16 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.4463, allocations: 0 / 480.5 MB, free: 11.16 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.025e-05/0.4463, allocations: 7.938 kB / 480.5 MB, free: 11.16 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.0002695/0.4466, allocations: 337.6 kB / 480.8 MB, free: 10.79 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.4466, allocations: 8.031 kB / 480.8 MB, free: 10.78 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.729e-05/0.4466, allocations: 11.52 kB / 480.9 MB, free: 10.78 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001384/0.4468, allocations: 177.8 kB / 481 MB, free: 10.57 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.508e-05/0.4468, allocations: 4.859 kB / 481 MB, free: 10.57 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.645e-05/0.4469, allocations: 12.05 kB / 481.1 MB, free: 10.56 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001307/0.447, allocations: 67.23 kB / 481.1 MB, free: 10.5 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.447, allocations: 3.938 kB / 481.1 MB, free: 10.5 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.447, allocations: 7.188 kB / 481.1 MB, free: 10.5 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.447, allocations: 4 kB / 481.1 MB, free: 10.49 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.002e-05/0.4471, allocations: 30.86 kB / 481.2 MB, free: 10.47 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005745/0.4477, allocations: 376.6 kB / 481.5 MB, free: 10.08 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.356e-05/0.4478, allocations: 64.3 kB / 481.6 MB, free: 10.02 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.036e-05/0.4478, allocations: 16.05 kB / 481.6 MB, free: 10.01 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.313e-05/0.4478, allocations: 4 kB / 481.6 MB, free: 10 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.624e-05/0.4479, allocations: 34.56 kB / 481.6 MB, free: 9.961 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 1.202e-06/0.4479, allocations: 0 / 481.6 MB, free: 9.961 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.000573/0.4485, allocations: 0.4942 MB / 482.1 MB, free: 9.414 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.211e-05/0.4485, allocations: 57.97 kB / 482.2 MB, free: 9.348 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.569e-05/0.4486, allocations: 107.3 kB / 482.3 MB, free: 9.238 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.064e-05/0.4486, allocations: 31.48 kB / 482.3 MB, free: 9.203 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.818e-05/0.4486, allocations: 91.22 kB / 482.4 MB, free: 9.113 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.198e-05/0.4486, allocations: 38.06 kB / 482.5 MB, free: 9.082 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.657e-06/0.4486, allocations: 0 / 482.5 MB, free: 9.082 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.675e-05/0.4487, allocations: 318 kB / 482.8 MB, free: 8.766 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.003e-05/0.4487, allocations: 22.19 kB / 482.8 MB, free: 8.75 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.024e-05/0.4488, allocations: 58.58 kB / 482.8 MB, free: 8.684 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.36e-05/0.4489, allocations: 23.48 kB / 482.9 MB, free: 8.668 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.4489, allocations: 0 / 482.9 MB, free: 8.668 MB / 346.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001285/0.449, allocations: 113.5 kB / 483 MB, free: 8.57 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.449, allocations: 8.094 kB / 483 MB, free: 8.562 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.449, allocations: 4 kB / 483 MB, free: 8.559 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.449, allocations: 0 / 483 MB, free: 8.559 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.632e-05/0.4491, allocations: 31.17 kB / 483 MB, free: 8.531 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.285e-05/0.4492, allocations: 9.516 kB / 483 MB, free: 8.527 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.864e-05/0.4492, allocations: 0.75 kB / 483 MB, free: 8.527 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.348e-06/0.4492, allocations: 11.33 kB / 483 MB, free: 8.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.494e-05/0.4493, allocations: 108.4 kB / 483.1 MB, free: 8.41 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.593e-05/0.4493, allocations: 7.906 kB / 483.2 MB, free: 8.402 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.331e-05/0.4493, allocations: 14.31 kB / 483.2 MB, free: 8.395 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.4494, allocations: 0 / 483.2 MB, free: 8.395 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.4494, allocations: 0 / 483.2 MB, free: 8.395 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.4494, allocations: 0 / 483.2 MB, free: 8.395 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003661/0.4497, allocations: 417 kB / 483.6 MB, free: 7.949 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.4498, allocations: 4 kB / 483.6 MB, free: 7.945 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.48e-05/0.4498, allocations: 19.98 kB / 483.6 MB, free: 7.926 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.4499, allocations: 0 / 483.6 MB, free: 7.926 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.4499, allocations: 4 kB / 483.6 MB, free: 7.922 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.4499, allocations: 7.891 kB / 483.6 MB, free: 7.914 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.4499, allocations: 4 kB / 483.6 MB, free: 7.91 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002373/0.4501, allocations: 283.9 kB / 483.9 MB, free: 7.598 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.494e-05/0.4502, allocations: 88.08 kB / 484 MB, free: 7.496 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.549e-05/0.4502, allocations: 1.375 kB / 484 MB, free: 7.496 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.334e-05/0.4503, allocations: 4 kB / 484 MB, free: 7.492 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.065e-05/0.4503, allocations: 15.69 kB / 484 MB, free: 7.48 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-06/0.4503, allocations: 4 kB / 484 MB, free: 7.477 MB / 346.7 MB Notification: Performance of sorting global known variables: time 3.087e-05/0.4503, allocations: 91.31 kB / 484.1 MB, free: 7.391 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4503, allocations: 0 / 484.1 MB, free: 7.391 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002253/0.4506, allocations: 27.17 kB / 484.1 MB, free: 7.367 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.0001065/0.4507, allocations: 104.9 kB / 484.2 MB, free: 7.262 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001092/0.4508, allocations: 56.5 kB / 484.3 MB, free: 7.219 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.4508, allocations: 3.828 kB / 484.3 MB, free: 7.219 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.028e-05/0.4508, allocations: 27.86 kB / 484.3 MB, free: 7.195 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002125/0.4511, allocations: 14.59 kB / 484.3 MB, free: 7.188 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004428/0.4515, allocations: 260.2 kB / 484.6 MB, free: 6.93 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000117/0.4516, allocations: 0.6965 MB / 485.3 MB, free: 6.207 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.591e-05/0.4517, allocations: 8.422 kB / 485.3 MB, free: 6.199 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.88e-05/0.4517, allocations: 11.44 kB / 485.3 MB, free: 6.188 MB / 346.7 MB Notification: Performance of SimCode: time 2.6e-07/0.4517, allocations: 0 / 485.3 MB, free: 6.188 MB / 346.7 MB Notification: Performance of Templates: time 0.002294/0.454, allocations: 0.5974 MB / 485.9 MB, free: 5.629 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