Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001363/0.001363, 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.001469/0.001469, 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 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.537/1.537, allocations: 230.6 MB / 258.3 MB, free: 8.043 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.CompareBrakingForce") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002006/0.002006, allocations: 68.77 kB / 379 MB, free: 2.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2534/0.2554, allocations: 53.37 MB / 432.4 MB, free: 6.957 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.CompareBrakingForce): time 0.003538/0.2589, allocations: 2.381 MB / 434.8 MB, free: 4.57 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001356/0.2603, allocations: 0.7712 MB / 435.6 MB, free: 3.793 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001157/0.2604, allocations: 7.938 kB / 435.6 MB, free: 3.785 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001334/0.2605, allocations: 35.58 kB / 435.6 MB, free: 3.75 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002454/0.2608, allocations: 91.33 kB / 435.7 MB, free: 3.66 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003208/0.2611, allocations: 123.7 kB / 435.8 MB, free: 3.539 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003772/0.2615, allocations: 302.6 kB / 436.1 MB, free: 3.242 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000142/0.2616, allocations: 48.89 kB / 436.2 MB, free: 3.191 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001482/0.2618, allocations: 115.6 kB / 436.3 MB, free: 3.078 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001888/0.2619, allocations: 131.4 kB / 436.4 MB, free: 2.949 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.695e-05/0.262, allocations: 20 kB / 436.4 MB, free: 2.93 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.862e-05/0.262, allocations: 20 kB / 436.4 MB, free: 2.91 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.744e-05/0.2621, allocations: 59.75 kB / 436.5 MB, free: 2.852 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001252/0.2622, allocations: 131.3 kB / 436.6 MB, free: 2.723 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003204/0.2625, allocations: 280.4 kB / 436.9 MB, free: 2.453 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.2625, allocations: 0 / 436.9 MB, free: 2.453 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2625, allocations: 0 / 436.9 MB, free: 2.453 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.643e-06/0.2625, allocations: 0 / 436.9 MB, free: 2.453 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.0009133/0.2634, allocations: 489.4 kB / 437.4 MB, free: 1.945 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.245e-05/0.2635, allocations: 8.031 kB / 437.4 MB, free: 1.938 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.552e-05/0.2635, allocations: 32.75 kB / 437.4 MB, free: 1.906 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003275/0.2639, allocations: 195.8 kB / 437.6 MB, free: 1.688 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.363e-05/0.2639, allocations: 20.81 kB / 437.6 MB, free: 1.668 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.599e-05/0.2639, allocations: 24.38 kB / 437.6 MB, free: 1.645 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004538/0.2644, allocations: 242.9 kB / 437.9 MB, free: 1.391 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.017e-05/0.2644, allocations: 7.953 kB / 437.9 MB, free: 1.383 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.275e-05/0.2644, allocations: 8 kB / 437.9 MB, free: 1.375 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.273e-06/0.2644, allocations: 8 kB / 437.9 MB, free: 1.367 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003995/0.2648, allocations: 159.8 kB / 438.1 MB, free: 1.211 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001355/0.2662, allocations: 0.9726 MB / 439 MB, free: 164 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005867/0.2668, allocations: 286.4 kB / 439.3 MB, free: 15.84 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001879/0.267, allocations: 95.39 kB / 439.4 MB, free: 15.74 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.891e-05/0.267, allocations: 4 kB / 439.4 MB, free: 15.73 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.371e-05/0.267, allocations: 42.5 kB / 439.5 MB, free: 15.68 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 1.693e-06/0.267, allocations: 0 / 439.5 MB, free: 15.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.001952/0.269, allocations: 1.039 MB / 440.5 MB, free: 14.53 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.626e-05/0.2691, allocations: 132.5 kB / 440.6 MB, free: 14.37 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002152/0.2693, allocations: 206.8 kB / 440.8 MB, free: 14.16 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.624e-05/0.2693, allocations: 29.7 kB / 440.9 MB, free: 14.12 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001148/0.2694, allocations: 164.6 kB / 441 MB, free: 13.95 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001018/0.2695, allocations: 126.9 kB / 441.1 MB, free: 13.83 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001174/0.2697, allocations: 70.14 kB / 441.2 MB, free: 13.75 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001541/0.2698, allocations: 342.8 kB / 441.5 MB, free: 13.41 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000204/0.27, allocations: 80.83 kB / 441.6 MB, free: 13.33 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002924/0.2703, allocations: 194.1 kB / 441.8 MB, free: 13.09 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005136/0.2708, allocations: 306.5 kB / 442.1 MB, free: 12.74 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.2708, allocations: 0 / 442.1 MB, free: 12.74 MB / 350.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006705/0.2715, allocations: 345 kB / 442.4 MB, free: 12.4 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.2715, allocations: 6.75 kB / 442.5 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/0.2715, allocations: 8 kB / 442.5 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/0.2715, allocations: 8 kB / 442.5 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003695/0.2719, allocations: 99.77 kB / 442.6 MB, free: 12.28 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/0.2719, allocations: 4 kB / 442.6 MB, free: 12.28 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001638/0.2721, allocations: 15.94 kB / 442.6 MB, free: 12.26 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.634e-05/0.2721, allocations: 16 kB / 442.6 MB, free: 12.25 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.0001473/0.2723, allocations: 153.6 kB / 442.7 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001042/0.2724, allocations: 27.86 kB / 442.8 MB, free: 12.06 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.535e-05/0.2724, allocations: 33.41 kB / 442.8 MB, free: 12.03 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.2724, allocations: 4 kB / 442.8 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.2724, allocations: 0 / 442.8 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.224e-05/0.2724, allocations: 11.92 kB / 442.8 MB, free: 12.01 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001508/0.274, allocations: 0.9276 MB / 443.8 MB, free: 11.01 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.187e-06/0.274, allocations: 4 kB / 443.8 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003768/0.2743, allocations: 79.89 kB / 443.8 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.412e-06/0.2743, allocations: 4 kB / 443.8 MB, free: 10.92 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.265e-05/0.2744, allocations: 16.25 kB / 443.9 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.22e-06/0.2744, allocations: 8 kB / 443.9 MB, free: 10.9 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.444e-06/0.2744, allocations: 11.92 kB / 443.9 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008427/0.2752, allocations: 0.6964 MB / 444.6 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.132e-05/0.2753, allocations: 23.84 kB / 444.6 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.729e-05/0.2753, allocations: 8 kB / 444.6 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003025/0.2756, allocations: 19.98 kB / 444.6 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.951e-05/0.2757, allocations: 27.84 kB / 444.6 MB, free: 10.06 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.411e-05/0.2757, allocations: 19.98 kB / 444.7 MB, free: 10.04 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001357/0.2758, allocations: 140.6 kB / 444.8 MB, free: 9.906 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2758, allocations: 0 / 444.8 MB, free: 9.906 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004774/0.2763, allocations: 64 kB / 444.9 MB, free: 9.844 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.0001259/0.2764, allocations: 120.1 kB / 445 MB, free: 9.715 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005269/0.277, allocations: 232.3 kB / 445.2 MB, free: 9.488 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.277, allocations: 0 / 445.2 MB, free: 9.488 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002491/0.2772, allocations: 120.7 kB / 445.3 MB, free: 9.371 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007223/0.2779, allocations: 67.28 kB / 445.4 MB, free: 9.309 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001633/0.2796, allocations: 0.956 MB / 446.4 MB, free: 8.297 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004219/0.28, allocations: 0.7682 MB / 447.1 MB, free: 7.5 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001275/0.2801, allocations: 34.95 kB / 447.2 MB, free: 7.465 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.48e-05/0.2802, allocations: 27.44 kB / 447.2 MB, free: 7.438 MB / 350.1 MB Notification: Performance of SimCode: time 5.81e-07/0.2802, allocations: 0 / 447.2 MB, free: 7.438 MB / 350.1 MB Notification: Performance of Templates: time 0.00738/0.2876, allocations: 3.196 MB / 450.4 MB, free: 4.258 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.CompareBrakingForce -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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_4.1.0-beta.om_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.822603275999427]