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.001518/0.001518, allocations: 201.1 kB / 18.11 MB, free: 3.711 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.277/1.277, allocations: 226.5 MB / 245.4 MB, free: 6.504 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007426/0.0007426, allocations: 102.1 kB / 297.5 MB, free: 6.68 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003181/0.0003181, allocations: 4 kB / 358.1 MB, free: 10.07 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2038/0.2041, allocations: 51.29 MB / 409.4 MB, free: 27.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08515/0.2893, allocations: 77.05 MB / 486.4 MB, free: 14.47 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002167/0.2896, allocations: 67.97 kB / 486.5 MB, free: 14.4 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003809/0.2934, allocations: 1.367 MB / 487.8 MB, free: 13.04 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.2934, allocations: 0 / 487.8 MB, free: 13.04 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.329e-05/0.2934, allocations: 8 kB / 487.9 MB, free: 13.03 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.0003838/0.2938, allocations: 343.4 kB / 488.2 MB, free: 12.64 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/0.2939, allocations: 8.031 kB / 488.2 MB, free: 12.64 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.098e-05/0.2939, allocations: 12.84 kB / 488.2 MB, free: 12.62 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001745/0.2941, allocations: 184.2 kB / 488.4 MB, free: 12.41 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.2941, allocations: 384 / 488.4 MB, free: 12.41 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.926e-05/0.2942, allocations: 8.375 kB / 488.4 MB, free: 12.4 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000145/0.2943, allocations: 66.23 kB / 488.5 MB, free: 12.33 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/0.2944, allocations: 4.094 kB / 488.5 MB, free: 12.32 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.531e-05/0.2944, allocations: 11.94 kB / 488.5 MB, free: 12.31 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.2944, allocations: 3.984 kB / 488.5 MB, free: 12.31 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.942e-05/0.2945, allocations: 31.98 kB / 488.5 MB, free: 12.28 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006633/0.2951, allocations: 383.6 kB / 488.9 MB, free: 11.85 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001017/0.2953, allocations: 58.56 kB / 488.9 MB, free: 11.78 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.5e-05/0.2953, allocations: 20.8 kB / 489 MB, free: 11.76 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.092e-05/0.2953, allocations: 3.938 kB / 489 MB, free: 11.75 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.224e-05/0.2954, allocations: 34.56 kB / 489 MB, free: 11.71 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.804e-06/0.2954, allocations: 0 / 489 MB, free: 11.71 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0007406/0.2961, allocations: 0.5169 MB / 489.5 MB, free: 11.1 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.644e-05/0.2962, allocations: 51.41 kB / 489.6 MB, free: 11.04 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.126e-05/0.2963, allocations: 121.7 kB / 489.7 MB, free: 10.91 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.634e-05/0.2963, allocations: 37.7 kB / 489.7 MB, free: 10.87 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.733e-05/0.2964, allocations: 88.05 kB / 489.8 MB, free: 10.78 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.874e-05/0.2964, allocations: 35.45 kB / 489.8 MB, free: 10.74 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.727e-06/0.2964, allocations: 0 / 489.8 MB, free: 10.74 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001114/0.2965, allocations: 318.8 kB / 490.2 MB, free: 10.42 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.206e-05/0.2966, allocations: 19.98 kB / 490.2 MB, free: 10.4 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.088e-05/0.2966, allocations: 65.27 kB / 490.2 MB, free: 10.32 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.692e-05/0.2967, allocations: 85.02 kB / 490.3 MB, free: 10.22 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.2967, allocations: 4 kB / 490.3 MB, free: 10.22 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001555/0.2969, allocations: 105.5 kB / 490.4 MB, free: 10.11 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.2969, allocations: 12.09 kB / 490.4 MB, free: 10.1 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.2969, allocations: 0 / 490.4 MB, free: 10.1 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.297, allocations: 4 kB / 490.4 MB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.277e-05/0.297, allocations: 19.98 kB / 490.5 MB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.031e-05/0.2971, allocations: 11.88 kB / 490.5 MB, free: 10.06 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.679e-05/0.2971, allocations: 0 / 490.5 MB, free: 10.06 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.547e-06/0.2971, allocations: 8.859 kB / 490.5 MB, free: 10.05 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 8.247e-05/0.2972, allocations: 118.2 kB / 490.6 MB, free: 9.93 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.526e-05/0.2972, allocations: 4 kB / 490.6 MB, free: 9.926 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.687e-05/0.2973, allocations: 20.36 kB / 490.6 MB, free: 9.902 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.2973, allocations: 0 / 490.6 MB, free: 9.902 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.2973, allocations: 3.938 kB / 490.6 MB, free: 9.898 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.2973, allocations: 3.938 kB / 490.6 MB, free: 9.895 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004548/0.2978, allocations: 418.6 kB / 491 MB, free: 9.414 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.2978, allocations: 0 / 491 MB, free: 9.414 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.464e-05/0.2979, allocations: 16 kB / 491.1 MB, free: 9.398 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.552e-06/0.2979, allocations: 4 kB / 491.1 MB, free: 9.395 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.836e-06/0.2979, allocations: 0 / 491.1 MB, free: 9.395 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.58e-06/0.2979, allocations: 7.984 kB / 491.1 MB, free: 9.387 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.2979, allocations: 3.938 kB / 491.1 MB, free: 9.383 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002252/0.2982, allocations: 235.9 kB / 491.3 MB, free: 9.121 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.455e-05/0.2982, allocations: 89.03 kB / 491.4 MB, free: 9.016 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.475e-05/0.2982, allocations: 3.938 kB / 491.4 MB, free: 9.012 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.513e-05/0.2983, allocations: 4 kB / 491.4 MB, free: 9.008 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.056e-05/0.2983, allocations: 12.05 kB / 491.4 MB, free: 8.996 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-06/0.2983, allocations: 8 kB / 491.4 MB, free: 8.988 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.367e-05/0.2984, allocations: 87.28 kB / 491.5 MB, free: 8.902 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2984, allocations: 0 / 491.5 MB, free: 8.902 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002398/0.2986, allocations: 19.98 kB / 491.5 MB, free: 8.883 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.0001275/0.2988, allocations: 107.2 kB / 491.6 MB, free: 8.77 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001296/0.2989, allocations: 55.86 kB / 491.7 MB, free: 8.715 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.2989, allocations: 4.188 kB / 491.7 MB, free: 8.711 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.869e-05/0.299, allocations: 35.86 kB / 491.7 MB, free: 8.676 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003332/0.2993, allocations: 12 kB / 491.7 MB, free: 8.664 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005707/0.2999, allocations: 390 kB / 492.1 MB, free: 8.238 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002182/0.3001, allocations: 0.6926 MB / 492.8 MB, free: 7.52 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.974e-05/0.3002, allocations: 12.42 kB / 492.8 MB, free: 7.508 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.958e-05/0.3002, allocations: 15.38 kB / 492.8 MB, free: 7.492 MB / 362.7 MB Notification: Performance of SimCode: time 2.31e-07/0.3002, allocations: 0 / 492.8 MB, free: 7.492 MB / 362.7 MB Notification: Performance of Templates: time 0.002292/0.3025, allocations: 0.601 MB / 493.4 MB, free: 6.898 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/jenkins1/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