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.0009389/0.000939, allocations: 175.5 kB / 13.63 MB, free: 1.684 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.475/1.475, allocations: 221.3 MB / 235.5 MB, free: 2.969 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009485/0.0009488, allocations: 85.11 kB / 286.5 MB, free: 240 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.325e-05/2.328e-05, allocations: 0 / 343.8 MB, free: 4.32 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1033, allocations: 50.41 MB / 394.2 MB, free: 1.863 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3727/0.476, allocations: 76.25 MB / 470.5 MB, free: 11.31 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002242/0.4763, allocations: 67.8 kB / 470.6 MB, free: 11.25 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003735/0.4801, allocations: 1.364 MB / 471.9 MB, free: 9.883 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.805e-06/0.4801, allocations: 0 / 471.9 MB, free: 9.883 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.427e-05/0.4801, allocations: 4 kB / 471.9 MB, free: 9.879 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.0003576/0.4805, allocations: 339 kB / 472.3 MB, free: 9.504 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.308e-05/0.4805, allocations: 8.031 kB / 472.3 MB, free: 9.496 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.394e-05/0.4806, allocations: 7.953 kB / 472.3 MB, free: 9.488 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001832/0.4808, allocations: 178.9 kB / 472.4 MB, free: 9.273 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.13e-05/0.4808, allocations: 8 kB / 472.5 MB, free: 9.266 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.926e-05/0.4808, allocations: 8 kB / 472.5 MB, free: 9.258 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001601/0.481, allocations: 66.61 kB / 472.5 MB, free: 9.188 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.821e-05/0.481, allocations: 10.61 kB / 472.5 MB, free: 9.18 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.482e-05/0.4811, allocations: 4 kB / 472.5 MB, free: 9.176 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.4811, allocations: 3.953 kB / 472.5 MB, free: 9.172 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.243e-05/0.4812, allocations: 32 kB / 472.6 MB, free: 9.141 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007028/0.4819, allocations: 387.5 kB / 473 MB, free: 8.703 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.507e-05/0.482, allocations: 58.45 kB / 473 MB, free: 8.637 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.828e-05/0.482, allocations: 20.86 kB / 473 MB, free: 8.613 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.581e-05/0.4821, allocations: 7.984 kB / 473 MB, free: 8.605 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.378e-05/0.4821, allocations: 30.56 kB / 473.1 MB, free: 8.566 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.4821, allocations: 4 kB / 473.1 MB, free: 8.562 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0007654/0.4829, allocations: 0.4897 MB / 473.6 MB, free: 7.98 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.379e-05/0.4829, allocations: 51.41 kB / 473.6 MB, free: 7.918 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001265/0.4831, allocations: 117.1 kB / 473.7 MB, free: 7.793 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.655e-05/0.4831, allocations: 25.7 kB / 473.8 MB, free: 7.762 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.73e-05/0.4831, allocations: 92.05 kB / 473.8 MB, free: 7.668 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.665e-05/0.4832, allocations: 35.48 kB / 473.9 MB, free: 7.633 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.482e-06/0.4832, allocations: 8 kB / 473.9 MB, free: 7.625 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001325/0.4833, allocations: 318.8 kB / 474.2 MB, free: 7.305 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.539e-05/0.4834, allocations: 16 kB / 474.2 MB, free: 7.289 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.473e-05/0.4834, allocations: 54.03 kB / 474.3 MB, free: 7.219 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.951e-05/0.4835, allocations: 27.98 kB / 474.3 MB, free: 7.191 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.4835, allocations: 3.953 kB / 474.3 MB, free: 7.188 MB / 346.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.00017/0.4837, allocations: 109.5 kB / 474.4 MB, free: 7.074 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/0.4837, allocations: 11.94 kB / 474.4 MB, free: 7.062 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.4837, allocations: 0 / 474.4 MB, free: 7.062 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.4838, allocations: 4 kB / 474.4 MB, free: 7.059 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.72e-05/0.4839, allocations: 28.39 kB / 474.4 MB, free: 7.031 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.078e-05/0.4839, allocations: 8.094 kB / 474.5 MB, free: 7.023 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.704e-05/0.4839, allocations: 0 / 474.5 MB, free: 7.023 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.019e-05/0.4839, allocations: 4 kB / 474.5 MB, free: 7.02 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 9.498e-05/0.484, allocations: 113 kB / 474.6 MB, free: 6.902 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.206e-05/0.4841, allocations: 15.8 kB / 474.6 MB, free: 6.887 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.262e-05/0.4841, allocations: 12.56 kB / 474.6 MB, free: 6.871 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.4841, allocations: 0 / 474.6 MB, free: 6.871 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.714e-06/0.4842, allocations: 4 kB / 474.6 MB, free: 6.867 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.4842, allocations: 0 / 474.6 MB, free: 6.867 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005051/0.4847, allocations: 410.5 kB / 475 MB, free: 6.395 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.4847, allocations: 4 kB / 475 MB, free: 6.391 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.596e-05/0.4848, allocations: 27.92 kB / 475 MB, free: 6.363 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.4848, allocations: 0 / 475 MB, free: 6.363 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.413e-05/0.4848, allocations: 8.156 kB / 475 MB, free: 6.355 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.4848, allocations: 0 / 475 MB, free: 6.355 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.4848, allocations: 4 kB / 475 MB, free: 6.352 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003302/0.4852, allocations: 288.2 kB / 475.3 MB, free: 6.008 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.535e-05/0.4852, allocations: 81.14 kB / 475.4 MB, free: 5.91 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.096e-05/0.4853, allocations: 4 kB / 475.4 MB, free: 5.906 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.486e-05/0.4853, allocations: 4 kB / 475.4 MB, free: 5.902 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.712e-05/0.4854, allocations: 12.05 kB / 475.4 MB, free: 5.891 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.303e-06/0.4854, allocations: 7.938 kB / 475.4 MB, free: 5.883 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.938e-05/0.4855, allocations: 87.28 kB / 475.5 MB, free: 5.797 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4855, allocations: 0 / 475.5 MB, free: 5.797 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000233/0.4857, allocations: 20 kB / 475.5 MB, free: 5.777 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.0001664/0.4859, allocations: 103.2 kB / 475.6 MB, free: 5.668 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001467/0.486, allocations: 64.05 kB / 475.7 MB, free: 5.605 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.4861, allocations: 4.375 kB / 475.7 MB, free: 5.602 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.383e-05/0.4861, allocations: 27.94 kB / 475.7 MB, free: 5.574 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002596/0.4864, allocations: 15.92 kB / 475.7 MB, free: 5.559 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000594/0.487, allocations: 267.8 kB / 476 MB, free: 5.266 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000399/0.4874, allocations: 0.6926 MB / 476.7 MB, free: 4.547 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.976e-05/0.4874, allocations: 12.42 kB / 476.7 MB, free: 4.535 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.625e-05/0.4875, allocations: 11.44 kB / 476.7 MB, free: 4.523 MB / 346.7 MB Notification: Performance of SimCode: time 3.11e-07/0.4875, allocations: 0 / 476.7 MB, free: 4.523 MB / 346.7 MB Notification: Performance of Templates: time 0.002688/0.4902, allocations: 0.6008 MB / 477.3 MB, free: 3.93 MB / 346.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/jenkins/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