Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.001002/0.001003, allocations: 180.5 kB / 17.41 MB, free: 4.402 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.324/1.324, allocations: 205.4 MB / 223.6 MB, free: 8.938 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.0007248/0.0007247, allocations: 87.41 kB / 271.9 MB, free: 8.246 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002795/0.0002796, allocations: 12 kB / 328.1 MB, free: 15.93 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1934/0.1937, allocations: 47.57 MB / 375.7 MB, free: 45.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.07836/0.2721, allocations: 75.3 MB / 451 MB, free: 5.328 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001969/0.2724, allocations: 67.97 kB / 451.1 MB, free: 5.262 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003331/0.2757, allocations: 1.332 MB / 452.4 MB, free: 3.922 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.325e-06/0.2757, allocations: 0 / 452.4 MB, free: 3.922 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.504e-06/0.2757, allocations: 0 / 452.4 MB, free: 3.922 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.0003078/0.2761, allocations: 355.4 kB / 452.8 MB, free: 3.523 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/0.2761, allocations: 8.031 kB / 452.8 MB, free: 3.516 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.318e-05/0.2761, allocations: 8.844 kB / 452.8 MB, free: 3.508 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000145/0.2763, allocations: 184.2 kB / 453 MB, free: 3.289 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.055e-05/0.2763, allocations: 4.375 kB / 453 MB, free: 3.285 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.293e-05/0.2763, allocations: 8.375 kB / 453 MB, free: 3.277 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001278/0.2765, allocations: 70.22 kB / 453 MB, free: 3.203 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.2765, allocations: 12.03 kB / 453.1 MB, free: 3.191 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.2765, allocations: 7.938 kB / 453.1 MB, free: 3.184 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.2765, allocations: 8 kB / 453.1 MB, free: 3.176 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.676e-05/0.2766, allocations: 35.91 kB / 453.1 MB, free: 3.141 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005554/0.2772, allocations: 379.6 kB / 453.5 MB, free: 2.711 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.298e-05/0.2773, allocations: 58.5 kB / 453.5 MB, free: 2.645 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.104e-05/0.2773, allocations: 16.86 kB / 453.6 MB, free: 2.625 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.985e-06/0.2773, allocations: 4 kB / 453.6 MB, free: 2.621 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.068e-05/0.2774, allocations: 34.56 kB / 453.6 MB, free: 2.578 MB / 330.7 MB Notification: Performance of pre-optimization done (n=7): time 1.142e-06/0.2774, allocations: 0 / 453.6 MB, free: 2.578 MB / 330.7 MB Notification: Performance of matching and sorting (n=9): time 0.0006578/0.278, allocations: 0.5074 MB / 454.1 MB, free: 1.98 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.769e-05/0.2781, allocations: 59.41 kB / 454.2 MB, free: 1.91 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.7e-05/0.2781, allocations: 117.8 kB / 454.3 MB, free: 1.785 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.717e-05/0.2782, allocations: 29.69 kB / 454.3 MB, free: 1.75 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.866e-05/0.2782, allocations: 92.05 kB / 454.4 MB, free: 1.656 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.487e-05/0.2782, allocations: 35.45 kB / 454.4 MB, free: 1.621 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.169e-06/0.2783, allocations: 4 kB / 454.4 MB, free: 1.617 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.346e-05/0.2784, allocations: 314.8 kB / 454.7 MB, free: 1.301 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.7e-05/0.2784, allocations: 19.98 kB / 454.8 MB, free: 1.281 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.21e-05/0.2785, allocations: 65.08 kB / 454.8 MB, free: 1.199 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.798e-05/0.2786, allocations: 81.08 kB / 454.9 MB, free: 1.102 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.2786, allocations: 0 / 454.9 MB, free: 1.102 MB / 330.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001503/0.2787, allocations: 113.6 kB / 455 MB, free: 0.9844 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.2788, allocations: 6.656 kB / 455 MB, free: 0.9805 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.2788, allocations: 4 kB / 455 MB, free: 0.9766 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.2788, allocations: 3.984 kB / 455 MB, free: 0.9727 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.768e-05/0.2789, allocations: 27.92 kB / 455 MB, free: 0.9453 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.2789, allocations: 7.938 kB / 455.1 MB, free: 0.9375 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.812e-05/0.2789, allocations: 7.938 kB / 455.1 MB, free: 0.9297 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.654e-06/0.279, allocations: 4 kB / 455.1 MB, free: 0.9258 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 7.765e-05/0.279, allocations: 121.9 kB / 455.2 MB, free: 0.7969 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.46e-05/0.2791, allocations: 7.938 kB / 455.2 MB, free: 0.7891 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.914e-05/0.2791, allocations: 16.36 kB / 455.2 MB, free: 0.7773 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.2791, allocations: 4 kB / 455.2 MB, free: 0.7734 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.2791, allocations: 3.938 kB / 455.2 MB, free: 0.7695 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.2791, allocations: 0 / 455.2 MB, free: 0.7695 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004132/0.2796, allocations: 414.5 kB / 455.6 MB, free: 300 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.2796, allocations: 0 / 455.6 MB, free: 300 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.313e-05/0.2797, allocations: 16 kB / 455.6 MB, free: 284 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.2797, allocations: 0 / 455.6 MB, free: 284 kB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/0.2797, allocations: 8 kB / 455.6 MB, free: 276 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/0.2797, allocations: 3.984 kB / 455.7 MB, free: 272 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.2797, allocations: 7.938 kB / 455.7 MB, free: 264 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002002/0.2799, allocations: 231.8 kB / 455.9 MB, free: 0 / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.791e-05/0.28, allocations: 81.02 kB / 456 MB, free: 15.9 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.739e-05/0.28, allocations: 4 kB / 456 MB, free: 15.9 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.422e-05/0.2801, allocations: 8.062 kB / 456 MB, free: 15.89 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.743e-05/0.2801, allocations: 7.984 kB / 456 MB, free: 15.88 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-06/0.2801, allocations: 8 kB / 456 MB, free: 15.88 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.317e-05/0.2802, allocations: 87.28 kB / 456.1 MB, free: 15.79 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.2802, allocations: 4 kB / 456.1 MB, free: 15.79 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000234/0.2804, allocations: 19.98 kB / 456.1 MB, free: 15.77 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 0.0001025/0.2805, allocations: 103.2 kB / 456.2 MB, free: 15.65 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000113/0.2806, allocations: 60.23 kB / 456.3 MB, free: 15.59 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2806, allocations: 0 / 456.3 MB, free: 15.59 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.948e-05/0.2807, allocations: 35.86 kB / 456.3 MB, free: 15.56 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003151/0.281, allocations: 15.73 kB / 456.3 MB, free: 15.55 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005516/0.2816, allocations: 428.4 kB / 456.7 MB, free: 15.08 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002616/0.2818, allocations: 0.6926 MB / 457.4 MB, free: 14.36 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.471e-05/0.2819, allocations: 15.44 kB / 457.4 MB, free: 14.35 MB / 346.7 MB Notification: Performance of SimCode: time 2.2e-07/0.2819, allocations: 0 / 457.4 MB, free: 14.35 MB / 346.7 MB Notification: Performance of Templates: time 0.001996/0.2839, allocations: 0.9707 MB / 458.4 MB, free: 13.38 MB / 346.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Accelerate.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Accelerate.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Accelerate.sim & ./Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Accelerate --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Accelerate.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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_cpp_Modelica.Mechanics.Translational.Examples.Accelerate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches