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.001089/0.001089, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001446/0.002535, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0007359/0.0007359, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009311/0.001667, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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.9265/0.9265, allocations: 177.4 MB / 189.9 MB, free: 4.832 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08176/1.008, allocations: 53.86 MB / 243.7 MB, free: 14.91 MB / 250.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.804e-06/1.804e-06, allocations: 0 / 245 MB, free: 13.66 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.303e-05/1.483e-05, allocations: 6.25 kB / 245 MB, free: 13.65 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.CompareBrakingForce): time 0.00258/0.002595, allocations: 2.392 MB / 247.4 MB, free: 11.25 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008053/0.0034, allocations: 0.7671 MB / 248.2 MB, free: 10.47 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.71e-05/0.003487, allocations: 7.938 kB / 248.2 MB, free: 10.46 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 6.343e-05/0.003551, allocations: 39.53 kB / 248.2 MB, free: 10.43 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001446/0.003695, allocations: 99.19 kB / 248.3 MB, free: 10.33 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001936/0.003889, allocations: 115.7 kB / 248.4 MB, free: 10.21 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004486/0.004337, allocations: 310.5 kB / 248.7 MB, free: 9.91 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.004444, allocations: 58.8 kB / 248.8 MB, free: 9.855 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001576/0.004602, allocations: 192.2 kB / 249 MB, free: 9.668 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001145/0.004716, allocations: 91.7 kB / 249.1 MB, free: 9.578 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.606e-05/0.004742, allocations: 24 kB / 249.1 MB, free: 9.555 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.309e-05/0.004765, allocations: 20 kB / 249.1 MB, free: 9.535 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.262e-05/0.004798, allocations: 39.81 kB / 249.1 MB, free: 9.496 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.799e-05/0.004856, allocations: 71.88 kB / 249.2 MB, free: 9.426 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001624/0.005018, allocations: 179.2 kB / 249.4 MB, free: 9.25 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.3e-05/0.005031, allocations: 0 / 249.4 MB, free: 9.25 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.005032, allocations: 0 / 249.4 MB, free: 9.25 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.54e-05/0.005047, allocations: 0 / 249.4 MB, free: 9.25 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.0005587/0.005606, allocations: 0.5037 MB / 249.9 MB, free: 8.723 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.728e-05/0.005633, allocations: 16.03 kB / 249.9 MB, free: 8.707 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.332e-05/0.005676, allocations: 32.91 kB / 249.9 MB, free: 8.676 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001753/0.005852, allocations: 186.1 kB / 250.1 MB, free: 8.465 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.216e-05/0.005874, allocations: 12.88 kB / 250.1 MB, free: 8.453 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.606e-05/0.0059, allocations: 24.33 kB / 250.2 MB, free: 8.43 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001969/0.006097, allocations: 208.5 kB / 250.4 MB, free: 8.203 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.006108, allocations: 0 / 250.4 MB, free: 8.203 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.434e-05/0.006122, allocations: 12 kB / 250.4 MB, free: 8.191 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.7e-06/0.006128, allocations: 4 kB / 250.4 MB, free: 8.188 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.888e-05/0.006217, allocations: 79.88 kB / 250.5 MB, free: 8.109 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005571/0.006774, allocations: 0.7627 MB / 251.2 MB, free: 7.293 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001542/0.006928, allocations: 182.6 kB / 251.4 MB, free: 7.078 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.705e-05/0.006975, allocations: 55.36 kB / 251.5 MB, free: 7.012 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.49e-05/0.00699, allocations: 7.938 kB / 251.5 MB, free: 7.004 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.262e-05/0.007013, allocations: 50.48 kB / 251.5 MB, free: 6.945 MB / 250.7 MB Notification: Performance of pre-optimization done (n=28): time 1.263e-06/0.007014, allocations: 0 / 251.5 MB, free: 6.945 MB / 250.7 MB Notification: Performance of matching and sorting (n=32): time 0.0007492/0.007763, allocations: 0.7784 MB / 252.3 MB, free: 6.051 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.458e-05/0.007808, allocations: 140.5 kB / 252.4 MB, free: 5.883 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.641e-05/0.007904, allocations: 198.2 kB / 252.6 MB, free: 5.676 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.394e-05/0.007918, allocations: 29.7 kB / 252.6 MB, free: 5.641 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.258e-05/0.007971, allocations: 140.7 kB / 252.8 MB, free: 5.496 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.591e-05/0.008027, allocations: 130.9 kB / 252.9 MB, free: 5.367 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.305e-05/0.00808, allocations: 70.12 kB / 253 MB, free: 5.293 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.433e-05/0.008154, allocations: 350.7 kB / 253.3 MB, free: 4.941 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.655e-05/0.008191, allocations: 32.97 kB / 253.4 MB, free: 4.91 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.009e-05/0.008271, allocations: 150.1 kB / 253.5 MB, free: 4.719 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001448/0.008416, allocations: 226.5 kB / 253.7 MB, free: 4.449 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.008417, allocations: 0 / 253.7 MB, free: 4.449 MB / 250.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0001762/0.008593, allocations: 217.3 kB / 253.9 MB, free: 4.23 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.008605, allocations: 8 kB / 253.9 MB, free: 4.223 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.00861, allocations: 4 kB / 253.9 MB, free: 4.219 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.947e-06/0.008619, allocations: 4 kB / 254 MB, free: 4.215 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002359/0.008855, allocations: 119.1 kB / 254.1 MB, free: 4.102 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.00886, allocations: 4 kB / 254.1 MB, free: 4.098 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.095e-05/0.008931, allocations: 19.98 kB / 254.1 MB, free: 4.078 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.267e-05/0.008944, allocations: 15.94 kB / 254.1 MB, free: 4.062 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 6.513e-05/0.009009, allocations: 133.8 kB / 254.2 MB, free: 3.922 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.005e-05/0.009059, allocations: 27.97 kB / 254.3 MB, free: 3.895 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.397e-05/0.009093, allocations: 33.47 kB / 254.3 MB, free: 3.867 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.009095, allocations: 4 kB / 254.3 MB, free: 3.863 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.833e-06/0.009097, allocations: 0 / 254.3 MB, free: 3.863 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.329e-06/0.009101, allocations: 3.984 kB / 254.3 MB, free: 3.859 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005525/0.009654, allocations: 0.6943 MB / 255 MB, free: 3.113 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.009657, allocations: 4 kB / 255 MB, free: 3.109 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001978/0.009855, allocations: 100.1 kB / 255.1 MB, free: 3.012 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.079e-05/0.009876, allocations: 23.84 kB / 255.1 MB, free: 2.988 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.00988, allocations: 8 kB / 255.1 MB, free: 2.98 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.394e-05/0.009894, allocations: 15.98 kB / 255.1 MB, free: 2.965 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.009898, allocations: 11.88 kB / 255.2 MB, free: 2.953 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.009899, allocations: 0 / 255.2 MB, free: 2.953 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005262/0.01043, allocations: 0.5753 MB / 255.7 MB, free: 2.328 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.136e-05/0.01045, allocations: 8 kB / 255.7 MB, free: 2.32 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001258/0.01057, allocations: 12 kB / 255.8 MB, free: 2.309 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.646e-05/0.01061, allocations: 27.89 kB / 255.8 MB, free: 2.281 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.128e-05/0.01062, allocations: 12.19 kB / 255.8 MB, free: 2.27 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.898e-05/0.01066, allocations: 61.89 kB / 255.9 MB, free: 2.207 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01066, allocations: 0 / 255.9 MB, free: 2.207 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002429/0.0109, allocations: 64 kB / 255.9 MB, free: 2.145 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 7.416e-05/0.01098, allocations: 96.3 kB / 256 MB, free: 2.039 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001551/0.01113, allocations: 170.6 kB / 256.2 MB, free: 1.871 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 9.278e-06/0.01114, allocations: 8 kB / 256.2 MB, free: 1.863 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 6.51e-05/0.01121, allocations: 81.62 kB / 256.3 MB, free: 1.781 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003698/0.01158, allocations: 95.97 kB / 256.4 MB, free: 1.691 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009729/0.01255, allocations: 0.5799 MB / 256.9 MB, free: 1.051 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.585e-05/0.01261, allocations: 93.23 kB / 257 MB, free: 0.9414 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 7.476e-05/0.01269, allocations: 34.97 kB / 257.1 MB, free: 0.9102 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001184/0.01281, allocations: 119.3 kB / 257.2 MB, free: 0.793 MB / 250.7 MB Notification: Performance of SimCode: time 6.01e-07/0.01281, allocations: 0 / 257.2 MB, free: 0.793 MB / 250.7 MB Notification: Performance of Templates: time 0.004868/0.01768, allocations: 3.623 MB / 260.8 MB, free: 13.23 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 -ignoreHideResult -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.626979907043278]