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.00145/0.00145, allocations: 106 kB / 21.18 MB, free: 0.707 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.001449/0.001449, allocations: 183.7 kB / 24.47 MB, free: 4.074 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.596/1.596, allocations: 207.6 MB / 235.2 MB, free: 10.02 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.002391/0.002391, allocations: 62.58 kB / 347.6 MB, free: 9.582 MB / 286.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3156/0.318, allocations: 49.16 MB / 396.8 MB, free: 9.508 MB / 318.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.00294/0.321, allocations: 1.633 MB / 398.4 MB, free: 8.383 MB / 318.1 MB
Notification: Performance of NFInst.instExpressions: time 0.0002387/0.3212, allocations: 65.39 kB / 398.5 MB, free: 8.336 MB / 318.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 7.119e-05/0.3213, allocations: 9.375 kB / 398.5 MB, free: 8.328 MB / 318.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0001018/0.3214, allocations: 6.562 kB / 398.5 MB, free: 8.324 MB / 318.1 MB
Notification: Performance of NFTyping.typeBindings: time 5.169e-05/0.3214, allocations: 21.52 kB / 398.5 MB, free: 8.309 MB / 318.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0001227/0.3215, allocations: 14.23 kB / 398.5 MB, free: 8.301 MB / 318.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0001261/0.3217, allocations: 65.23 kB / 398.6 MB, free: 8.27 MB / 318.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.3218, allocations: 19.69 kB / 398.6 MB, free: 8.262 MB / 318.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 4.849e-05/0.3218, allocations: 22.94 kB / 398.6 MB, free: 8.254 MB / 318.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 7.38e-05/0.3219, allocations: 28.25 kB / 398.7 MB, free: 8.238 MB / 318.1 MB
Notification: Performance of NFPackage.collectConstants: time 2.336e-05/0.3219, allocations: 9.25 kB / 398.7 MB, free: 8.234 MB / 318.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 1.416e-05/0.3219, allocations: 5.094 kB / 398.7 MB, free: 8.234 MB / 318.1 MB
Notification: Performance of NFScalarize.scalarize: time 1.995e-05/0.322, allocations: 16.73 kB / 398.7 MB, free: 8.223 MB / 318.1 MB
Notification: Performance of NFVerifyModel.verify: time 3.969e-05/0.322, allocations: 28.2 kB / 398.7 MB, free: 8.207 MB / 318.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0001321/0.3221, allocations: 67.27 kB / 398.8 MB, free: 8.18 MB / 318.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.3221, allocations: 0 / 398.8 MB, free: 8.18 MB / 318.1 MB
Notification: Performance of FrontEnd: time 1.463e-06/0.3221, allocations: 0 / 398.8 MB, free: 8.18 MB / 318.1 MB
Notification: Performance of Transformations before backend: time 1.073e-05/0.3221, allocations: 1.125 kB / 398.8 MB, free: 8.18 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.0003469/0.3225, allocations: 291.2 kB / 399.1 MB, free: 7.895 MB / 318.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.28e-05/0.3225, allocations: 18 kB / 399.1 MB, free: 7.887 MB / 318.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 2.769e-05/0.3226, allocations: 5.5 kB / 399.1 MB, free: 7.887 MB / 318.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001564/0.3227, allocations: 123.6 kB / 399.2 MB, free: 7.75 MB / 318.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.3227, allocations: 4.141 kB / 399.2 MB, free: 7.75 MB / 318.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.23e-05/0.3228, allocations: 8.938 kB / 399.2 MB, free: 7.746 MB / 318.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001443/0.3229, allocations: 74.19 kB / 399.3 MB, free: 7.695 MB / 318.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.473e-05/0.3229, allocations: 8.188 kB / 399.3 MB, free: 7.688 MB / 318.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.3229, allocations: 9.781 kB / 399.3 MB, free: 7.68 MB / 318.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.3229, allocations: 1.125 kB / 399.3 MB, free: 7.68 MB / 318.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 7.815e-05/0.323, allocations: 38.5 kB / 399.4 MB, free: 7.668 MB / 318.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005575/0.3236, allocations: 341.4 kB / 399.7 MB, free: 7.359 MB / 318.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 9.714e-05/0.3237, allocations: 61.44 kB / 399.8 MB, free: 7.316 MB / 318.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 3.125e-05/0.3237, allocations: 16.8 kB / 399.8 MB, free: 7.305 MB / 318.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 1.048e-05/0.3237, allocations: 2.031 kB / 399.8 MB, free: 7.305 MB / 318.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.373e-05/0.3237, allocations: 36.06 kB / 399.8 MB, free: 7.262 MB / 318.1 MB
Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.3237, allocations: 0 / 399.8 MB, free: 7.262 MB / 318.1 MB
Notification: Performance of matching and sorting (n=9): time 0.0006391/0.3244, allocations: 370.4 kB / 400.2 MB, free: 6.949 MB / 318.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 2.18e-05/0.3244, allocations: 53.14 kB / 400.2 MB, free: 6.887 MB / 318.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.309e-05/0.3245, allocations: 120.2 kB / 400.3 MB, free: 6.777 MB / 318.1 MB
Notification: Performance of collectPreVariables (initialization): time 8.916e-06/0.3245, allocations: 34.83 kB / 400.4 MB, free: 6.738 MB / 318.1 MB
Notification: Performance of collectInitialEqns (initialization): time 3.579e-05/0.3245, allocations: 96.5 kB / 400.5 MB, free: 6.645 MB / 318.1 MB
Notification: Performance of collectInitialBindings (initialization): time 2.103e-05/0.3245, allocations: 33.98 kB / 400.5 MB, free: 6.617 MB / 318.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.61e-05/0.3246, allocations: 30.88 kB / 400.5 MB, free: 6.59 MB / 318.1 MB
Notification: Performance of setup shared object (initialization): time 4.289e-05/0.3246, allocations: 319.5 kB / 400.9 MB, free: 6.273 MB / 318.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 3.557e-05/0.3246, allocations: 16.48 kB / 400.9 MB, free: 6.27 MB / 318.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 5.23e-05/0.3247, allocations: 64.34 kB / 400.9 MB, free: 6.207 MB / 318.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 8.589e-05/0.3248, allocations: 82.45 kB / 401 MB, free: 6.137 MB / 318.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.3248, allocations: 0.5156 kB / 401 MB, free: 6.137 MB / 318.1 MB
Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001476/0.3249, allocations: 110.7 kB / 401.1 MB, free: 6.074 MB / 318.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.3249, allocations: 9.5 kB / 401.1 MB, free: 6.07 MB / 318.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.3249, allocations: 1.906 kB / 401.1 MB, free: 6.07 MB / 318.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.325, allocations: 3.516 kB / 401.1 MB, free: 6.07 MB / 318.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.436e-05/0.325, allocations: 29.09 kB / 401.2 MB, free: 6.062 MB / 318.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.3251, allocations: 7.25 kB / 401.2 MB, free: 6.059 MB / 318.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.877e-05/0.3251, allocations: 1.578 kB / 401.2 MB, free: 6.059 MB / 318.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-06/0.3251, allocations: 8.094 kB / 401.2 MB, free: 6.055 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.239e-05/0.3252, allocations: 126.6 kB / 401.3 MB, free: 5.926 MB / 318.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.916e-05/0.3252, allocations: 12.23 kB / 401.3 MB, free: 5.918 MB / 318.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.749e-05/0.3252, allocations: 14.11 kB / 401.3 MB, free: 5.906 MB / 318.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.3252, allocations: 1.219 kB / 401.3 MB, free: 5.906 MB / 318.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/0.3252, allocations: 5.641 kB / 401.3 MB, free: 5.902 MB / 318.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.3252, allocations: 0.5625 kB / 401.3 MB, free: 5.902 MB / 318.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003748/0.3256, allocations: 374.6 kB / 401.7 MB, free: 5.555 MB / 318.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-06/0.3256, allocations: 1.469 kB / 401.7 MB, free: 5.555 MB / 318.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.909e-05/0.3257, allocations: 26.77 kB / 401.7 MB, free: 5.547 MB / 318.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.3257, allocations: 1.094 kB / 401.7 MB, free: 5.547 MB / 318.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.488e-06/0.3257, allocations: 3.188 kB / 401.7 MB, free: 5.547 MB / 318.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/0.3257, allocations: 2.375 kB / 401.7 MB, free: 5.547 MB / 318.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.3257, allocations: 2.375 kB / 401.7 MB, free: 5.547 MB / 318.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001775/0.3259, allocations: 231.4 kB / 402 MB, free: 5.34 MB / 318.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 1.692e-05/0.3259, allocations: 16.41 kB / 402 MB, free: 5.328 MB / 318.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.82e-05/0.3259, allocations: 2.797 kB / 402 MB, free: 5.328 MB / 318.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.876e-05/0.326, allocations: 1.469 kB / 402 MB, free: 5.328 MB / 318.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 2.58e-05/0.326, allocations: 15.83 kB / 402 MB, free: 5.32 MB / 318.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.169e-06/0.326, allocations: 6.938 kB / 402 MB, free: 5.316 MB / 318.1 MB
Notification: Performance of sorting global known variables: time 3.428e-05/0.326, allocations: 91.8 kB / 402.1 MB, free: 5.238 MB / 318.1 MB
Notification: Performance of sort global known variables: time 7e-08/0.326, allocations: 3.938 kB / 402.1 MB, free: 5.234 MB / 318.1 MB
Notification: Performance of remove unused functions: time 0.0002514/0.3263, allocations: 16.97 kB / 402.1 MB, free: 5.23 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 7.141e-05/0.3264, allocations: 93.59 kB / 402.2 MB, free: 5.145 MB / 318.1 MB
Notification: Performance of simCode: created initialization part: time 0.0001444/0.3265, allocations: 63.17 kB / 402.3 MB, free: 5.121 MB / 318.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.3265, allocations: 0.5625 kB / 402.3 MB, free: 5.121 MB / 318.1 MB
Notification: Performance of simCode: created simulation system equations: time 3.766e-05/0.3266, allocations: 29.25 kB / 402.3 MB, free: 5.109 MB / 318.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003039/0.3269, allocations: 21.41 kB / 402.3 MB, free: 5.098 MB / 318.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005118/0.3274, allocations: 342.2 kB / 402.7 MB, free: 4.801 MB / 318.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001226/0.3275, allocations: 0.6958 MB / 403.4 MB, free: 4.102 MB / 318.1 MB
Notification: Performance of simCode: alias equations: time 3.549e-05/0.3275, allocations: 6.891 kB / 403.4 MB, free: 4.102 MB / 318.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.442e-05/0.3276, allocations: 12.97 kB / 403.4 MB, free: 4.094 MB / 318.1 MB
Notification: Performance of SimCode: time 3.1e-07/0.3276, allocations: 0 / 403.4 MB, free: 4.094 MB / 318.1 MB
Notification: Performance of Templates: time 0.003278/0.3308, allocations: 0.7138 MB / 404.1 MB, free: 4.004 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.6623586770147085]