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.0009215/0.0009215, allocations: 88.73 kB / 21.5 MB, free: 2.988 MB / 18.57 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.0009521/0.0009521, allocations: 165.1 kB / 24.91 MB, free: 8.715 MB / 18.57 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 0.9206/0.9206, allocations: 177 MB / 205.2 MB, free: 4.996 MB / 186.7 MB " [Timeout remaining time 179] 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 1.392e-06/1.392e-06, allocations: 0 / 273.4 MB, free: 1.066 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.22e-05/1.36e-05, allocations: 9.125 kB / 273.4 MB, free: 1.059 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.CompareBrakingForce): time 0.0022/0.002213, allocations: 2.329 MB / 275.7 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009273/0.003141, allocations: 0.7709 MB / 276.5 MB, free: 13.93 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.662e-05/0.003227, allocations: 7.938 kB / 276.5 MB, free: 13.93 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001067/0.003334, allocations: 39.59 kB / 276.5 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001931/0.003527, allocations: 103.1 kB / 276.6 MB, free: 13.79 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002858/0.003813, allocations: 115.6 kB / 276.7 MB, free: 13.67 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002262/0.004039, allocations: 310.5 kB / 277 MB, free: 13.37 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001292/0.004168, allocations: 50.86 kB / 277.1 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001327/0.004301, allocations: 167.5 kB / 277.2 MB, free: 13.16 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001162/0.004417, allocations: 99.67 kB / 277.3 MB, free: 13.06 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.564e-05/0.004443, allocations: 20 kB / 277.4 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.322e-05/0.004466, allocations: 20 kB / 277.4 MB, free: 13.02 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.69e-05/0.004503, allocations: 55.77 kB / 277.4 MB, free: 12.96 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.514e-05/0.004568, allocations: 99.73 kB / 277.5 MB, free: 12.87 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001637/0.004732, allocations: 183.3 kB / 277.7 MB, free: 12.69 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.503e-06/0.004733, allocations: 0 / 277.7 MB, free: 12.69 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.004734, allocations: 0 / 277.7 MB, free: 12.69 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.086e-06/0.004737, allocations: 0 / 277.7 MB, free: 12.69 MB / 266.7 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.0005319/0.005269, allocations: 464.1 kB / 278.2 MB, free: 12.21 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.792e-05/0.005297, allocations: 15.98 kB / 278.2 MB, free: 12.2 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.276e-05/0.005339, allocations: 36.91 kB / 278.2 MB, free: 12.16 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000167/0.005506, allocations: 182.1 kB / 278.4 MB, free: 11.95 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.758e-05/0.005524, allocations: 16.88 kB / 278.4 MB, free: 11.94 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.92e-05/0.005553, allocations: 24.33 kB / 278.4 MB, free: 11.91 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001948/0.005748, allocations: 212.6 kB / 278.6 MB, free: 11.69 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.005758, allocations: 192 / 278.6 MB, free: 11.69 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.833e-05/0.005777, allocations: 16.38 kB / 278.7 MB, free: 11.67 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.005783, allocations: 11.88 kB / 278.7 MB, free: 11.66 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.119e-05/0.005874, allocations: 75.75 kB / 278.7 MB, free: 11.59 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005794/0.006453, allocations: 0.7666 MB / 279.5 MB, free: 10.77 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001648/0.006618, allocations: 178.5 kB / 279.7 MB, free: 10.56 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001576/0.006776, allocations: 59.72 kB / 279.7 MB, free: 10.49 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.831e-05/0.006794, allocations: 7.984 kB / 279.8 MB, free: 10.48 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.158e-05/0.006815, allocations: 46.5 kB / 279.8 MB, free: 10.43 MB / 266.7 MB Notification: Performance of pre-optimization done (n=28): time 1.042e-06/0.006817, allocations: 0 / 279.8 MB, free: 10.43 MB / 266.7 MB Notification: Performance of matching and sorting (n=32): time 0.000765/0.007582, allocations: 0.787 MB / 280.6 MB, free: 9.523 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.319e-05/0.007625, allocations: 136.5 kB / 280.7 MB, free: 9.359 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.955e-05/0.007724, allocations: 198.3 kB / 280.9 MB, free: 9.152 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.7e-05/0.007741, allocations: 29.7 kB / 280.9 MB, free: 9.117 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.937e-05/0.007791, allocations: 140.7 kB / 281.1 MB, free: 8.977 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.616e-05/0.007847, allocations: 126.9 kB / 281.2 MB, free: 8.852 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.807e-05/0.007905, allocations: 70.12 kB / 281.3 MB, free: 8.777 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.141e-05/0.007976, allocations: 334.8 kB / 281.6 MB, free: 8.441 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.031e-05/0.008017, allocations: 32.98 kB / 281.6 MB, free: 8.41 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.22e-05/0.008109, allocations: 162.6 kB / 281.8 MB, free: 8.199 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001563/0.008265, allocations: 217.6 kB / 282 MB, free: 7.938 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.008267, allocations: 0 / 282 MB, free: 7.938 MB / 266.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0001944/0.008461, allocations: 229.2 kB / 282.2 MB, free: 7.707 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/0.008472, allocations: 8 kB / 282.2 MB, free: 7.699 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.008478, allocations: 4 kB / 282.2 MB, free: 7.695 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.016e-05/0.008488, allocations: 4 kB / 282.2 MB, free: 7.691 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001823/0.00867, allocations: 87.89 kB / 282.3 MB, free: 7.605 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.008676, allocations: 7.938 kB / 282.3 MB, free: 7.598 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.81e-05/0.008755, allocations: 16 kB / 282.4 MB, free: 7.582 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.387e-05/0.008768, allocations: 16.23 kB / 282.4 MB, free: 7.566 MB / 266.7 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 6.873e-05/0.008837, allocations: 137.7 kB / 282.5 MB, free: 7.422 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.459e-05/0.008892, allocations: 31.86 kB / 282.5 MB, free: 7.391 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.445e-05/0.008926, allocations: 33.45 kB / 282.6 MB, free: 7.355 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.008929, allocations: 4 kB / 282.6 MB, free: 7.352 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.943e-06/0.008931, allocations: 0 / 282.6 MB, free: 7.352 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.008936, allocations: 3.984 kB / 282.6 MB, free: 7.348 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008359/0.009772, allocations: 0.7021 MB / 283.3 MB, free: 6.594 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.009776, allocations: 7.938 kB / 283.3 MB, free: 6.586 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001792/0.009955, allocations: 79.89 kB / 283.4 MB, free: 6.508 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.818e-06/0.009959, allocations: 4 kB / 283.4 MB, free: 6.504 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.288e-05/0.009972, allocations: 8 kB / 283.4 MB, free: 6.496 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.009976, allocations: 4 kB / 283.4 MB, free: 6.492 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/0.00998, allocations: 7.938 kB / 283.4 MB, free: 6.484 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003277/0.01031, allocations: 0.5793 MB / 284 MB, free: 5.855 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.279e-05/0.01033, allocations: 19.86 kB / 284 MB, free: 5.836 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.482e-05/0.01036, allocations: 11.98 kB / 284 MB, free: 5.824 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001346/0.01049, allocations: 12.19 kB / 284 MB, free: 5.812 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.609e-05/0.01053, allocations: 27.89 kB / 284 MB, free: 5.785 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.185e-05/0.01054, allocations: 15.98 kB / 284.1 MB, free: 5.77 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.933e-05/0.01058, allocations: 54.17 kB / 284.1 MB, free: 5.715 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01058, allocations: 0 / 284.1 MB, free: 5.715 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002686/0.01085, allocations: 67.98 kB / 284.2 MB, free: 5.648 MB / 266.7 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 6.812e-05/0.01091, allocations: 92.36 kB / 284.3 MB, free: 5.547 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001614/0.01108, allocations: 169.7 kB / 284.4 MB, free: 5.379 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.01108, allocations: 0 / 284.4 MB, free: 5.379 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.02e-05/0.01115, allocations: 81.52 kB / 284.5 MB, free: 5.297 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003847/0.01153, allocations: 77.45 kB / 284.6 MB, free: 5.223 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006354/0.01217, allocations: 0.6266 MB / 285.2 MB, free: 4.539 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.255e-05/0.01223, allocations: 89.23 kB / 285.3 MB, free: 4.43 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.452e-05/0.01231, allocations: 34.97 kB / 285.3 MB, free: 4.395 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001155/0.01242, allocations: 115.3 kB / 285.4 MB, free: 4.281 MB / 266.7 MB Notification: Performance of SimCode: time 9.52e-07/0.01242, allocations: 0 / 285.4 MB, free: 4.281 MB / 266.7 MB Notification: Performance of Templates: time 0.004832/0.01726, allocations: 3.346 MB / 288.8 MB, free: 1 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9127147858962417]