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.0009656/0.0009656, allocations: 84.25 kB / 22.21 MB, free: 2.285 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.001193/0.001193, allocations: 166.3 kB / 25.61 MB, free: 8.441 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 1.025/1.025, allocations: 177 MB / 205.9 MB, free: 4.441 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 4.658e-06/4.658e-06, allocations: 0 / 274.1 MB, free: 4.289 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.704e-05/2.17e-05, allocations: 3.844 kB / 274.1 MB, free: 4.285 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.CompareBrakingForce): time 0.00268/0.002702, allocations: 2.345 MB / 276.4 MB, free: 1.938 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001117/0.003819, allocations: 0.7523 MB / 277.2 MB, free: 1.184 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001226/0.003941, allocations: 8.438 kB / 277.2 MB, free: 1.176 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001321/0.004074, allocations: 36.25 kB / 277.2 MB, free: 1.141 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002392/0.004313, allocations: 93.67 kB / 277.3 MB, free: 1.051 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002859/0.004599, allocations: 119.6 kB / 277.5 MB, free: 0.9336 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002863/0.004885, allocations: 314.5 kB / 277.8 MB, free: 0.625 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001215/0.005006, allocations: 48.91 kB / 277.8 MB, free: 0.5742 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001542/0.005161, allocations: 171.6 kB / 278 MB, free: 416 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001202/0.005281, allocations: 99.62 kB / 278.1 MB, free: 316 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.907e-05/0.00531, allocations: 24 kB / 278.1 MB, free: 292 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.471e-05/0.005335, allocations: 20 kB / 278.1 MB, free: 272 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.717e-05/0.005372, allocations: 51.81 kB / 278.2 MB, free: 220 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.348e-05/0.005435, allocations: 87.75 kB / 278.2 MB, free: 132 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001965/0.005632, allocations: 195.4 kB / 278.4 MB, free: 15.93 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.005634, allocations: 0 / 278.4 MB, free: 15.93 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.005635, allocations: 0 / 278.4 MB, free: 15.93 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.608e-06/0.005639, allocations: 4 kB / 278.4 MB, free: 15.93 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.0005742/0.006213, allocations: 0.5778 MB / 279 MB, free: 15.32 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.012e-05/0.006244, allocations: 8.031 kB / 279 MB, free: 15.31 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.88e-05/0.006302, allocations: 44.75 kB / 279.1 MB, free: 15.27 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004498/0.006752, allocations: 205 kB / 279.3 MB, free: 15.04 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.12e-05/0.006773, allocations: 12.88 kB / 279.3 MB, free: 15.02 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.238e-05/0.006806, allocations: 24.38 kB / 279.3 MB, free: 15 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002341/0.00704, allocations: 216 kB / 279.5 MB, free: 14.77 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.467e-05/0.007054, allocations: 4.141 kB / 279.5 MB, free: 14.76 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.591e-05/0.00707, allocations: 12.38 kB / 279.5 MB, free: 14.75 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.847e-06/0.007079, allocations: 7.938 kB / 279.5 MB, free: 14.74 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001013/0.00718, allocations: 83.22 kB / 279.6 MB, free: 14.66 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007234/0.007904, allocations: 1.029 MB / 280.7 MB, free: 13.57 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002044/0.008108, allocations: 224.4 kB / 280.9 MB, free: 13.3 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.023e-05/0.008169, allocations: 71.03 kB / 280.9 MB, free: 13.21 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.496e-05/0.008183, allocations: 4 kB / 280.9 MB, free: 13.21 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.348e-05/0.008207, allocations: 49.25 kB / 281 MB, free: 13.15 MB / 266.7 MB Notification: Performance of pre-optimization done (n=28): time 1.233e-06/0.008208, allocations: 0 / 281 MB, free: 13.15 MB / 266.7 MB Notification: Performance of matching and sorting (n=32): time 0.0007792/0.008987, allocations: 0.8203 MB / 281.8 MB, free: 12.2 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.705e-05/0.009034, allocations: 136.5 kB / 281.9 MB, free: 12.04 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001236/0.009158, allocations: 253.4 kB / 282.2 MB, free: 11.77 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.755e-05/0.009176, allocations: 37.69 kB / 282.2 MB, free: 11.73 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.72e-05/0.009253, allocations: 199.4 kB / 282.4 MB, free: 11.53 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.594e-05/0.009319, allocations: 130.9 kB / 282.6 MB, free: 11.4 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.717e-05/0.009386, allocations: 71.83 kB / 282.6 MB, free: 11.32 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001155/0.009501, allocations: 0.5079 MB / 283.1 MB, free: 10.8 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.891e-05/0.00955, allocations: 36.95 kB / 283.2 MB, free: 10.77 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001104/0.009661, allocations: 191.9 kB / 283.4 MB, free: 10.51 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001848/0.009846, allocations: 274.7 kB / 283.6 MB, free: 10.18 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.009847, allocations: 0 / 283.6 MB, free: 10.18 MB / 266.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0002559/0.0101, allocations: 273.1 kB / 283.9 MB, free: 9.902 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.01012, allocations: 11.98 kB / 283.9 MB, free: 9.891 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.01012, allocations: 8 kB / 283.9 MB, free: 9.883 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.01013, allocations: 4 kB / 283.9 MB, free: 9.879 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001964/0.01033, allocations: 87.91 kB / 284 MB, free: 9.793 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.236e-06/0.01034, allocations: 15.92 kB / 284 MB, free: 9.777 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.149e-05/0.01042, allocations: 16 kB / 284 MB, free: 9.762 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.389e-05/0.01043, allocations: 8 kB / 284 MB, free: 9.754 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 8.589e-05/0.01052, allocations: 180.8 kB / 284.2 MB, free: 9.566 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.11e-05/0.01059, allocations: 35.8 kB / 284.3 MB, free: 9.531 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.087e-05/0.01063, allocations: 37.45 kB / 284.3 MB, free: 9.492 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/0.01064, allocations: 4 kB / 284.3 MB, free: 9.488 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.01064, allocations: 0 / 284.3 MB, free: 9.488 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.768e-06/0.01064, allocations: 7.922 kB / 284.3 MB, free: 9.48 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007402/0.01138, allocations: 0.9731 MB / 285.3 MB, free: 8.438 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.01139, allocations: 4 kB / 285.3 MB, free: 8.434 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001958/0.01158, allocations: 79.89 kB / 285.4 MB, free: 8.355 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.01159, allocations: 4 kB / 285.4 MB, free: 8.352 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.515e-05/0.0116, allocations: 8 kB / 285.4 MB, free: 8.344 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.01161, allocations: 4 kB / 285.4 MB, free: 8.34 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.01161, allocations: 4 kB / 285.4 MB, free: 8.336 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000726/0.01234, allocations: 0.828 MB / 286.2 MB, free: 7.445 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.499e-05/0.01236, allocations: 20.05 kB / 286.2 MB, free: 7.426 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.468e-05/0.01239, allocations: 15.94 kB / 286.2 MB, free: 7.41 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001449/0.01253, allocations: 23.91 kB / 286.3 MB, free: 7.387 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.414e-05/0.01257, allocations: 31.89 kB / 286.3 MB, free: 7.355 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.31e-05/0.01259, allocations: 12 kB / 286.3 MB, free: 7.344 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.804e-05/0.01266, allocations: 168.5 kB / 286.5 MB, free: 7.18 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01266, allocations: 0 / 286.5 MB, free: 7.18 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003156/0.01297, allocations: 64 kB / 286.5 MB, free: 7.117 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 8.861e-05/0.01306, allocations: 115.1 kB / 286.6 MB, free: 6.996 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001945/0.01325, allocations: 168.3 kB / 286.8 MB, free: 6.828 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.01326, allocations: 0 / 286.8 MB, free: 6.828 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.71e-05/0.01334, allocations: 96.42 kB / 286.9 MB, free: 6.73 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004704/0.01381, allocations: 70.61 kB / 287 MB, free: 6.664 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008002/0.01461, allocations: 0.7988 MB / 287.8 MB, free: 5.797 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.447e-05/0.01468, allocations: 93.23 kB / 287.9 MB, free: 5.684 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.116e-05/0.01477, allocations: 38.94 kB / 287.9 MB, free: 5.645 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001295/0.0149, allocations: 126.2 kB / 288 MB, free: 5.52 MB / 266.7 MB Notification: Performance of SimCode: time 7.21e-07/0.0149, allocations: 0 / 288 MB, free: 5.52 MB / 266.7 MB Notification: Performance of Templates: time 0.00544/0.02034, allocations: 3.42 MB / 291.4 MB, free: 2.164 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: 3.08443068806082]