Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.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.001914/0.001914, 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.002396/0.002396, 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.459/1.459, allocations: 230.3 MB / 257.9 MB, free: 8.223 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.CompareBrakingForce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|mass1.v|mass2.v|mass3.v|mass4.v",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce")
translateModel(Modelica.Mechanics.Translational.Examples.CompareBrakingForce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|mass1.v|mass2.v|mass3.v|mass4.v",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001955/0.001955, allocations: 63.89 kB / 378.7 MB, free: 2.777 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2436/0.2456, allocations: 53.36 MB / 432.1 MB, free: 7.086 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.CompareBrakingForce): time 0.003738/0.2493, allocations: 2.396 MB / 434.5 MB, free: 4.684 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001479/0.2508, allocations: 0.7712 MB / 435.3 MB, free: 3.906 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001259/0.2509, allocations: 11.94 kB / 435.3 MB, free: 3.895 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0001764/0.2511, allocations: 35.59 kB / 435.3 MB, free: 3.859 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.000308/0.2514, allocations: 91.31 kB / 435.4 MB, free: 3.77 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0003381/0.2518, allocations: 111.7 kB / 435.5 MB, free: 3.66 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0003843/0.2522, allocations: 306.6 kB / 435.8 MB, free: 3.359 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001697/0.2523, allocations: 44.92 kB / 435.9 MB, free: 3.312 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001656/0.2525, allocations: 123.5 kB / 436 MB, free: 3.191 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001906/0.2527, allocations: 127.4 kB / 436.1 MB, free: 3.066 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 4.122e-05/0.2527, allocations: 20 kB / 436.1 MB, free: 3.047 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 4.431e-05/0.2528, allocations: 27.94 kB / 436.1 MB, free: 3.02 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 6.059e-05/0.2528, allocations: 51.83 kB / 436.2 MB, free: 2.969 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0001311/0.253, allocations: 131.3 kB / 436.3 MB, free: 2.84 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0003202/0.2533, allocations: 268.5 kB / 436.6 MB, free: 2.582 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.2533, allocations: 0 / 436.6 MB, free: 2.582 MB / 334.1 MB
Notification: Performance of FrontEnd: time 1.502e-06/0.2533, allocations: 0 / 436.6 MB, free: 2.582 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 6.893e-06/0.2533, allocations: 4 kB / 436.6 MB, free: 2.578 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: 52
 * Number of variables: 52
Notification: Performance of Generate backend data structure: time 0.000968/0.2543, allocations: 489.5 kB / 437.1 MB, free: 2.07 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.2543, allocations: 11.97 kB / 437.1 MB, free: 2.059 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 7.653e-05/0.2544, allocations: 32.75 kB / 437.1 MB, free: 2.027 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003846/0.2548, allocations: 203.4 kB / 437.3 MB, free: 1.801 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.683e-05/0.2548, allocations: 16.81 kB / 437.3 MB, free: 1.785 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 4.818e-05/0.2548, allocations: 24.38 kB / 437.4 MB, free: 1.762 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004826/0.2553, allocations: 250.9 kB / 437.6 MB, free: 1.5 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 2.306e-05/0.2553, allocations: 3.953 kB / 437.6 MB, free: 1.496 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.603e-05/0.2554, allocations: 15.94 kB / 437.6 MB, free: 1.48 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.2554, allocations: 4 kB / 437.6 MB, free: 1.477 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004065/0.2558, allocations: 167.3 kB / 437.8 MB, free: 1.316 MB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001455/0.2572, allocations: 0.9687 MB / 438.8 MB, free: 276 kB / 334.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0006054/0.2578, allocations: 278.4 kB / 439 MB, free: 15.96 MB / 350.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001921/0.258, allocations: 91.36 kB / 439.1 MB, free: 15.86 MB / 350.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.816e-05/0.2581, allocations: 8.375 kB / 439.1 MB, free: 15.85 MB / 350.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.248e-05/0.2581, allocations: 42.48 kB / 439.2 MB, free: 15.8 MB / 350.1 MB
Notification: Performance of pre-optimization done (n=28): time 1.883e-06/0.2581, allocations: 0 / 439.2 MB, free: 15.8 MB / 350.1 MB
Notification: Performance of matching and sorting (n=32): time 0.002021/0.2601, allocations: 1.036 MB / 440.2 MB, free: 14.65 MB / 350.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 9.497e-05/0.2602, allocations: 136.5 kB / 440.3 MB, free: 14.48 MB / 350.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000246/0.2605, allocations: 202.8 kB / 440.5 MB, free: 14.28 MB / 350.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.564e-05/0.2605, allocations: 37.64 kB / 440.6 MB, free: 14.23 MB / 350.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0002489/0.2607, allocations: 152.7 kB / 440.7 MB, free: 14.08 MB / 350.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0001118/0.2609, allocations: 130.9 kB / 440.8 MB, free: 13.95 MB / 350.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001596/0.261, allocations: 70.08 kB / 440.9 MB, free: 13.88 MB / 350.1 MB
Notification: Performance of setup shared object (initialization): time 0.00018/0.2612, allocations: 338.8 kB / 441.2 MB, free: 13.54 MB / 350.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002086/0.2614, allocations: 80.83 kB / 441.3 MB, free: 13.45 MB / 350.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002999/0.2617, allocations: 198.1 kB / 441.5 MB, free: 13.21 MB / 350.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0005457/0.2623, allocations: 305.7 kB / 441.8 MB, free: 12.86 MB / 350.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.2623, allocations: 4 kB / 441.8 MB, free: 12.86 MB / 350.1 MB
Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006457/0.2629, allocations: 345.5 kB / 442.2 MB, free: 12.52 MB / 350.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.2629, allocations: 8 kB / 442.2 MB, free: 12.51 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.2629, allocations: 0 / 442.2 MB, free: 12.51 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 3.32e-05/0.263, allocations: 11.98 kB / 442.2 MB, free: 12.5 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003705/0.2633, allocations: 91.84 kB / 442.3 MB, free: 12.41 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.784e-05/0.2634, allocations: 16.05 kB / 442.3 MB, free: 12.39 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001672/0.2635, allocations: 11.94 kB / 442.3 MB, free: 12.38 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.027e-05/0.2636, allocations: 16 kB / 442.3 MB, free: 12.36 MB / 350.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 16
 * 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 (48):
 * Single equations (assignments): 48
 * 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.0001655/0.2637, allocations: 153.7 kB / 442.5 MB, free: 12.2 MB / 350.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001181/0.2638, allocations: 31.88 kB / 442.5 MB, free: 12.17 MB / 350.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.716e-05/0.2639, allocations: 25.41 kB / 442.5 MB, free: 12.15 MB / 350.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.2639, allocations: 4 kB / 442.5 MB, free: 12.14 MB / 350.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/0.2639, allocations: 4 kB / 442.5 MB, free: 12.14 MB / 350.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.05e-05/0.2639, allocations: 7.922 kB / 442.5 MB, free: 12.13 MB / 350.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001529/0.2655, allocations: 0.9313 MB / 443.5 MB, free: 11.12 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/0.2655, allocations: 4 kB / 443.5 MB, free: 11.12 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003817/0.2659, allocations: 79.89 kB / 443.5 MB, free: 11.04 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 6.101e-06/0.2659, allocations: 8.188 kB / 443.6 MB, free: 11.04 MB / 350.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.624e-05/0.2659, allocations: 12 kB / 443.6 MB, free: 11.02 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.44e-06/0.2659, allocations: 4.25 kB / 443.6 MB, free: 11.02 MB / 350.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.454e-06/0.2659, allocations: 7.938 kB / 443.6 MB, free: 11.01 MB / 350.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008796/0.2668, allocations: 0.704 MB / 444.3 MB, free: 10.26 MB / 350.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 4.283e-05/0.2668, allocations: 23.84 kB / 444.3 MB, free: 10.23 MB / 350.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.469e-05/0.2669, allocations: 16 kB / 444.3 MB, free: 10.22 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002712/0.2671, allocations: 11.94 kB / 444.3 MB, free: 10.21 MB / 350.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 6.321e-05/0.2672, allocations: 27.89 kB / 444.4 MB, free: 10.18 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.362e-05/0.2672, allocations: 16 kB / 444.4 MB, free: 10.16 MB / 350.1 MB
Notification: Performance of sorting global known variables: time 0.0001344/0.2674, allocations: 144.6 kB / 444.5 MB, free: 10.02 MB / 350.1 MB
Notification: Performance of sort global known variables: time 9e-08/0.2674, allocations: 0 / 444.5 MB, free: 10.02 MB / 350.1 MB
Notification: Performance of remove unused functions: time 0.0004887/0.2678, allocations: 68 kB / 444.6 MB, free: 9.957 MB / 350.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 12
 * Number of states: 8 (mass4.s,mass4.v,mass3.s,mass3.v,mass2.s,mass2.v,mass1.s,mass1.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 (32):
 * Single equations (assignments): 32
 * 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.0001515/0.268, allocations: 115.6 kB / 444.7 MB, free: 9.832 MB / 350.1 MB
Notification: Performance of simCode: created initialization part: time 0.0005286/0.2685, allocations: 227.9 kB / 444.9 MB, free: 9.609 MB / 350.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.2685, allocations: 0.5 kB / 444.9 MB, free: 9.609 MB / 350.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0002497/0.2688, allocations: 119.8 kB / 445 MB, free: 9.492 MB / 350.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007668/0.2695, allocations: 68.45 kB / 445.1 MB, free: 9.426 MB / 350.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001668/0.2712, allocations: 0.9598 MB / 446.1 MB, free: 8.41 MB / 350.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004382/0.2717, allocations: 0.7604 MB / 446.8 MB, free: 7.617 MB / 350.1 MB
Notification: Performance of simCode: alias equations: time 0.0001327/0.2718, allocations: 34.95 kB / 446.9 MB, free: 7.582 MB / 350.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 8.211e-05/0.2719, allocations: 27.44 kB / 446.9 MB, free: 7.555 MB / 350.1 MB
Notification: Performance of SimCode: time 4.41e-07/0.2719, allocations: 0 / 446.9 MB, free: 7.555 MB / 350.1 MB
Notification: Performance of Templates: time 0.007817/0.2797, allocations: 3.202 MB / 450.1 MB, free: 4.383 MB / 350.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.makefile [Timeout 660]
(rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.sim & ./Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Translational/Examples/CompareBrakingForce/CompareBrakingForce.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.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.75510461628437]