Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_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_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_Modelica.Mechanics.Translational.Examples.Accelerate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001081/0.001081, allocations: 197.6 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.212/1.212, allocations: 227.2 MB / 245 MB, free: 7.602 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008676/0.0008676, allocations: 106.6 kB / 297.3 MB, free: 6.18 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002295/0.0002294, allocations: 4 kB / 357.9 MB, free: 9.543 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2057/0.2059, allocations: 51.48 MB / 409.4 MB, free: 26.75 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08696/0.2929, allocations: 77.11 MB / 486.5 MB, free: 13.53 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001993/0.2932, allocations: 75.94 kB / 486.6 MB, free: 13.45 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003499/0.2967, allocations: 1.36 MB / 488 MB, free: 12.09 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.625e-06/0.2967, allocations: 0 / 488 MB, free: 12.09 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.188e-05/0.2967, allocations: 8 kB / 488 MB, free: 12.09 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.0003247/0.2971, allocations: 347.2 kB / 488.3 MB, free: 11.7 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.2971, allocations: 12.03 kB / 488.3 MB, free: 11.69 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.328e-05/0.2971, allocations: 7.906 kB / 488.3 MB, free: 11.68 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001448/0.2973, allocations: 182.9 kB / 488.5 MB, free: 11.46 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/0.2973, allocations: 4 kB / 488.5 MB, free: 11.46 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.835e-05/0.2973, allocations: 15.95 kB / 488.5 MB, free: 11.44 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001448/0.2975, allocations: 64.34 kB / 488.6 MB, free: 11.38 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.2975, allocations: 3.984 kB / 488.6 MB, free: 11.37 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.2975, allocations: 4 kB / 488.6 MB, free: 11.37 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.2975, allocations: 0 / 488.6 MB, free: 11.37 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.193e-05/0.2976, allocations: 35.98 kB / 488.6 MB, free: 11.33 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005763/0.2982, allocations: 379.5 kB / 489 MB, free: 10.91 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.648e-05/0.2983, allocations: 66.48 kB / 489.1 MB, free: 10.83 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.257e-06/0.2983, allocations: 0 / 489.1 MB, free: 10.83 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.101e-05/0.2984, allocations: 30.56 kB / 489.1 MB, free: 10.79 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.2984, allocations: 3.938 kB / 489.1 MB, free: 10.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.000677/0.2991, allocations: 0.5097 MB / 489.6 MB, free: 10.19 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.139e-05/0.2991, allocations: 51.41 kB / 489.7 MB, free: 10.12 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.855e-05/0.2992, allocations: 113.1 kB / 489.8 MB, free: 10 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.025e-05/0.2992, allocations: 25.7 kB / 489.8 MB, free: 9.973 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.004e-05/0.2992, allocations: 96.03 kB / 489.9 MB, free: 9.875 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.445e-05/0.2993, allocations: 39.61 kB / 489.9 MB, free: 9.836 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.919e-06/0.2993, allocations: 4 kB / 489.9 MB, free: 9.832 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.135e-05/0.2994, allocations: 322.8 kB / 490.2 MB, free: 9.508 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.298e-05/0.2994, allocations: 19.98 kB / 490.3 MB, free: 9.488 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.402e-05/0.2995, allocations: 53.14 kB / 490.3 MB, free: 9.418 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.921e-05/0.2995, allocations: 35.94 kB / 490.3 MB, free: 9.383 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.2995, allocations: 0 / 490.3 MB, free: 9.383 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001388/0.2997, allocations: 105.5 kB / 490.5 MB, free: 9.273 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.2997, allocations: 4 kB / 490.5 MB, free: 9.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.2997, allocations: 0 / 490.5 MB, free: 9.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.2997, allocations: 4 kB / 490.5 MB, free: 9.266 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.366e-05/0.2998, allocations: 23.98 kB / 490.5 MB, free: 9.242 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.2998, allocations: 0 / 490.5 MB, free: 9.242 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.805e-05/0.2999, allocations: 8.094 kB / 490.5 MB, free: 9.234 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.196e-06/0.2999, allocations: 4.469 kB / 490.5 MB, free: 9.23 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 7.194e-05/0.2999, allocations: 129.7 kB / 490.6 MB, free: 9.094 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.798e-05/0.3, allocations: 11.89 kB / 490.6 MB, free: 9.082 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.786e-05/0.3, allocations: 8.375 kB / 490.6 MB, free: 9.074 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.3, allocations: 0 / 490.6 MB, free: 9.074 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.3, allocations: 7.938 kB / 490.7 MB, free: 9.066 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.3, allocations: 144 / 490.7 MB, free: 9.066 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004106/0.3004, allocations: 414.5 kB / 491.1 MB, free: 8.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.095e-06/0.3005, allocations: 4 kB / 491.1 MB, free: 8.586 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.595e-05/0.3006, allocations: 19.98 kB / 491.1 MB, free: 8.566 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.3006, allocations: 0 / 491.1 MB, free: 8.566 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.3006, allocations: 4 kB / 491.1 MB, free: 8.562 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.3006, allocations: 8.109 kB / 491.1 MB, free: 8.555 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.3006, allocations: 4 kB / 491.1 MB, free: 8.551 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002262/0.3008, allocations: 288.2 kB / 491.4 MB, free: 8.207 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.283e-05/0.3009, allocations: 85.05 kB / 491.5 MB, free: 8.105 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.975e-05/0.3009, allocations: 8 kB / 491.5 MB, free: 8.098 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.464e-05/0.301, allocations: 3.938 kB / 491.5 MB, free: 8.094 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.989e-05/0.301, allocations: 20 kB / 491.5 MB, free: 8.074 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.841e-06/0.301, allocations: 4 kB / 491.5 MB, free: 8.07 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.506e-05/0.3011, allocations: 91.27 kB / 491.6 MB, free: 7.98 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3011, allocations: 0 / 491.6 MB, free: 7.98 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002333/0.3013, allocations: 20 kB / 491.6 MB, free: 7.961 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.0001024/0.3014, allocations: 99.25 kB / 491.7 MB, free: 7.852 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000117/0.3015, allocations: 59.84 kB / 491.8 MB, free: 7.793 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3015, allocations: 8.188 kB / 491.8 MB, free: 7.785 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.744e-05/0.3016, allocations: 27.94 kB / 491.8 MB, free: 7.758 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002125/0.3018, allocations: 10.2 kB / 491.8 MB, free: 7.75 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005161/0.3023, allocations: 390 kB / 492.2 MB, free: 7.328 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002684/0.3026, allocations: 0.6965 MB / 492.9 MB, free: 6.605 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.376e-05/0.3027, allocations: 16.36 kB / 492.9 MB, free: 6.59 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.226e-05/0.3027, allocations: 11.44 kB / 492.9 MB, free: 6.578 MB / 362.7 MB Notification: Performance of SimCode: time 2.2e-07/0.3027, allocations: 0 / 492.9 MB, free: 6.578 MB / 362.7 MB Notification: Performance of Templates: time 0.002339/0.305, allocations: 0.5991 MB / 493.5 MB, free: 5.984 MB / 362.7 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.makefile (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_Modelica.Mechanics.Translational.Examples.Accelerate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches