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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "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: 103.9 kB / 19.75 MB, free: 2.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001446/0.001446, allocations: 194.7 kB / 22.93 MB, free: 5.488 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.559/1.559, allocations: 207.6 MB / 233.5 MB, free: 10.98 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.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=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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001708/0.001708, allocations: 58.89 kB / 345.4 MB, free: 10.46 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3008/0.3025, allocations: 49.12 MB / 394.5 MB, free: 9.434 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.003212/0.3057, allocations: 1.635 MB / 396.1 MB, free: 8.305 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002646/0.306, allocations: 73.83 kB / 396.2 MB, free: 8.25 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.464e-05/0.3061, allocations: 1.406 kB / 396.2 MB, free: 8.25 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001168/0.3062, allocations: 11.38 kB / 396.2 MB, free: 8.242 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 5.297e-05/0.3062, allocations: 15.58 kB / 396.2 MB, free: 8.23 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001396/0.3064, allocations: 19.05 kB / 396.3 MB, free: 8.219 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001445/0.3065, allocations: 65.2 kB / 396.3 MB, free: 8.188 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001228/0.3066, allocations: 16.73 kB / 396.3 MB, free: 8.184 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.305e-05/0.3067, allocations: 25.42 kB / 396.4 MB, free: 8.172 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.409e-05/0.3068, allocations: 32.31 kB / 396.4 MB, free: 8.152 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.859e-05/0.3068, allocations: 5.469 kB / 396.4 MB, free: 8.152 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.556e-05/0.3068, allocations: 4.625 kB / 396.4 MB, free: 8.152 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.298e-05/0.3068, allocations: 15.83 kB / 396.4 MB, free: 8.141 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.016e-05/0.3069, allocations: 28.8 kB / 396.4 MB, free: 8.125 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001578/0.307, allocations: 65.2 kB / 396.5 MB, free: 8.102 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.307, allocations: 0.7969 kB / 396.5 MB, free: 8.102 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.307, allocations: 0 / 396.5 MB, free: 8.102 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.307, allocations: 0 / 396.5 MB, free: 8.102 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.0004484/0.3075, allocations: 374.6 kB / 396.9 MB, free: 7.715 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.3075, allocations: 9.547 kB / 396.9 MB, free: 7.715 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.325e-05/0.3075, allocations: 4.75 kB / 396.9 MB, free: 7.715 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002206/0.3078, allocations: 183.3 kB / 397.1 MB, free: 7.508 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.018e-05/0.3078, allocations: 7.656 kB / 397.1 MB, free: 7.504 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.241e-05/0.3078, allocations: 4.812 kB / 397.1 MB, free: 7.504 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001496/0.308, allocations: 69.09 kB / 397.1 MB, free: 7.457 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.556e-05/0.308, allocations: 5.297 kB / 397.2 MB, free: 7.453 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.308, allocations: 4.734 kB / 397.2 MB, free: 7.449 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.308, allocations: 10.19 kB / 397.2 MB, free: 7.441 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.673e-05/0.3081, allocations: 37 kB / 397.2 MB, free: 7.43 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000624/0.3087, allocations: 377.9 kB / 397.6 MB, free: 7.082 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001034/0.3088, allocations: 57.02 kB / 397.6 MB, free: 7.043 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.575e-05/0.3088, allocations: 18.08 kB / 397.6 MB, free: 7.031 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.397e-06/0.3088, allocations: 1.375 kB / 397.6 MB, free: 7.031 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.544e-05/0.3089, allocations: 39.31 kB / 397.7 MB, free: 6.984 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.3089, allocations: 1.281 kB / 397.7 MB, free: 6.984 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006941/0.3096, allocations: 0.5106 MB / 398.2 MB, free: 6.484 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.495e-05/0.3096, allocations: 52.97 kB / 398.2 MB, free: 6.422 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.523e-05/0.3097, allocations: 120.9 kB / 398.4 MB, free: 6.312 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.783e-06/0.3097, allocations: 29.7 kB / 398.4 MB, free: 6.277 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.333e-05/0.3097, allocations: 96.45 kB / 398.5 MB, free: 6.184 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.155e-05/0.3097, allocations: 31.78 kB / 398.5 MB, free: 6.16 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.828e-05/0.3098, allocations: 27.48 kB / 398.5 MB, free: 6.137 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.902e-05/0.3098, allocations: 319.2 kB / 398.9 MB, free: 5.82 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.53e-05/0.3099, allocations: 19.98 kB / 398.9 MB, free: 5.812 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.69e-05/0.3099, allocations: 67.92 kB / 398.9 MB, free: 5.746 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.012e-05/0.31, allocations: 82.83 kB / 399 MB, free: 5.676 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.31, allocations: 7.938 kB / 399 MB, free: 5.668 MB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001502/0.3102, allocations: 110.8 kB / 399.1 MB, free: 5.605 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.3102, allocations: 5.719 kB / 399.1 MB, free: 5.605 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.3102, allocations: 1.062 kB / 399.1 MB, free: 5.605 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.3102, allocations: 2.25 kB / 399.2 MB, free: 5.605 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.503e-05/0.3103, allocations: 30.56 kB / 399.2 MB, free: 5.598 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.3103, allocations: 7.266 kB / 399.2 MB, free: 5.594 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.092e-05/0.3103, allocations: 1.156 kB / 399.2 MB, free: 5.594 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.426e-06/0.3103, allocations: 4.594 kB / 399.2 MB, free: 5.594 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.152e-05/0.3104, allocations: 127.3 kB / 399.3 MB, free: 5.465 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.755e-05/0.3104, allocations: 11.75 kB / 399.3 MB, free: 5.457 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.118e-05/0.3105, allocations: 14.67 kB / 399.3 MB, free: 5.445 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-06/0.3105, allocations: 0.6562 kB / 399.3 MB, free: 5.445 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.3105, allocations: 5.125 kB / 399.4 MB, free: 5.441 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.3105, allocations: 1.078 kB / 399.4 MB, free: 5.441 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003829/0.3108, allocations: 408.6 kB / 399.8 MB, free: 5.055 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.3109, allocations: 1.25 kB / 399.8 MB, free: 5.055 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.025e-05/0.3109, allocations: 22.16 kB / 399.8 MB, free: 5.051 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.3109, allocations: 1.75 kB / 399.8 MB, free: 5.051 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.798e-06/0.311, allocations: 2.469 kB / 399.8 MB, free: 5.051 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.311, allocations: 7.078 kB / 399.8 MB, free: 5.047 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.311, allocations: 2.406 kB / 399.8 MB, free: 5.047 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001857/0.3112, allocations: 235.1 kB / 400 MB, free: 4.836 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.533e-05/0.3112, allocations: 88.77 kB / 400.1 MB, free: 4.734 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.99e-05/0.3112, allocations: 3.094 kB / 400.1 MB, free: 4.734 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.914e-05/0.3113, allocations: 2.594 kB / 400.1 MB, free: 4.734 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.749e-05/0.3113, allocations: 10.11 kB / 400.1 MB, free: 4.73 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.144e-06/0.3113, allocations: 8.422 kB / 400.1 MB, free: 4.727 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.614e-05/0.3113, allocations: 99.23 kB / 400.2 MB, free: 4.641 MB / 318.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3113, allocations: 0 / 400.2 MB, free: 4.641 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002668/0.3116, allocations: 18.38 kB / 400.2 MB, free: 4.637 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.505e-05/0.3117, allocations: 97.48 kB / 400.3 MB, free: 4.547 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001555/0.3119, allocations: 69.66 kB / 400.4 MB, free: 4.516 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3119, allocations: 4.188 kB / 400.4 MB, free: 4.512 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.856e-05/0.3119, allocations: 27.19 kB / 400.4 MB, free: 4.504 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003173/0.3122, allocations: 12.36 kB / 400.4 MB, free: 4.5 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005145/0.3127, allocations: 335.5 kB / 400.8 MB, free: 4.219 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001331/0.3129, allocations: 0.6897 MB / 401.5 MB, free: 3.523 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.666e-05/0.3129, allocations: 8.781 kB / 401.5 MB, free: 3.523 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.568e-05/0.3129, allocations: 11.25 kB / 401.5 MB, free: 3.516 MB / 318.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3129, allocations: 4 kB / 401.5 MB, free: 3.512 MB / 318.1 MB Notification: Performance of Templates: time 0.003215/0.3161, allocations: 0.6946 MB / 402.2 MB, free: 3.418 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/Accelerate/Accelerate.csv","/var/lib/jenkins/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: 4.661839388310909]