Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001409/0.001409, allocations: 179.9 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.419/1.419, allocations: 223.2 MB / 240.3 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008307/0.0008306, allocations: 90.3 kB / 291.5 MB, free: 10.91 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000225/0.0002252, allocations: 15.92 kB / 351.1 MB, free: 15.31 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2121/0.2124, allocations: 50.4 MB / 401.5 MB, free: 32.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.089/0.3014, allocations: 76.33 MB / 477.8 MB, free: 4.172 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002234/0.3017, allocations: 69.17 kB / 477.9 MB, free: 4.105 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003472/0.3052, allocations: 1.368 MB / 479.2 MB, free: 2.742 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3052, allocations: 0 / 479.2 MB, free: 2.742 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.626e-06/0.3052, allocations: 4 kB / 479.3 MB, free: 2.738 MB / 346.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.0003236/0.3055, allocations: 347.2 kB / 479.6 MB, free: 2.352 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.236e-05/0.3056, allocations: 8.031 kB / 479.6 MB, free: 2.344 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.794e-05/0.3056, allocations: 11.86 kB / 479.6 MB, free: 2.332 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001499/0.3058, allocations: 178.9 kB / 479.8 MB, free: 2.117 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/0.3058, allocations: 12 kB / 479.8 MB, free: 2.105 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.58e-05/0.3058, allocations: 4 kB / 479.8 MB, free: 2.102 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001396/0.306, allocations: 65.67 kB / 479.9 MB, free: 2.031 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.306, allocations: 4 kB / 479.9 MB, free: 2.027 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.377e-06/0.306, allocations: 0 / 479.9 MB, free: 2.027 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.306, allocations: 3.953 kB / 479.9 MB, free: 2.023 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.587e-05/0.3061, allocations: 43.48 kB / 479.9 MB, free: 1.984 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005834/0.3067, allocations: 383.5 kB / 480.3 MB, free: 1.551 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.67e-05/0.3068, allocations: 54.56 kB / 480.3 MB, free: 1.488 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.337e-06/0.3068, allocations: 0 / 480.3 MB, free: 1.488 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.134e-05/0.3069, allocations: 42.5 kB / 480.4 MB, free: 1.438 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 8.91e-07/0.3069, allocations: 3.938 kB / 480.4 MB, free: 1.434 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0006684/0.3075, allocations: 0.5091 MB / 480.9 MB, free: 0.832 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.391e-05/0.3076, allocations: 51.41 kB / 480.9 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.047e-05/0.3077, allocations: 105.2 kB / 481.1 MB, free: 0.6562 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.65e-05/0.3077, allocations: 33.7 kB / 481.1 MB, free: 0.6172 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.624e-05/0.3077, allocations: 92.03 kB / 481.2 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.433e-05/0.3078, allocations: 31.55 kB / 481.2 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.687e-06/0.3078, allocations: 0 / 481.2 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001294/0.3079, allocations: 322.8 kB / 481.5 MB, free: 172 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.426e-05/0.308, allocations: 23.92 kB / 481.5 MB, free: 148 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.545e-05/0.308, allocations: 57.14 kB / 481.6 MB, free: 72 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.767e-05/0.3081, allocations: 31.92 kB / 481.6 MB, free: 40 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.3081, allocations: 0 / 481.6 MB, free: 40 kB / 346.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001667/0.3083, allocations: 113.5 kB / 481.7 MB, free: 15.92 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.3083, allocations: 4 kB / 481.7 MB, free: 15.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.3083, allocations: 4 kB / 481.7 MB, free: 15.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.999e-06/0.3083, allocations: 0 / 481.7 MB, free: 15.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.658e-05/0.3084, allocations: 23.98 kB / 481.8 MB, free: 15.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.722e-06/0.3084, allocations: 4 kB / 481.8 MB, free: 15.88 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.913e-05/0.3085, allocations: 4 kB / 481.8 MB, free: 15.88 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.323e-06/0.3085, allocations: 8.094 kB / 481.8 MB, free: 15.87 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.31e-05/0.3086, allocations: 129.7 kB / 481.9 MB, free: 15.73 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.729e-05/0.3086, allocations: 11.86 kB / 481.9 MB, free: 15.72 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.842e-05/0.3086, allocations: 8.844 kB / 481.9 MB, free: 15.71 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.095e-06/0.3086, allocations: 4 kB / 481.9 MB, free: 15.71 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.3086, allocations: 4 kB / 481.9 MB, free: 15.71 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.3086, allocations: 0 / 481.9 MB, free: 15.71 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004702/0.3091, allocations: 410.5 kB / 482.3 MB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.3091, allocations: 3.938 kB / 482.3 MB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.028e-05/0.3092, allocations: 23.98 kB / 482.4 MB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.3092, allocations: 0 / 482.4 MB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.098e-05/0.3093, allocations: 4 kB / 482.4 MB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.3093, allocations: 0 / 482.4 MB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3093, allocations: 4.156 kB / 482.4 MB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002566/0.3095, allocations: 296.1 kB / 482.7 MB, free: 14.85 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.108e-05/0.3096, allocations: 89.02 kB / 482.8 MB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.912e-05/0.3096, allocations: 3.984 kB / 482.8 MB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.622e-05/0.3097, allocations: 4 kB / 482.8 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.643e-05/0.3097, allocations: 4 kB / 482.8 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/0.3097, allocations: 8 kB / 482.8 MB, free: 14.72 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.952e-05/0.3098, allocations: 95.33 kB / 482.9 MB, free: 14.63 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3098, allocations: 0 / 482.9 MB, free: 14.63 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002381/0.31, allocations: 12 kB / 482.9 MB, free: 14.62 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.0001377/0.3102, allocations: 111.2 kB / 483 MB, free: 14.5 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001245/0.3103, allocations: 59.84 kB / 483 MB, free: 14.44 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3103, allocations: 0 / 483 MB, free: 14.44 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.029e-05/0.3104, allocations: 28.72 kB / 483.1 MB, free: 14.41 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002568/0.3106, allocations: 22.86 kB / 483.1 MB, free: 14.39 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006254/0.3113, allocations: 397.3 kB / 483.5 MB, free: 13.96 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002584/0.3115, allocations: 0.693 MB / 484.2 MB, free: 13.24 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.678e-05/0.3116, allocations: 8.422 kB / 484.2 MB, free: 13.23 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.344e-05/0.3116, allocations: 15.44 kB / 484.2 MB, free: 13.22 MB / 362.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3116, allocations: 0 / 484.2 MB, free: 13.22 MB / 362.7 MB Notification: Performance of Templates: time 0.00249/0.3141, allocations: 0.5887 MB / 484.8 MB, free: 12.64 MB / 362.7 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.sim & ./Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches