Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001815/0.001815, allocations: 110.5 kB / 21.23 MB, free: 0.6641 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002244/0.002244, allocations: 213.2 kB / 24.54 MB, free: 4.02 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.56/1.56, allocations: 230.3 MB / 258 MB, free: 8.227 MB / 206.1 MB
"
[Timeout remaining time 178]
Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo)
Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo)
Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.Translational.Examples.Accelerate") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001869/0.001869, allocations: 67.88 kB / 378.7 MB, free: 2.809 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.232/0.2339, allocations: 53.36 MB / 432.1 MB, free: 7.094 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.002953/0.2369, allocations: 1.682 MB / 433.8 MB, free: 5.41 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.0002655/0.2371, allocations: 63.78 kB / 433.8 MB, free: 5.348 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 7.548e-05/0.2372, allocations: 0 / 433.8 MB, free: 5.348 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0001025/0.2373, allocations: 11.86 kB / 433.9 MB, free: 5.336 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 6.062e-05/0.2374, allocations: 19.86 kB / 433.9 MB, free: 5.316 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0001257/0.2375, allocations: 15.97 kB / 433.9 MB, free: 5.301 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.000143/0.2376, allocations: 67.67 kB / 434 MB, free: 5.234 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.2377, allocations: 19.98 kB / 434 MB, free: 5.215 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 4.784e-05/0.2378, allocations: 23.92 kB / 434 MB, free: 5.191 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 6.866e-05/0.2379, allocations: 31.84 kB / 434 MB, free: 5.16 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 1.732e-05/0.2379, allocations: 4 kB / 434 MB, free: 5.156 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 1.498e-05/0.2379, allocations: 4 kB / 434 MB, free: 5.152 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 1.908e-05/0.2379, allocations: 8 kB / 434 MB, free: 5.145 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 4.837e-05/0.238, allocations: 31.8 kB / 434.1 MB, free: 5.113 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0001463/0.2381, allocations: 65.47 kB / 434.1 MB, free: 5.055 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.2381, allocations: 4 kB / 434.1 MB, free: 5.051 MB / 334.1 MB
Notification: Performance of FrontEnd: time 1.242e-06/0.2381, allocations: 0 / 434.1 MB, free: 5.051 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 5.551e-06/0.2381, allocations: 0 / 434.1 MB, free: 5.051 MB / 334.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.0004403/0.2386, allocations: 290.1 kB / 434.4 MB, free: 4.734 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.35e-05/0.2386, allocations: 12.03 kB / 434.4 MB, free: 4.723 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.846e-05/0.2386, allocations: 8.891 kB / 434.4 MB, free: 4.715 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001982/0.2388, allocations: 122.4 kB / 434.6 MB, free: 4.57 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.2388, allocations: 4.375 kB / 434.6 MB, free: 4.566 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.605e-05/0.2389, allocations: 12.38 kB / 434.6 MB, free: 4.555 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001528/0.239, allocations: 74.11 kB / 434.7 MB, free: 4.477 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.239, allocations: 192 / 434.7 MB, free: 4.477 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/0.239, allocations: 7.938 kB / 434.7 MB, free: 4.469 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.2391, allocations: 4 kB / 434.7 MB, free: 4.465 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 8.811e-05/0.2391, allocations: 35.92 kB / 434.7 MB, free: 4.43 MB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006613/0.2398, allocations: 342.9 kB / 435 MB, free: 4.047 MB / 334.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001074/0.2399, allocations: 62.5 kB / 435.1 MB, free: 3.977 MB / 334.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 4.015e-05/0.2399, allocations: 20.84 kB / 435.1 MB, free: 3.953 MB / 334.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 1.324e-05/0.24, allocations: 3.984 kB / 435.1 MB, free: 3.949 MB / 334.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.452e-05/0.24, allocations: 30.56 kB / 435.2 MB, free: 3.91 MB / 334.1 MB
Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.24, allocations: 0 / 435.2 MB, free: 3.91 MB / 334.1 MB
Notification: Performance of matching and sorting (n=9): time 0.0007087/0.2407, allocations: 371.2 kB / 435.5 MB, free: 3.492 MB / 334.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.706e-05/0.2407, allocations: 55.41 kB / 435.6 MB, free: 3.426 MB / 334.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000108/0.2409, allocations: 117.8 kB / 435.7 MB, free: 3.301 MB / 334.1 MB
Notification: Performance of collectPreVariables (initialization): time 1.786e-05/0.2409, allocations: 25.7 kB / 435.7 MB, free: 3.27 MB / 334.1 MB
Notification: Performance of collectInitialEqns (initialization): time 7.071e-05/0.2409, allocations: 100 kB / 435.8 MB, free: 3.168 MB / 334.1 MB
Notification: Performance of collectInitialBindings (initialization): time 3.05e-05/0.241, allocations: 31.7 kB / 435.8 MB, free: 3.137 MB / 334.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.865e-05/0.241, allocations: 29.7 kB / 435.9 MB, free: 3.102 MB / 334.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001562/0.2412, allocations: 322.8 kB / 436.2 MB, free: 2.777 MB / 334.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 3.93e-05/0.2412, allocations: 16 kB / 436.2 MB, free: 2.762 MB / 334.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 8.655e-05/0.2413, allocations: 65.08 kB / 436.3 MB, free: 2.68 MB / 334.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001195/0.2414, allocations: 85.08 kB / 436.3 MB, free: 2.578 MB / 334.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.2414, allocations: 0 / 436.3 MB, free: 2.578 MB / 334.1 MB
Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001834/0.2416, allocations: 110 kB / 436.5 MB, free: 2.465 MB / 334.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.2416, allocations: 8 kB / 436.5 MB, free: 2.457 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.2416, allocations: 0 / 436.5 MB, free: 2.457 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.2416, allocations: 4 kB / 436.5 MB, free: 2.453 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.664e-05/0.2417, allocations: 23.92 kB / 436.5 MB, free: 2.43 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.511e-05/0.2418, allocations: 11.88 kB / 436.5 MB, free: 2.418 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.745e-05/0.2418, allocations: 12.03 kB / 436.5 MB, free: 2.406 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.967e-06/0.2418, allocations: 4 kB / 436.5 MB, free: 2.402 MB / 334.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 0.000106/0.2419, allocations: 117.8 kB / 436.6 MB, free: 2.277 MB / 334.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.097e-05/0.242, allocations: 7.953 kB / 436.6 MB, free: 2.27 MB / 334.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.859e-05/0.242, allocations: 16.36 kB / 436.7 MB, free: 2.246 MB / 334.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.242, allocations: 0 / 436.7 MB, free: 2.246 MB / 334.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.242, allocations: 3.938 kB / 436.7 MB, free: 2.242 MB / 334.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.242, allocations: 0 / 436.7 MB, free: 2.242 MB / 334.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005369/0.2425, allocations: 377.7 kB / 437 MB, free: 1.809 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.2425, allocations: 0 / 437 MB, free: 1.809 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.643e-05/0.2426, allocations: 19.98 kB / 437 MB, free: 1.789 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/0.2426, allocations: 4.188 kB / 437 MB, free: 1.785 MB / 334.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.268e-05/0.2427, allocations: 4 kB / 437.1 MB, free: 1.781 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.2427, allocations: 4.156 kB / 437.1 MB, free: 1.777 MB / 334.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.2427, allocations: 7.938 kB / 437.1 MB, free: 1.77 MB / 334.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002787/0.2429, allocations: 235.6 kB / 437.3 MB, free: 1.508 MB / 334.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 1.969e-05/0.243, allocations: 16.03 kB / 437.3 MB, free: 1.492 MB / 334.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.225e-05/0.243, allocations: 8 kB / 437.3 MB, free: 1.484 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.486e-05/0.2431, allocations: 0 / 437.3 MB, free: 1.484 MB / 334.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 2.155e-05/0.2431, allocations: 7.984 kB / 437.3 MB, free: 1.477 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.897e-06/0.2431, allocations: 8 kB / 437.3 MB, free: 1.469 MB / 334.1 MB
Notification: Performance of sorting global known variables: time 6.019e-05/0.2432, allocations: 87.28 kB / 437.4 MB, free: 1.383 MB / 334.1 MB
Notification: Performance of sort global known variables: time 9e-08/0.2432, allocations: 0 / 437.4 MB, free: 1.383 MB / 334.1 MB
Notification: Performance of remove unused functions: time 0.0002639/0.2434, allocations: 16 kB / 437.4 MB, free: 1.367 MB / 334.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 0.0001291/0.2436, allocations: 111.1 kB / 437.5 MB, free: 1.25 MB / 334.1 MB
Notification: Performance of simCode: created initialization part: time 0.0001547/0.2437, allocations: 60.17 kB / 437.6 MB, free: 1.191 MB / 334.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.2437, allocations: 0 / 437.6 MB, free: 1.191 MB / 334.1 MB
Notification: Performance of simCode: created simulation system equations: time 4.48e-05/0.2438, allocations: 27.92 kB / 437.6 MB, free: 1.164 MB / 334.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003226/0.2441, allocations: 19.94 kB / 437.6 MB, free: 1.145 MB / 334.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006431/0.2447, allocations: 332.2 kB / 438 MB, free: 0.7812 MB / 334.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003375/0.2451, allocations: 0.6924 MB / 438.7 MB, free: 64 kB / 334.1 MB
Notification: Performance of simCode: alias equations: time 3.974e-05/0.2451, allocations: 8.422 kB / 438.7 MB, free: 56 kB / 334.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.813e-05/0.2451, allocations: 15.44 kB / 438.7 MB, free: 40 kB / 334.1 MB
Notification: Performance of SimCode: time 4.71e-07/0.2451, allocations: 3.938 kB / 438.7 MB, free: 36 kB / 334.1 MB
Notification: Performance of Templates: time 0.003421/0.2485, allocations: 0.7374 MB / 439.4 MB, free: 15.31 MB / 350.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.makefile [Timeout 660]
(rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/Accelerate/Accelerate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.42402118165046]