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.001498/0.001497, allocations: 186.2 kB / 16.4 MB, free: 5.746 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.925/1.925, allocations: 205.4 MB / 222.5 MB, free: 9.109 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.001151/0.001151, allocations: 102 kB / 270.9 MB, free: 8.355 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005877/0.0005878, allocations: 8 kB / 327 MB, free: 196 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3367/0.3373, allocations: 47.57 MB / 374.5 MB, free: 45.4 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.119/0.4564, allocations: 75.28 MB / 449.8 MB, free: 5.48 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002721/0.4567, allocations: 67.95 kB / 449.9 MB, free: 5.414 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005658/0.4624, allocations: 1.332 MB / 451.2 MB, free: 4.078 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.405e-06/0.4624, allocations: 0 / 451.2 MB, free: 4.078 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.067e-05/0.4625, allocations: 0 / 451.2 MB, free: 4.078 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.0004881/0.463, allocations: 351.3 kB / 451.6 MB, free: 3.688 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.721e-05/0.463, allocations: 8.031 kB / 451.6 MB, free: 3.68 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.953e-05/0.4631, allocations: 11.89 kB / 451.6 MB, free: 3.668 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002167/0.4633, allocations: 178.9 kB / 451.7 MB, free: 3.453 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.719e-05/0.4633, allocations: 11.94 kB / 451.8 MB, free: 3.441 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.617e-05/0.4634, allocations: 11.94 kB / 451.8 MB, free: 3.43 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002076/0.4636, allocations: 73.61 kB / 451.8 MB, free: 3.352 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.4636, allocations: 0 / 451.8 MB, free: 3.352 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.412e-05/0.4636, allocations: 0 / 451.8 MB, free: 3.352 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.4637, allocations: 8 kB / 451.8 MB, free: 3.344 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001228/0.4638, allocations: 31.98 kB / 451.9 MB, free: 3.312 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009051/0.4647, allocations: 383.5 kB / 452.3 MB, free: 2.879 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001541/0.4649, allocations: 50.56 kB / 452.3 MB, free: 2.82 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.38e-05/0.4649, allocations: 4 kB / 452.3 MB, free: 2.816 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.87e-05/0.465, allocations: 38.56 kB / 452.3 MB, free: 2.77 MB / 330.7 MB Notification: Performance of pre-optimization done (n=7): time 2.324e-06/0.465, allocations: 0 / 452.3 MB, free: 2.77 MB / 330.7 MB Notification: Performance of matching and sorting (n=9): time 0.001021/0.466, allocations: 0.5052 MB / 452.9 MB, free: 2.172 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.808e-05/0.4661, allocations: 55.41 kB / 452.9 MB, free: 2.105 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001242/0.4662, allocations: 113.2 kB / 453 MB, free: 1.984 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.4662, allocations: 29.64 kB / 453 MB, free: 1.949 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.87e-05/0.4664, allocations: 158.5 kB / 453.2 MB, free: 1.793 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.733e-05/0.4664, allocations: 35.45 kB / 453.2 MB, free: 1.758 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.887e-06/0.4664, allocations: 4 kB / 453.2 MB, free: 1.754 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.4666, allocations: 322.8 kB / 453.6 MB, free: 1.43 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.14e-05/0.4667, allocations: 12 kB / 453.6 MB, free: 1.418 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001005/0.4668, allocations: 64.52 kB / 453.6 MB, free: 1.34 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.562e-05/0.4669, allocations: 26 kB / 453.7 MB, free: 1.316 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.4669, allocations: 480 / 453.7 MB, free: 1.316 MB / 330.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000267/0.4671, allocations: 109.5 kB / 453.8 MB, free: 1.203 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.656e-05/0.4672, allocations: 4 kB / 453.8 MB, free: 1.199 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.909e-06/0.4672, allocations: 4.094 kB / 453.8 MB, free: 1.195 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.4672, allocations: 8 kB / 453.8 MB, free: 1.188 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001868/0.4674, allocations: 31.86 kB / 453.8 MB, free: 1.156 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.4675, allocations: 0.8594 kB / 453.8 MB, free: 1.156 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.3e-05/0.4675, allocations: 8 kB / 453.8 MB, free: 1.148 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.23e-05/0.4676, allocations: 4 kB / 453.8 MB, free: 1.145 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 0.0001242/0.4677, allocations: 125.7 kB / 453.9 MB, free: 1.012 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.119e-05/0.4677, allocations: 7.906 kB / 454 MB, free: 1.004 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.536e-05/0.4678, allocations: 12.45 kB / 454 MB, free: 0.9922 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/0.4678, allocations: 7.984 kB / 454 MB, free: 0.9844 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.4678, allocations: 4 kB / 454 MB, free: 0.9805 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.002e-06/0.4678, allocations: 3.984 kB / 454 MB, free: 0.9766 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007422/0.4686, allocations: 398.6 kB / 454.4 MB, free: 0.5156 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.093e-06/0.4686, allocations: 4.156 kB / 454.4 MB, free: 0.5117 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001717/0.4688, allocations: 23.92 kB / 454.4 MB, free: 500 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.232e-06/0.4688, allocations: 4 kB / 454.4 MB, free: 496 kB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.511e-05/0.4689, allocations: 4 kB / 454.4 MB, free: 492 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.042e-06/0.4689, allocations: 3.953 kB / 454.4 MB, free: 488 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/0.4689, allocations: 4 kB / 454.4 MB, free: 484 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003738/0.4693, allocations: 284.2 kB / 454.7 MB, free: 136 kB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.058e-05/0.4693, allocations: 85.12 kB / 454.8 MB, free: 32 kB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.68e-05/0.4694, allocations: 8.062 kB / 454.8 MB, free: 24 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.4695, allocations: 4 kB / 454.8 MB, free: 20 kB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.125e-05/0.4695, allocations: 15.88 kB / 454.8 MB, free: 4 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.115e-05/0.4696, allocations: 4 kB / 454.8 MB, free: 0 / 330.7 MB Notification: Performance of sorting global known variables: time 9.554e-05/0.4697, allocations: 87.36 kB / 454.9 MB, free: 15.91 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.4697, allocations: 0 / 454.9 MB, free: 15.91 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003502/0.47, allocations: 20 kB / 454.9 MB, free: 15.89 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.0001683/0.4702, allocations: 105.4 kB / 455 MB, free: 15.78 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002345/0.4705, allocations: 60.23 kB / 455.1 MB, free: 15.72 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.4705, allocations: 0 / 455.1 MB, free: 15.72 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.976e-05/0.4706, allocations: 31.86 kB / 455.1 MB, free: 15.69 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003406/0.4709, allocations: 12 kB / 455.1 MB, free: 15.68 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008738/0.4718, allocations: 424.4 kB / 455.5 MB, free: 15.21 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003135/0.4721, allocations: 0.7004 MB / 456.2 MB, free: 14.49 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.092e-05/0.4722, allocations: 11.44 kB / 456.2 MB, free: 14.48 MB / 346.7 MB Notification: Performance of SimCode: time 1.082e-06/0.4722, allocations: 0 / 456.2 MB, free: 14.48 MB / 346.7 MB Notification: Performance of Templates: time 0.003267/0.4755, allocations: 0.9641 MB / 457.2 MB, free: 13.51 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