Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_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_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_trunk_cpp_Modelica.Mechanics.Translational.Examples.Accelerate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001179/0.001179, allocations: 195.9 kB / 17.05 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.229/1.229, allocations: 226.6 MB / 244.4 MB, free: 8.301 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007153/0.0007152, allocations: 107.3 kB / 296.4 MB, free: 7.016 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0001886/0.0001886, allocations: 7.938 kB / 356.2 MB, free: 11.23 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1713/0.1715, allocations: 51.29 MB / 407.5 MB, free: 27.84 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.00124/0.1728, allocations: 1.335 MB / 408.8 MB, free: 26.5 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001631/0.173, allocations: 69.42 kB / 408.9 MB, free: 26.43 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.744e-05/0.1731, allocations: 3.938 kB / 408.9 MB, free: 26.43 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 7.222e-05/0.1731, allocations: 1.938 kB / 408.9 MB, free: 26.43 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 3.376e-05/0.1732, allocations: 19.84 kB / 408.9 MB, free: 26.41 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.055e-05/0.1733, allocations: 12 kB / 408.9 MB, free: 26.4 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.189e-05/0.1734, allocations: 59.72 kB / 409 MB, free: 26.34 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.842e-05/0.1735, allocations: 21.23 kB / 409 MB, free: 26.32 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.81e-05/0.1735, allocations: 22.05 kB / 409 MB, free: 26.3 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.013e-05/0.1735, allocations: 23.86 kB / 409.1 MB, free: 26.28 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.49e-05/0.1736, allocations: 4 kB / 409.1 MB, free: 26.27 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.313e-05/0.1736, allocations: 4 kB / 409.1 MB, free: 26.27 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.037e-06/0.1736, allocations: 4 kB / 409.1 MB, free: 26.27 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.924e-05/0.1736, allocations: 37.64 kB / 409.1 MB, free: 26.22 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 6.405e-05/0.1737, allocations: 49.66 kB / 409.1 MB, free: 26.18 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.1737, allocations: 0 / 409.1 MB, free: 26.18 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1737, allocations: 0.9688 kB / 409.1 MB, free: 26.18 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.407e-06/0.1737, allocations: 0 / 409.1 MB, free: 26.18 MB / 298.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.0002958/0.174, allocations: 353.5 kB / 409.5 MB, free: 25.79 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.832e-05/0.1741, allocations: 15.97 kB / 409.5 MB, free: 25.77 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.743e-05/0.1741, allocations: 7.906 kB / 409.5 MB, free: 25.76 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001089/0.1742, allocations: 175 kB / 409.7 MB, free: 25.55 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.013e-05/0.1742, allocations: 7.125 kB / 409.7 MB, free: 25.55 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.255e-05/0.1742, allocations: 15.86 kB / 409.7 MB, free: 25.53 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000112/0.1744, allocations: 66.59 kB / 409.8 MB, free: 25.46 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.1744, allocations: 4 kB / 409.8 MB, free: 25.46 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.1744, allocations: 7.938 kB / 409.8 MB, free: 25.45 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.1744, allocations: 4 kB / 409.8 MB, free: 25.45 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.203e-05/0.1745, allocations: 35.97 kB / 409.8 MB, free: 25.41 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004873/0.175, allocations: 379.7 kB / 410.2 MB, free: 24.98 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.469e-05/0.1751, allocations: 58.55 kB / 410.3 MB, free: 24.92 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.726e-05/0.1751, allocations: 20.84 kB / 410.3 MB, free: 24.89 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.372e-06/0.1751, allocations: 0 / 410.3 MB, free: 24.89 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.028e-05/0.1751, allocations: 34.5 kB / 410.3 MB, free: 24.85 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 9.12e-07/0.1751, allocations: 4 kB / 410.3 MB, free: 24.85 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005065/0.1756, allocations: 0.5051 MB / 410.8 MB, free: 24.25 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.725e-05/0.1757, allocations: 55.41 kB / 410.9 MB, free: 24.18 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.584e-05/0.1757, allocations: 118 kB / 411 MB, free: 24.05 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.306e-06/0.1757, allocations: 29.7 kB / 411 MB, free: 24.02 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.68e-05/0.1758, allocations: 103.9 kB / 411.1 MB, free: 23.91 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.702e-05/0.1758, allocations: 27.56 kB / 411.1 MB, free: 23.89 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.828e-06/0.1758, allocations: 4 kB / 411.1 MB, free: 23.88 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.716e-05/0.1758, allocations: 322.8 kB / 411.5 MB, free: 23.56 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.771e-05/0.1759, allocations: 19.98 kB / 411.5 MB, free: 23.54 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.877e-05/0.1759, allocations: 60.39 kB / 411.5 MB, free: 23.46 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.847e-05/0.176, allocations: 27.94 kB / 411.6 MB, free: 23.44 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.176, allocations: 4 kB / 411.6 MB, free: 23.43 MB / 298.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001132/0.1761, allocations: 105.5 kB / 411.7 MB, free: 23.32 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/0.1761, allocations: 8 kB / 411.7 MB, free: 23.32 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.1761, allocations: 480 / 411.7 MB, free: 23.32 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.1761, allocations: 4 kB / 411.7 MB, free: 23.31 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.354e-05/0.1762, allocations: 19.98 kB / 411.7 MB, free: 23.29 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.1762, allocations: 8.094 kB / 411.7 MB, free: 23.29 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.75e-05/0.1763, allocations: 7.953 kB / 411.7 MB, free: 23.28 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.582e-06/0.1763, allocations: 11.88 kB / 411.7 MB, free: 23.27 MB / 298.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 4.569e-05/0.1763, allocations: 117.8 kB / 411.9 MB, free: 23.14 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.521e-05/0.1764, allocations: 11.91 kB / 411.9 MB, free: 23.13 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.642e-05/0.1764, allocations: 16.36 kB / 411.9 MB, free: 23.11 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.1764, allocations: 0 / 411.9 MB, free: 23.11 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.1764, allocations: 0 / 411.9 MB, free: 23.11 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.1764, allocations: 0 / 411.9 MB, free: 23.11 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003107/0.1767, allocations: 410.6 kB / 412.3 MB, free: 22.63 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1767, allocations: 0 / 412.3 MB, free: 22.63 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.835e-05/0.1768, allocations: 16 kB / 412.3 MB, free: 22.62 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.1768, allocations: 4 kB / 412.3 MB, free: 22.61 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.248e-06/0.1768, allocations: 16.09 kB / 412.3 MB, free: 22.6 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.1769, allocations: 4 kB / 412.3 MB, free: 22.59 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1769, allocations: 0 / 412.3 MB, free: 22.59 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001539/0.177, allocations: 231.8 kB / 412.5 MB, free: 22.34 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.124e-05/0.177, allocations: 89 kB / 412.6 MB, free: 22.23 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.414e-05/0.1771, allocations: 4 kB / 412.6 MB, free: 22.23 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.394e-05/0.1771, allocations: 7.953 kB / 412.6 MB, free: 22.22 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.719e-05/0.1772, allocations: 7.984 kB / 412.7 MB, free: 22.21 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/0.1772, allocations: 4 kB / 412.7 MB, free: 22.21 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.938e-05/0.1772, allocations: 95.27 kB / 412.7 MB, free: 22.11 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1772, allocations: 0 / 412.7 MB, free: 22.11 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002139/0.1774, allocations: 16.06 kB / 412.8 MB, free: 22.1 MB / 298.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 7.82e-05/0.1775, allocations: 107.1 kB / 412.9 MB, free: 21.98 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.66e-05/0.1776, allocations: 51.92 kB / 412.9 MB, free: 21.93 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.644e-06/0.1776, allocations: 384 / 412.9 MB, free: 21.93 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.901e-05/0.1777, allocations: 31.92 kB / 413 MB, free: 21.9 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002773/0.1779, allocations: 8.5 kB / 413 MB, free: 21.89 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004242/0.1784, allocations: 446.9 kB / 413.4 MB, free: 21.41 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001042/0.1785, allocations: 0.6887 MB / 414.1 MB, free: 20.69 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.95e-05/0.1785, allocations: 15.44 kB / 414.1 MB, free: 20.68 MB / 298.7 MB Notification: Performance of SimCode: time 2.5e-07/0.1785, allocations: 0 / 414.1 MB, free: 20.68 MB / 298.7 MB Notification: Performance of Templates: time 0.001639/0.1802, allocations: 0.9669 MB / 415.1 MB, free: 19.71 MB / 298.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.Accelerate.makefile (rm -f Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.Accelerate.pipe >> ../files/Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.Accelerate.sim & ./Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.Accelerate --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Mechanics.Translational.Examples.Accelerate.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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_cpp_Modelica.Mechanics.Translational.Examples.Accelerate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches