Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000755/0.000755, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001032/0.001787, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0006893/0.0006893, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001029/0.001718, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.029/1.029, allocations: 177.2 MB / 189.8 MB, free: 5.266 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08246/1.111, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_Modelica.Mechanics.Translational.Examples.CompareBrakingForce") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.745e-06/2.745e-06, allocations: 4 kB / 244.7 MB, free: 14.23 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.007e-05/2.281e-05, allocations: 2.312 kB / 244.7 MB, free: 14.23 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.CompareBrakingForce): time 0.00404/0.004063, allocations: 2.396 MB / 247.1 MB, free: 11.82 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001706/0.005769, allocations: 0.767 MB / 247.9 MB, free: 11.05 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002074/0.005977, allocations: 7.938 kB / 247.9 MB, free: 11.04 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001313/0.006108, allocations: 35.64 kB / 247.9 MB, free: 11 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003233/0.006431, allocations: 95.2 kB / 248 MB, free: 10.91 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003642/0.006795, allocations: 119.7 kB / 248.1 MB, free: 10.79 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003679/0.007163, allocations: 322.4 kB / 248.4 MB, free: 10.48 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001393/0.007303, allocations: 57.56 kB / 248.5 MB, free: 10.43 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002938/0.007596, allocations: 184.3 kB / 248.7 MB, free: 10.25 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001831/0.007779, allocations: 99.67 kB / 248.8 MB, free: 10.15 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.032e-05/0.00782, allocations: 28 kB / 248.8 MB, free: 10.12 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.983e-05/0.00786, allocations: 20 kB / 248.8 MB, free: 10.1 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.219e-05/0.007902, allocations: 35.88 kB / 248.9 MB, free: 10.07 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.639e-05/0.007988, allocations: 75.81 kB / 248.9 MB, free: 9.992 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002464/0.008235, allocations: 167.3 kB / 249.1 MB, free: 9.828 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.464e-05/0.008249, allocations: 4 kB / 249.1 MB, free: 9.824 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.008251, allocations: 4 kB / 249.1 MB, free: 9.82 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.111e-05/0.008262, allocations: 0 / 249.1 MB, free: 9.82 MB / 250.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.0007323/0.008994, allocations: 0.5037 MB / 249.6 MB, free: 9.289 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.328e-05/0.009027, allocations: 11.97 kB / 249.6 MB, free: 9.277 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.393e-05/0.009091, allocations: 32.91 kB / 249.6 MB, free: 9.246 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002412/0.009333, allocations: 186.7 kB / 249.8 MB, free: 9.035 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.694e-05/0.009359, allocations: 12.88 kB / 249.8 MB, free: 9.023 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.41e-05/0.009404, allocations: 32.31 kB / 249.9 MB, free: 8.992 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002993/0.009703, allocations: 204.5 kB / 250.1 MB, free: 8.773 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.048e-05/0.009723, allocations: 7.922 kB / 250.1 MB, free: 8.766 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.85e-05/0.009742, allocations: 12 kB / 250.1 MB, free: 8.754 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.687e-06/0.009751, allocations: 4 kB / 250.1 MB, free: 8.75 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001377/0.009888, allocations: 79.62 kB / 250.2 MB, free: 8.676 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007977/0.01069, allocations: 0.7628 MB / 250.9 MB, free: 7.863 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002266/0.01091, allocations: 182.6 kB / 251.1 MB, free: 7.648 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.853e-05/0.01098, allocations: 63.3 kB / 251.2 MB, free: 7.574 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.952e-05/0.011, allocations: 4 kB / 251.2 MB, free: 7.57 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.753e-05/0.01103, allocations: 38.56 kB / 251.2 MB, free: 7.523 MB / 250.7 MB Notification: Performance of pre-optimization done (n=28): time 1.332e-06/0.01103, allocations: 0 / 251.2 MB, free: 7.523 MB / 250.7 MB Notification: Performance of matching and sorting (n=32): time 0.00114/0.01217, allocations: 0.7908 MB / 252 MB, free: 6.617 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.678e-05/0.01222, allocations: 136.5 kB / 252.1 MB, free: 6.453 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/0.01232, allocations: 202.2 kB / 252.3 MB, free: 6.242 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.522e-05/0.01234, allocations: 29.7 kB / 252.4 MB, free: 6.207 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.762e-05/0.0124, allocations: 140.7 kB / 252.5 MB, free: 6.062 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.829e-05/0.01245, allocations: 134.8 kB / 252.6 MB, free: 5.93 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.874e-05/0.01251, allocations: 66.17 kB / 252.7 MB, free: 5.859 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.162e-05/0.0126, allocations: 346.7 kB / 253 MB, free: 5.512 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.333e-05/0.01264, allocations: 32.98 kB / 253.1 MB, free: 5.48 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.587e-05/0.01272, allocations: 146.7 kB / 253.2 MB, free: 5.285 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001602/0.01288, allocations: 229.7 kB / 253.4 MB, free: 5.012 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.01289, allocations: 4 kB / 253.4 MB, free: 5.008 MB / 250.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0001999/0.01309, allocations: 209.2 kB / 253.6 MB, free: 4.797 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.0131, allocations: 8 kB / 253.7 MB, free: 4.789 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/0.01311, allocations: 4 kB / 253.7 MB, free: 4.785 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.01312, allocations: 4 kB / 253.7 MB, free: 4.781 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002503/0.01337, allocations: 115.8 kB / 253.8 MB, free: 4.668 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.01338, allocations: 12.23 kB / 253.8 MB, free: 4.656 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.581e-05/0.01346, allocations: 16 kB / 253.8 MB, free: 4.641 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.638e-05/0.01347, allocations: 19.88 kB / 253.8 MB, free: 4.621 MB / 250.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 9.071e-05/0.01356, allocations: 129.7 kB / 253.9 MB, free: 4.484 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.146e-05/0.01362, allocations: 27.97 kB / 254 MB, free: 4.457 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.155e-05/0.01367, allocations: 33.47 kB / 254 MB, free: 4.43 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.01367, allocations: 7.984 kB / 254 MB, free: 4.422 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.01367, allocations: 0 / 254 MB, free: 4.422 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.01368, allocations: 0 / 254 MB, free: 4.422 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006124/0.01429, allocations: 0.7097 MB / 254.7 MB, free: 3.66 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.0143, allocations: 4 kB / 254.7 MB, free: 3.656 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002084/0.0145, allocations: 95.83 kB / 254.8 MB, free: 3.562 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.12e-05/0.01453, allocations: 23.84 kB / 254.8 MB, free: 3.539 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.01454, allocations: 4 kB / 254.9 MB, free: 3.535 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.461e-05/0.01455, allocations: 12.25 kB / 254.9 MB, free: 3.523 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.01456, allocations: 11.94 kB / 254.9 MB, free: 3.512 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.01456, allocations: 4 kB / 254.9 MB, free: 3.508 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000321/0.01488, allocations: 0.5676 MB / 255.4 MB, free: 2.891 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.476e-05/0.01491, allocations: 8 kB / 255.5 MB, free: 2.883 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001326/0.01504, allocations: 15.98 kB / 255.5 MB, free: 2.867 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.031e-05/0.01509, allocations: 35.83 kB / 255.5 MB, free: 2.832 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.528e-06/0.0151, allocations: 7.984 kB / 255.5 MB, free: 2.824 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.976e-05/0.01515, allocations: 61.95 kB / 255.6 MB, free: 2.762 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01515, allocations: 4 kB / 255.6 MB, free: 2.758 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002795/0.01543, allocations: 64 kB / 255.6 MB, free: 2.695 MB / 250.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 0.000117/0.01554, allocations: 92.3 kB / 255.7 MB, free: 2.594 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001844/0.01573, allocations: 170.2 kB / 255.9 MB, free: 2.426 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.251e-05/0.01574, allocations: 8.75 kB / 255.9 MB, free: 2.418 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 9.878e-05/0.01584, allocations: 109.4 kB / 256 MB, free: 2.309 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005546/0.01639, allocations: 0.5948 MB / 256.6 MB, free: 1.598 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001042/0.01744, allocations: 0.5801 MB / 257.2 MB, free: 0.957 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.268e-05/0.01751, allocations: 93.23 kB / 257.3 MB, free: 0.8438 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 8.99e-05/0.0176, allocations: 43.44 kB / 257.3 MB, free: 0.8047 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001312/0.01773, allocations: 111.3 kB / 257.4 MB, free: 0.6953 MB / 250.7 MB Notification: Performance of SimCode: time 8.31e-07/0.01773, allocations: 0 / 257.4 MB, free: 0.6953 MB / 250.7 MB Notification: Performance of Templates: time 0.005323/0.02305, allocations: 3.543 MB / 261 MB, free: 13.25 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.sim & ./Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.CompareBrakingForce -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6945735653862357]