Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001753/0.001753, allocations: 120.2 kB / 21.94 MB, free: 8 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002181/0.002181, allocations: 204.7 kB / 25.23 MB, free: 3.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.652/1.652, allocations: 207.6 MB / 236 MB, free: 9.992 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.Accelerate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|accelerate.s|accelerate.v",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate") translateModel(Modelica.Mechanics.Translational.Examples.Accelerate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|accelerate.s|accelerate.v",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002029/0.002029, allocations: 51.92 kB / 348.4 MB, free: 9.633 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.299/0.3011, allocations: 49.16 MB / 397.6 MB, free: 9.492 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.002945/0.304, allocations: 1.647 MB / 399.2 MB, free: 8.352 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002856/0.3043, allocations: 68.66 kB / 399.3 MB, free: 8.301 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.507e-05/0.3044, allocations: 2.25 kB / 399.3 MB, free: 8.301 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001166/0.3045, allocations: 12.03 kB / 399.3 MB, free: 8.293 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 5.269e-05/0.3046, allocations: 16.06 kB / 399.3 MB, free: 8.281 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001316/0.3047, allocations: 15.03 kB / 399.3 MB, free: 8.273 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001437/0.3048, allocations: 68.53 kB / 399.4 MB, free: 8.238 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001296/0.305, allocations: 28.31 kB / 399.4 MB, free: 8.223 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.669e-05/0.305, allocations: 22.16 kB / 399.5 MB, free: 8.215 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.672e-05/0.3051, allocations: 28.5 kB / 399.5 MB, free: 8.199 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.598e-05/0.3051, allocations: 5.344 kB / 399.5 MB, free: 8.199 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.842e-05/0.3051, allocations: 5.062 kB / 399.5 MB, free: 8.199 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.137e-05/0.3051, allocations: 11.53 kB / 399.5 MB, free: 8.191 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.262e-05/0.3052, allocations: 27.77 kB / 399.5 MB, free: 8.176 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001508/0.3053, allocations: 65.56 kB / 399.6 MB, free: 8.152 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.3053, allocations: 0 / 399.6 MB, free: 8.152 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3053, allocations: 1.188 kB / 399.6 MB, free: 8.152 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.269e-05/0.3054, allocations: 4 kB / 399.6 MB, free: 8.148 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.0004342/0.3058, allocations: 290.9 kB / 399.9 MB, free: 7.863 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.3058, allocations: 13.14 kB / 399.9 MB, free: 7.859 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.426e-05/0.3059, allocations: 5.594 kB / 399.9 MB, free: 7.859 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002086/0.3061, allocations: 128.1 kB / 400 MB, free: 7.719 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.3061, allocations: 1.938 kB / 400 MB, free: 7.719 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.794e-05/0.3061, allocations: 11.84 kB / 400 MB, free: 7.715 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001597/0.3063, allocations: 63.77 kB / 400.1 MB, free: 7.672 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.642e-05/0.3063, allocations: 5.719 kB / 400.1 MB, free: 7.668 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/0.3063, allocations: 7.938 kB / 400.1 MB, free: 7.66 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.3063, allocations: 2.688 kB / 400.1 MB, free: 7.66 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.67e-05/0.3064, allocations: 37.11 kB / 400.2 MB, free: 7.648 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000629/0.3071, allocations: 346 kB / 400.5 MB, free: 7.336 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001148/0.3072, allocations: 54 kB / 400.6 MB, free: 7.301 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.684e-05/0.3072, allocations: 24.59 kB / 400.6 MB, free: 7.281 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.127e-06/0.3072, allocations: 1.094 kB / 400.6 MB, free: 7.281 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.676e-05/0.3072, allocations: 32.39 kB / 400.6 MB, free: 7.242 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 1.092e-06/0.3072, allocations: 0 / 400.6 MB, free: 7.242 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.000675/0.3079, allocations: 374.4 kB / 401 MB, free: 6.926 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.777e-05/0.3079, allocations: 57.17 kB / 401 MB, free: 6.859 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.346e-05/0.308, allocations: 120.2 kB / 401.1 MB, free: 6.75 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.949e-06/0.308, allocations: 26.89 kB / 401.2 MB, free: 6.719 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.662e-05/0.3081, allocations: 98.3 kB / 401.3 MB, free: 6.625 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.154e-05/0.3081, allocations: 30.91 kB / 401.3 MB, free: 6.602 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.905e-05/0.3081, allocations: 26.61 kB / 401.3 MB, free: 6.578 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.147e-05/0.3082, allocations: 318.9 kB / 401.6 MB, free: 6.262 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.637e-05/0.3082, allocations: 16.8 kB / 401.7 MB, free: 6.258 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.996e-05/0.3083, allocations: 67.33 kB / 401.7 MB, free: 6.191 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.545e-05/0.3084, allocations: 87.22 kB / 401.8 MB, free: 6.117 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.3084, allocations: 4 kB / 401.8 MB, free: 6.113 MB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001588/0.3085, allocations: 114.6 kB / 401.9 MB, free: 6.047 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.3086, allocations: 6.188 kB / 401.9 MB, free: 6.047 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.3086, allocations: 1.156 kB / 401.9 MB, free: 6.047 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.943e-05/0.3086, allocations: 3.312 kB / 401.9 MB, free: 6.047 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.722e-05/0.3087, allocations: 25.91 kB / 402 MB, free: 6.043 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.718e-06/0.3087, allocations: 10.2 kB / 402 MB, free: 6.035 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.805e-05/0.3087, allocations: 6.906 kB / 402 MB, free: 6.031 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-06/0.3087, allocations: 3.797 kB / 402 MB, free: 6.031 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 5.992e-05/0.3088, allocations: 122.6 kB / 402.1 MB, free: 5.906 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.789e-05/0.3088, allocations: 8.938 kB / 402.1 MB, free: 5.902 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.317e-05/0.3088, allocations: 14.42 kB / 402.1 MB, free: 5.891 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.3088, allocations: 2.234 kB / 402.1 MB, free: 5.891 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.3089, allocations: 3.938 kB / 402.1 MB, free: 5.887 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.3089, allocations: 0.6562 kB / 402.1 MB, free: 5.887 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003917/0.3092, allocations: 382.4 kB / 402.5 MB, free: 5.531 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.3093, allocations: 3.219 kB / 402.5 MB, free: 5.531 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.841e-05/0.3093, allocations: 17.88 kB / 402.5 MB, free: 5.531 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.3093, allocations: 1.281 kB / 402.5 MB, free: 5.531 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/0.3094, allocations: 6.875 kB / 402.5 MB, free: 5.527 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.3094, allocations: 6.375 kB / 402.5 MB, free: 5.523 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.029e-06/0.3094, allocations: 6.781 kB / 402.5 MB, free: 5.52 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001931/0.3096, allocations: 230.6 kB / 402.8 MB, free: 5.312 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.465e-05/0.3096, allocations: 8.891 kB / 402.8 MB, free: 5.309 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.092e-05/0.3096, allocations: 7.734 kB / 402.8 MB, free: 5.305 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.607e-05/0.3097, allocations: 5.406 kB / 402.8 MB, free: 5.301 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.736e-05/0.3097, allocations: 6.469 kB / 402.8 MB, free: 5.301 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.472e-06/0.3097, allocations: 2.375 kB / 402.8 MB, free: 5.301 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.169e-05/0.3097, allocations: 96 kB / 402.9 MB, free: 5.219 MB / 318.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3097, allocations: 0 / 402.9 MB, free: 5.219 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002508/0.31, allocations: 13.5 kB / 402.9 MB, free: 5.219 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.198e-05/0.3101, allocations: 101.6 kB / 403 MB, free: 5.125 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001597/0.3102, allocations: 62.45 kB / 403.1 MB, free: 5.102 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 7.544e-06/0.3102, allocations: 9.219 kB / 403.1 MB, free: 5.094 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.88e-05/0.3103, allocations: 24.28 kB / 403.1 MB, free: 5.086 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003421/0.3106, allocations: 13.03 kB / 403.1 MB, free: 5.082 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005777/0.3112, allocations: 374.2 kB / 403.5 MB, free: 4.75 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000134/0.3113, allocations: 0.6905 MB / 404.2 MB, free: 4.055 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.184e-05/0.3114, allocations: 13.09 kB / 404.2 MB, free: 4.047 MB / 318.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3114, allocations: 5.688 kB / 404.2 MB, free: 4.043 MB / 318.1 MB Notification: Performance of Templates: time 0.00307/0.3144, allocations: 0.9939 MB / 405.2 MB, free: 3.957 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.sim & ./Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/Accelerate/Accelerate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.056369444122538]