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.001011/0.001011, allocations: 195.7 kB / 18.07 MB, free: 3.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.412/1.412, allocations: 226.5 MB / 245.3 MB, free: 6.492 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007751/0.0007753, allocations: 105.5 kB / 297.4 MB, free: 6.656 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003854/0.0003854, allocations: 4 kB / 357.4 MB, free: 10.72 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2861/0.2866, allocations: 51.29 MB / 408.7 MB, free: 27.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09677/0.3834, allocations: 77.05 MB / 485.7 MB, free: 14.53 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002027/0.3836, allocations: 68.84 kB / 485.8 MB, free: 14.46 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003594/0.3872, allocations: 1.364 MB / 487.1 MB, free: 13.11 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3872, allocations: 0 / 487.1 MB, free: 13.11 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.418e-06/0.3873, allocations: 0 / 487.1 MB, free: 13.11 MB / 362.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.0004016/0.3877, allocations: 347.5 kB / 487.5 MB, free: 12.72 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/0.3877, allocations: 8.031 kB / 487.5 MB, free: 12.71 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.235e-05/0.3878, allocations: 8.844 kB / 487.5 MB, free: 12.7 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001922/0.388, allocations: 184.2 kB / 487.7 MB, free: 12.48 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.336e-05/0.388, allocations: 12.38 kB / 487.7 MB, free: 12.47 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.13e-05/0.3881, allocations: 4.375 kB / 487.7 MB, free: 12.47 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001818/0.3882, allocations: 74.23 kB / 487.8 MB, free: 12.39 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.647e-05/0.3883, allocations: 4.094 kB / 487.8 MB, free: 12.39 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.392e-05/0.3883, allocations: 3.938 kB / 487.8 MB, free: 12.38 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.3883, allocations: 7.938 kB / 487.8 MB, free: 12.38 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001038/0.3884, allocations: 35.92 kB / 487.8 MB, free: 12.34 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007898/0.3892, allocations: 383.6 kB / 488.2 MB, free: 11.91 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001279/0.3894, allocations: 54.5 kB / 488.2 MB, free: 11.85 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.022e-05/0.3894, allocations: 20.86 kB / 488.3 MB, free: 11.82 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.402e-05/0.3895, allocations: 4 kB / 488.3 MB, free: 11.82 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.499e-05/0.3895, allocations: 30.56 kB / 488.3 MB, free: 11.78 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.854e-06/0.3895, allocations: 4 kB / 488.3 MB, free: 11.78 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0008091/0.3903, allocations: 0.5052 MB / 488.8 MB, free: 11.18 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.027e-05/0.3904, allocations: 55.41 kB / 488.9 MB, free: 11.11 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001005/0.3905, allocations: 125.7 kB / 489 MB, free: 10.98 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.331e-05/0.3905, allocations: 25.7 kB / 489 MB, free: 10.95 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.646e-05/0.3906, allocations: 96.05 kB / 489.1 MB, free: 10.85 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.914e-05/0.3906, allocations: 39.45 kB / 489.1 MB, free: 10.81 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.937e-06/0.3906, allocations: 0 / 489.1 MB, free: 10.81 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001169/0.3907, allocations: 322.8 kB / 489.5 MB, free: 10.49 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.308e-05/0.3908, allocations: 12 kB / 489.5 MB, free: 10.48 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.934e-05/0.3908, allocations: 60.58 kB / 489.5 MB, free: 10.4 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001141/0.391, allocations: 89.08 kB / 489.6 MB, free: 10.3 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.391, allocations: 0 / 489.6 MB, free: 10.3 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001545/0.3911, allocations: 109.5 kB / 489.7 MB, free: 10.18 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.3911, allocations: 4 kB / 489.7 MB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.3912, allocations: 4.859 kB / 489.7 MB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.3912, allocations: 4.562 kB / 489.7 MB, free: 10.17 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.038e-05/0.3913, allocations: 31.92 kB / 489.8 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.427e-06/0.3913, allocations: 7.938 kB / 489.8 MB, free: 10.13 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.644e-05/0.3913, allocations: 0 / 489.8 MB, free: 10.13 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.736e-06/0.3913, allocations: 4 kB / 489.8 MB, free: 10.13 MB / 362.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 9.492e-05/0.3914, allocations: 125.7 kB / 489.9 MB, free: 9.996 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.652e-05/0.3915, allocations: 4 kB / 489.9 MB, free: 9.992 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.324e-05/0.3915, allocations: 12.36 kB / 489.9 MB, free: 9.977 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.3915, allocations: 8 kB / 489.9 MB, free: 9.969 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.3915, allocations: 3.938 kB / 489.9 MB, free: 9.965 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.3915, allocations: 0 / 489.9 MB, free: 9.965 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000534/0.3921, allocations: 410.6 kB / 490.3 MB, free: 9.492 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.3921, allocations: 4 kB / 490.3 MB, free: 9.488 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.554e-05/0.3922, allocations: 28.14 kB / 490.4 MB, free: 9.461 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.3922, allocations: 0 / 490.4 MB, free: 9.461 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.3922, allocations: 4 kB / 490.4 MB, free: 9.457 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.3922, allocations: 3.938 kB / 490.4 MB, free: 9.453 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.3923, allocations: 4 kB / 490.4 MB, free: 9.449 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002232/0.3925, allocations: 227.6 kB / 490.6 MB, free: 9.195 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.357e-05/0.3925, allocations: 89.05 kB / 490.7 MB, free: 9.09 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.865e-05/0.3926, allocations: 7.938 kB / 490.7 MB, free: 9.082 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.38e-05/0.3926, allocations: 0 / 490.7 MB, free: 9.082 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.333e-05/0.3927, allocations: 7.984 kB / 490.7 MB, free: 9.074 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.378e-06/0.3927, allocations: 12 kB / 490.7 MB, free: 9.062 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.044e-05/0.3927, allocations: 95.33 kB / 490.8 MB, free: 8.969 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3928, allocations: 0 / 490.8 MB, free: 8.969 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002431/0.393, allocations: 16 kB / 490.8 MB, free: 8.953 MB / 362.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.0001631/0.3932, allocations: 107.2 kB / 490.9 MB, free: 8.84 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001281/0.3933, allocations: 59.86 kB / 491 MB, free: 8.781 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3933, allocations: 3.938 kB / 491 MB, free: 8.777 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.888e-05/0.3934, allocations: 32.61 kB / 491 MB, free: 8.746 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003287/0.3937, allocations: 12 kB / 491 MB, free: 8.734 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005833/0.3943, allocations: 419.1 kB / 491.4 MB, free: 8.273 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002972/0.3946, allocations: 0.6926 MB / 492.1 MB, free: 7.555 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.517e-05/0.3946, allocations: 11.44 kB / 492.1 MB, free: 7.543 MB / 362.7 MB Notification: Performance of SimCode: time 2.6e-07/0.3946, allocations: 0 / 492.1 MB, free: 7.543 MB / 362.7 MB Notification: Performance of Templates: time 0.002069/0.3967, allocations: 0.9724 MB / 493.1 MB, free: 6.574 MB / 362.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/jenkins1/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