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.001102/0.001102, allocations: 110.9 kB / 17.74 MB, free: 5.359 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.001223/0.001224, allocations: 192.5 kB / 18.67 MB, free: 4.434 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.396/1.396, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001105/0.001105, allocations: 55.91 kB / 352 MB, free: 3.266 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2977/0.2988, allocations: 49.44 MB / 401.4 MB, free: 8.754 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.002776/0.3016, allocations: 1.636 MB / 403 MB, free: 7.242 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002368/0.3019, allocations: 67.78 kB / 403.1 MB, free: 7.176 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.565e-05/0.3019, allocations: 0 / 403.1 MB, free: 7.176 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001014/0.3021, allocations: 15.86 kB / 403.1 MB, free: 7.16 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 4.575e-05/0.3021, allocations: 15.86 kB / 403.1 MB, free: 7.145 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001284/0.3022, allocations: 19.97 kB / 403.1 MB, free: 7.125 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001415/0.3024, allocations: 67.66 kB / 403.2 MB, free: 7.059 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.3025, allocations: 23.92 kB / 403.2 MB, free: 7.035 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.457e-05/0.3026, allocations: 19.94 kB / 403.3 MB, free: 7.016 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.805e-05/0.3026, allocations: 23.91 kB / 403.3 MB, free: 6.992 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.668e-05/0.3027, allocations: 12 kB / 403.3 MB, free: 6.98 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.397e-05/0.3027, allocations: 4 kB / 403.3 MB, free: 6.977 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.414e-05/0.3027, allocations: 15.92 kB / 403.3 MB, free: 6.961 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.836e-05/0.3028, allocations: 27.88 kB / 403.3 MB, free: 6.934 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001149/0.3029, allocations: 63.44 kB / 403.4 MB, free: 6.875 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.76e-06/0.3029, allocations: 4 kB / 403.4 MB, free: 6.871 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3029, allocations: 0 / 403.4 MB, free: 6.871 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.3029, allocations: 0 / 403.4 MB, free: 6.871 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.0004559/0.3034, allocations: 368.8 kB / 403.8 MB, free: 6.461 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.3034, allocations: 8.031 kB / 403.8 MB, free: 6.453 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.317e-05/0.3034, allocations: 12.84 kB / 403.8 MB, free: 6.441 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000191/0.3036, allocations: 180.3 kB / 404 MB, free: 6.227 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.3037, allocations: 8.375 kB / 404 MB, free: 6.219 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.843e-05/0.3037, allocations: 12.28 kB / 404 MB, free: 6.207 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001402/0.3038, allocations: 66.23 kB / 404 MB, free: 6.137 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.3039, allocations: 192 / 404 MB, free: 6.137 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.3039, allocations: 3.938 kB / 404 MB, free: 6.133 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.3039, allocations: 0 / 404 MB, free: 6.133 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.791e-05/0.304, allocations: 43.92 kB / 404.1 MB, free: 6.09 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006214/0.3046, allocations: 371.6 kB / 404.5 MB, free: 5.672 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.889e-05/0.3047, allocations: 66.48 kB / 404.5 MB, free: 5.598 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.083e-05/0.3047, allocations: 20.8 kB / 404.5 MB, free: 5.574 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.139e-05/0.3048, allocations: 0 / 404.5 MB, free: 5.574 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.153e-05/0.3048, allocations: 42.55 kB / 404.6 MB, free: 5.523 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 9.21e-07/0.3048, allocations: 0 / 404.6 MB, free: 5.523 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007371/0.3055, allocations: 0.5014 MB / 405.1 MB, free: 4.93 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.051e-05/0.3056, allocations: 59.39 kB / 405.1 MB, free: 4.859 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001012/0.3057, allocations: 121.8 kB / 405.3 MB, free: 4.73 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.522e-05/0.3057, allocations: 33.7 kB / 405.3 MB, free: 4.691 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.411e-05/0.3058, allocations: 100.1 kB / 405.4 MB, free: 4.59 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.512e-05/0.3058, allocations: 31.55 kB / 405.4 MB, free: 4.559 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.891e-05/0.3059, allocations: 21.72 kB / 405.4 MB, free: 4.531 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.306, allocations: 318.8 kB / 405.8 MB, free: 4.211 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.849e-05/0.306, allocations: 23.98 kB / 405.8 MB, free: 4.188 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.228e-05/0.3061, allocations: 65.08 kB / 405.8 MB, free: 4.105 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.838e-05/0.3062, allocations: 81.09 kB / 405.9 MB, free: 4.008 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.3062, allocations: 0 / 405.9 MB, free: 4.008 MB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001604/0.3064, allocations: 113.4 kB / 406 MB, free: 3.891 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.3064, allocations: 12.09 kB / 406 MB, free: 3.879 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.3064, allocations: 0 / 406 MB, free: 3.879 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.3064, allocations: 4 kB / 406 MB, free: 3.875 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.155e-05/0.3065, allocations: 19.94 kB / 406.1 MB, free: 3.855 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.117e-05/0.3065, allocations: 11.92 kB / 406.1 MB, free: 3.844 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.797e-05/0.3066, allocations: 0 / 406.1 MB, free: 3.844 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.756e-06/0.3066, allocations: 8 kB / 406.1 MB, free: 3.836 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 7.649e-05/0.3067, allocations: 113.8 kB / 406.2 MB, free: 3.715 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.78e-05/0.3067, allocations: 7.906 kB / 406.2 MB, free: 3.707 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.279e-05/0.3068, allocations: 16.38 kB / 406.2 MB, free: 3.688 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.3068, allocations: 0 / 406.2 MB, free: 3.688 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.3068, allocations: 3.938 kB / 406.2 MB, free: 3.684 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.3068, allocations: 0 / 406.2 MB, free: 3.684 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004696/0.3073, allocations: 414.7 kB / 406.6 MB, free: 3.207 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-06/0.3073, allocations: 4.078 kB / 406.6 MB, free: 3.203 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.831e-05/0.3074, allocations: 27.97 kB / 406.7 MB, free: 3.176 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.3074, allocations: 4 kB / 406.7 MB, free: 3.172 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.959e-06/0.3074, allocations: 0 / 406.7 MB, free: 3.172 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.843e-06/0.3074, allocations: 11.88 kB / 406.7 MB, free: 3.16 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3074, allocations: 0 / 406.7 MB, free: 3.16 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002213/0.3076, allocations: 232.1 kB / 406.9 MB, free: 2.902 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.499e-05/0.3077, allocations: 85.05 kB / 407 MB, free: 2.801 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.636e-05/0.3077, allocations: 4.078 kB / 407 MB, free: 2.797 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.733e-05/0.3078, allocations: 11.94 kB / 407 MB, free: 2.785 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.587e-05/0.3078, allocations: 4 kB / 407 MB, free: 2.781 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.47e-06/0.3078, allocations: 8.062 kB / 407 MB, free: 2.773 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.826e-05/0.3079, allocations: 91.27 kB / 407.1 MB, free: 2.684 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3079, allocations: 3.938 kB / 407.1 MB, free: 2.68 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002422/0.3081, allocations: 16 kB / 407.1 MB, free: 2.664 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 9.615e-05/0.3082, allocations: 104 kB / 407.2 MB, free: 2.555 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001461/0.3084, allocations: 67.78 kB / 407.3 MB, free: 2.488 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.3084, allocations: 192 / 407.3 MB, free: 2.488 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.589e-05/0.3084, allocations: 27.94 kB / 407.3 MB, free: 2.461 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002963/0.3087, allocations: 15.98 kB / 407.3 MB, free: 2.445 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005544/0.3093, allocations: 353.2 kB / 407.7 MB, free: 2.055 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002681/0.3096, allocations: 0.6961 MB / 408.4 MB, free: 1.332 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.541e-05/0.3096, allocations: 11.44 kB / 408.4 MB, free: 1.32 MB / 318.1 MB Notification: Performance of SimCode: time 1.91e-07/0.3096, allocations: 0 / 408.4 MB, free: 1.32 MB / 318.1 MB Notification: Performance of Templates: time 0.002329/0.3119, allocations: 0.9953 MB / 409.4 MB, free: 336 kB / 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/Accelerate/Accelerate.csv","/var/lib/jenkins1/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