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.002213/0.00222, allocations: 178.4 kB / 8.362 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.107/2.107, allocations: 205.3 MB / 214.1 MB, free: 14.15 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001115/0.001115, allocations: 89.38 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.361e-05/2.375e-05, allocations: 4 kB / 314.8 MB, free: 9.168 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3754/0.3754, allocations: 47.56 MB / 362.3 MB, free: 45.83 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1509/0.5265, allocations: 74.53 MB / 436.9 MB, free: 11.79 MB / 331.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002302/0.5267, allocations: 66.61 kB / 436.9 MB, free: 11.73 MB / 331.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.005357/0.5321, allocations: 1.316 MB / 438.2 MB, free: 10.43 MB / 331.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.5322, allocations: 0 / 438.2 MB, free: 10.43 MB / 331.1 MB Notification: Performance of Transformations before backend: time 1.124e-05/0.5322, allocations: 4 kB / 438.2 MB, free: 10.43 MB / 331.1 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.0004754/0.5327, allocations: 347.3 kB / 438.6 MB, free: 10.05 MB / 331.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.877e-05/0.5328, allocations: 8.594 kB / 438.6 MB, free: 10.04 MB / 331.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.445e-05/0.5328, allocations: 4 kB / 438.6 MB, free: 10.04 MB / 331.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002322/0.5331, allocations: 192.8 kB / 438.8 MB, free: 9.812 MB / 331.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/0.5331, allocations: 0 / 438.8 MB, free: 9.812 MB / 331.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.323e-05/0.5331, allocations: 7.953 kB / 438.8 MB, free: 9.805 MB / 331.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001501/0.5333, allocations: 35.98 kB / 438.8 MB, free: 9.77 MB / 331.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001483/0.5335, allocations: 54.34 kB / 438.9 MB, free: 9.711 MB / 331.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.678e-05/0.5335, allocations: 2.219 kB / 438.9 MB, free: 9.711 MB / 331.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.697e-05/0.5335, allocations: 3.984 kB / 438.9 MB, free: 9.707 MB / 331.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.5335, allocations: 4 kB / 438.9 MB, free: 9.703 MB / 331.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008935/0.5344, allocations: 345.1 kB / 439.2 MB, free: 9.32 MB / 331.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001294/0.5346, allocations: 54.14 kB / 439.3 MB, free: 9.262 MB / 331.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.268e-05/0.5347, allocations: 17.56 kB / 439.3 MB, free: 9.242 MB / 331.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.601e-05/0.5347, allocations: 1.219 kB / 439.3 MB, free: 9.242 MB / 331.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.234e-05/0.5347, allocations: 30.56 kB / 439.3 MB, free: 9.203 MB / 331.1 MB Notification: Performance of pre-optimization done (n=7): time 4.288e-06/0.5348, allocations: 1.938 kB / 439.3 MB, free: 9.203 MB / 331.1 MB Notification: Performance of matching and sorting (n=9): time 0.001036/0.5358, allocations: 484.5 kB / 439.8 MB, free: 8.641 MB / 331.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.996e-05/0.5359, allocations: 56.81 kB / 439.9 MB, free: 8.574 MB / 331.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001176/0.536, allocations: 97.22 kB / 440 MB, free: 8.477 MB / 331.1 MB Notification: Performance of collectPreVariables (initialization): time 2.39e-05/0.536, allocations: 25.7 kB / 440 MB, free: 8.445 MB / 331.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001296/0.5362, allocations: 174.4 kB / 440.1 MB, free: 8.273 MB / 331.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.065e-05/0.5362, allocations: 31.55 kB / 440.2 MB, free: 8.242 MB / 331.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.28e-06/0.5363, allocations: 0 / 440.2 MB, free: 8.242 MB / 331.1 MB Notification: Performance of setup shared object (initialization): time 0.0002002/0.5365, allocations: 318.8 kB / 440.5 MB, free: 7.922 MB / 331.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.873e-05/0.5365, allocations: 16 kB / 440.5 MB, free: 7.906 MB / 331.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001369/0.5367, allocations: 55.06 kB / 440.6 MB, free: 7.836 MB / 331.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.115e-05/0.5368, allocations: 29.98 kB / 440.6 MB, free: 7.809 MB / 331.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.5368, allocations: 1.75 kB / 440.6 MB, free: 7.809 MB / 331.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002367/0.537, allocations: 93.45 kB / 440.7 MB, free: 7.711 MB / 331.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.409e-05/0.5371, allocations: 8 kB / 440.7 MB, free: 7.703 MB / 331.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.5371, allocations: 3.984 kB / 440.7 MB, free: 7.699 MB / 331.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.003e-05/0.5371, allocations: 4 kB / 440.7 MB, free: 7.695 MB / 331.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000173/0.5373, allocations: 21.5 kB / 440.7 MB, free: 7.676 MB / 331.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.201e-05/0.5373, allocations: 6.344 kB / 440.7 MB, free: 7.672 MB / 331.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.919e-05/0.5374, allocations: 7.984 kB / 440.7 MB, free: 7.664 MB / 331.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.453e-05/0.5374, allocations: 5.094 kB / 440.7 MB, free: 7.66 MB / 331.1 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 0.0001064/0.5376, allocations: 112.9 kB / 440.8 MB, free: 7.543 MB / 331.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.597e-05/0.5376, allocations: 4 kB / 440.9 MB, free: 7.539 MB / 331.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.459e-05/0.5376, allocations: 8.625 kB / 440.9 MB, free: 7.535 MB / 331.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.5377, allocations: 0 / 440.9 MB, free: 7.535 MB / 331.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.5377, allocations: 0 / 440.9 MB, free: 7.535 MB / 331.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.5377, allocations: 0 / 440.9 MB, free: 7.535 MB / 331.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007101/0.5384, allocations: 383.2 kB / 441.2 MB, free: 7.102 MB / 331.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.5384, allocations: 3.828 kB / 441.2 MB, free: 7.102 MB / 331.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001764/0.5386, allocations: 23.98 kB / 441.3 MB, free: 7.078 MB / 331.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.148e-06/0.5386, allocations: 7.938 kB / 441.3 MB, free: 7.07 MB / 331.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/0.5387, allocations: 160 / 441.3 MB, free: 7.07 MB / 331.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.462e-06/0.5387, allocations: 8 kB / 441.3 MB, free: 7.062 MB / 331.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.5387, allocations: 0.9375 kB / 441.3 MB, free: 7.062 MB / 331.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003679/0.5391, allocations: 281.6 kB / 441.6 MB, free: 6.727 MB / 331.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.997e-05/0.5392, allocations: 85.05 kB / 441.6 MB, free: 6.625 MB / 331.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.226e-05/0.5392, allocations: 0 / 441.6 MB, free: 6.625 MB / 331.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.5393, allocations: 7.094 kB / 441.6 MB, free: 6.621 MB / 331.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.129e-05/0.5393, allocations: 16.05 kB / 441.7 MB, free: 6.605 MB / 331.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.36e-05/0.5394, allocations: 7.953 kB / 441.7 MB, free: 6.598 MB / 331.1 MB Notification: Performance of sorting global known variables: time 6.088e-05/0.5394, allocations: 79.28 kB / 441.7 MB, free: 6.52 MB / 331.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5394, allocations: 0 / 441.7 MB, free: 6.52 MB / 331.1 MB Notification: Performance of remove unused functions: time 0.0003745/0.5398, allocations: 12 kB / 441.8 MB, free: 6.508 MB / 331.1 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.0001697/0.54, allocations: 107.2 kB / 441.9 MB, free: 6.391 MB / 331.1 MB Notification: Performance of simCode: created initialization part: time 0.000179/0.5402, allocations: 43.94 kB / 441.9 MB, free: 6.348 MB / 331.1 MB Notification: Performance of simCode: created event and clocks part: time 3.217e-06/0.5402, allocations: 0 / 441.9 MB, free: 6.348 MB / 331.1 MB Notification: Performance of simCode: created simulation system equations: time 6.958e-05/0.5403, allocations: 34.38 kB / 441.9 MB, free: 6.316 MB / 331.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000331/0.5406, allocations: 8.484 kB / 441.9 MB, free: 6.309 MB / 331.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007007/0.5414, allocations: 282.8 kB / 442.2 MB, free: 5.992 MB / 331.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000355/0.5417, allocations: 0.6924 MB / 442.9 MB, free: 5.273 MB / 331.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.892e-05/0.5418, allocations: 11.44 kB / 442.9 MB, free: 5.262 MB / 331.1 MB Notification: Performance of SimCode: time 3.046e-06/0.5418, allocations: 0 / 442.9 MB, free: 5.262 MB / 331.1 MB Notification: Performance of Templates: time 0.00333/0.5451, allocations: 0.9231 MB / 443.8 MB, free: 4.359 MB / 331.1 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