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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001329/0.001329, allocations: 108 kB / 17.06 MB, free: 5.82 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001098/0.001098, allocations: 195.9 kB / 18 MB, free: 4.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.324/1.324, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009624/0.0009624, allocations: 51.92 kB / 351.3 MB, free: 3.289 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.265/0.266, allocations: 49.43 MB / 400.7 MB, free: 8.77 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.002715/0.2688, allocations: 1.647 MB / 402.3 MB, free: 7.266 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00023/0.269, allocations: 67.73 kB / 402.4 MB, free: 7.199 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.538e-05/0.2691, allocations: 0 / 402.4 MB, free: 7.199 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 9.64e-05/0.2692, allocations: 15.86 kB / 402.4 MB, free: 7.184 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 4.587e-05/0.2693, allocations: 19.78 kB / 402.4 MB, free: 7.164 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001114/0.2694, allocations: 15.98 kB / 402.5 MB, free: 7.148 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001157/0.2695, allocations: 67.66 kB / 402.5 MB, free: 7.082 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.2696, allocations: 23.98 kB / 402.6 MB, free: 7.059 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.266e-05/0.2697, allocations: 23.94 kB / 402.6 MB, free: 7.035 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.511e-05/0.2697, allocations: 23.91 kB / 402.6 MB, free: 7.012 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.656e-05/0.2698, allocations: 4 kB / 402.6 MB, free: 7.008 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.449e-05/0.2698, allocations: 7.938 kB / 402.6 MB, free: 7 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.092e-05/0.2698, allocations: 15.98 kB / 402.6 MB, free: 6.984 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.598e-05/0.2699, allocations: 27.86 kB / 402.7 MB, free: 6.957 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001201/0.27, allocations: 59.75 kB / 402.7 MB, free: 6.898 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.27, allocations: 7.984 kB / 402.7 MB, free: 6.891 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.552e-06/0.27, allocations: 0 / 402.7 MB, free: 6.891 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.27, allocations: 0 / 402.7 MB, free: 6.891 MB / 318.1 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.0004148/0.2704, allocations: 363.2 kB / 403.1 MB, free: 6.484 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.135e-05/0.2705, allocations: 12.03 kB / 403.1 MB, free: 6.473 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.34e-05/0.2705, allocations: 8.891 kB / 403.1 MB, free: 6.465 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001787/0.2707, allocations: 180.3 kB / 403.3 MB, free: 6.25 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/0.2707, allocations: 12.31 kB / 403.3 MB, free: 6.238 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.544e-05/0.2707, allocations: 12.38 kB / 403.3 MB, free: 6.227 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001321/0.2709, allocations: 70.23 kB / 403.4 MB, free: 6.152 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.2709, allocations: 4.141 kB / 403.4 MB, free: 6.148 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.2709, allocations: 3.938 kB / 403.4 MB, free: 6.145 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.2709, allocations: 4 kB / 403.4 MB, free: 6.141 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.746e-05/0.271, allocations: 39.91 kB / 403.4 MB, free: 6.102 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005655/0.2716, allocations: 367.6 kB / 403.8 MB, free: 5.688 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.361e-05/0.2717, allocations: 58.56 kB / 403.8 MB, free: 5.621 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.509e-05/0.2717, allocations: 24.84 kB / 403.9 MB, free: 5.594 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.165e-06/0.2717, allocations: 0 / 403.9 MB, free: 5.594 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.205e-05/0.2718, allocations: 38.5 kB / 403.9 MB, free: 5.547 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 8.42e-07/0.2718, allocations: 0 / 403.9 MB, free: 5.547 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006642/0.2724, allocations: 0.5131 MB / 404.4 MB, free: 4.941 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.105e-05/0.2725, allocations: 55.5 kB / 404.5 MB, free: 4.875 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.364e-05/0.2726, allocations: 121.7 kB / 404.6 MB, free: 4.746 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.26e-05/0.2726, allocations: 25.7 kB / 404.6 MB, free: 4.715 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.338e-05/0.2727, allocations: 96.08 kB / 404.7 MB, free: 4.617 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.419e-05/0.2727, allocations: 35.7 kB / 404.7 MB, free: 4.582 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.831e-05/0.2727, allocations: 25.7 kB / 404.8 MB, free: 4.551 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.908e-05/0.2728, allocations: 318.8 kB / 405.1 MB, free: 4.23 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.693e-05/0.2729, allocations: 23.98 kB / 405.1 MB, free: 4.207 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.307e-05/0.2729, allocations: 60.39 kB / 405.2 MB, free: 4.133 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001012/0.273, allocations: 93 kB / 405.2 MB, free: 4.023 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.2731, allocations: 4 kB / 405.2 MB, free: 4.02 MB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001498/0.2732, allocations: 105.5 kB / 405.4 MB, free: 3.91 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.113e-05/0.2732, allocations: 8 kB / 405.4 MB, free: 3.902 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.2732, allocations: 0 / 405.4 MB, free: 3.902 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.2733, allocations: 4 kB / 405.4 MB, free: 3.898 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.256e-05/0.2733, allocations: 23.98 kB / 405.4 MB, free: 3.875 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.2734, allocations: 4.797 kB / 405.4 MB, free: 3.871 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.845e-05/0.2734, allocations: 4.094 kB / 405.4 MB, free: 3.867 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.286e-06/0.2734, allocations: 12 kB / 405.4 MB, free: 3.855 MB / 318.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.86e-05/0.2735, allocations: 117.8 kB / 405.5 MB, free: 3.73 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.483e-05/0.2735, allocations: 0 / 405.5 MB, free: 3.73 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.862e-05/0.2736, allocations: 16.36 kB / 405.5 MB, free: 3.711 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.2736, allocations: 0 / 405.5 MB, free: 3.711 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.2736, allocations: 3.938 kB / 405.5 MB, free: 3.707 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.584e-06/0.2736, allocations: 0 / 405.5 MB, free: 3.707 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004393/0.274, allocations: 422.5 kB / 406 MB, free: 3.223 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.274, allocations: 0 / 406 MB, free: 3.223 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001001/0.2741, allocations: 19.94 kB / 406 MB, free: 3.203 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.237e-06/0.2742, allocations: 4 kB / 406 MB, free: 3.199 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.2742, allocations: 0 / 406 MB, free: 3.199 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.429e-06/0.2742, allocations: 7.984 kB / 406 MB, free: 3.191 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.2742, allocations: 8.156 kB / 406 MB, free: 3.184 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002524/0.2744, allocations: 240.1 kB / 406.2 MB, free: 2.918 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.502e-05/0.2745, allocations: 89.16 kB / 406.3 MB, free: 2.812 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.018e-05/0.2745, allocations: 7.984 kB / 406.3 MB, free: 2.805 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.844e-05/0.2746, allocations: 0 / 406.3 MB, free: 2.805 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.458e-05/0.2746, allocations: 11.98 kB / 406.3 MB, free: 2.793 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.902e-06/0.2746, allocations: 4 kB / 406.3 MB, free: 2.789 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.413e-05/0.2747, allocations: 87.28 kB / 406.4 MB, free: 2.703 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2747, allocations: 0 / 406.4 MB, free: 2.703 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002584/0.275, allocations: 20 kB / 406.4 MB, free: 2.684 MB / 318.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.669e-05/0.2751, allocations: 108 kB / 406.5 MB, free: 2.57 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00013/0.2752, allocations: 63.8 kB / 406.6 MB, free: 2.508 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.2752, allocations: 0 / 406.6 MB, free: 2.508 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.89e-05/0.2753, allocations: 31.92 kB / 406.6 MB, free: 2.477 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003/0.2756, allocations: 11.94 kB / 406.7 MB, free: 2.465 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004994/0.2761, allocations: 338.7 kB / 407 MB, free: 2.098 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002187/0.2763, allocations: 0.6961 MB / 407.7 MB, free: 1.375 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.549e-05/0.2763, allocations: 16.41 kB / 407.7 MB, free: 1.359 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.335e-05/0.2764, allocations: 11.44 kB / 407.7 MB, free: 1.348 MB / 318.1 MB Notification: Performance of SimCode: time 2.1e-07/0.2764, allocations: 0 / 407.7 MB, free: 1.348 MB / 318.1 MB Notification: Performance of Templates: time 0.002574/0.279, allocations: 0.6683 MB / 408.4 MB, free: 0.6797 MB / 318.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches