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.0007432/0.0007432, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009673/0.001711, allocations: 449.7 kB / 10.37 MB, free: 328 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.0006797/0.0006797, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008687/0.001548, allocations: 455.6 kB / 11.71 MB, free: 2.461 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 0.9633/0.9633, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1226/1.086, allocations: 53.65 MB / 243.3 MB, free: 15.59 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 1.182e-06/1.182e-06, allocations: 0 / 244.5 MB, free: 14.34 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.503e-05/1.621e-05, allocations: 2.312 kB / 244.5 MB, free: 14.34 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.CompareBrakingForce): time 0.002356/0.002373, allocations: 2.404 MB / 246.9 MB, free: 11.91 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0011/0.003473, allocations: 0.7708 MB / 247.7 MB, free: 11.14 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001179/0.003591, allocations: 4 kB / 247.7 MB, free: 11.13 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 7.191e-05/0.003663, allocations: 39.59 kB / 247.7 MB, free: 11.09 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001947/0.003857, allocations: 95.14 kB / 247.8 MB, free: 11 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002534/0.004111, allocations: 115.7 kB / 247.9 MB, free: 10.89 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002628/0.004374, allocations: 314.5 kB / 248.2 MB, free: 10.58 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.004485, allocations: 58.75 kB / 248.3 MB, free: 10.52 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001957/0.00468, allocations: 188.3 kB / 248.5 MB, free: 10.34 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001173/0.004798, allocations: 95.69 kB / 248.6 MB, free: 10.25 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.789e-05/0.004826, allocations: 24 kB / 248.6 MB, free: 10.22 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.243e-05/0.004848, allocations: 20 kB / 248.6 MB, free: 10.2 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.974e-05/0.004878, allocations: 43.81 kB / 248.7 MB, free: 10.16 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.884e-05/0.004937, allocations: 67.88 kB / 248.7 MB, free: 10.09 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001733/0.00511, allocations: 179.2 kB / 248.9 MB, free: 9.918 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.46e-05/0.005124, allocations: 0 / 248.9 MB, free: 9.918 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.005125, allocations: 0 / 248.9 MB, free: 9.918 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.515e-05/0.00514, allocations: 0 / 248.9 MB, free: 9.918 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.0005947/0.005735, allocations: 0.5076 MB / 249.4 MB, free: 9.387 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.593e-05/0.005761, allocations: 8.031 kB / 249.4 MB, free: 9.379 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.169e-05/0.005813, allocations: 40.91 kB / 249.5 MB, free: 9.34 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001944/0.006007, allocations: 180.1 kB / 249.6 MB, free: 9.137 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.645e-05/0.006033, allocations: 16.88 kB / 249.6 MB, free: 9.121 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.28e-05/0.006066, allocations: 28.33 kB / 249.7 MB, free: 9.094 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002313/0.006298, allocations: 208.5 kB / 249.9 MB, free: 8.867 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.517e-05/0.006313, allocations: 3.984 kB / 249.9 MB, free: 8.863 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.365e-05/0.006326, allocations: 8 kB / 249.9 MB, free: 8.855 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.006334, allocations: 4 kB / 249.9 MB, free: 8.852 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.276e-05/0.006427, allocations: 75.5 kB / 250 MB, free: 8.781 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006182/0.007045, allocations: 0.7628 MB / 250.7 MB, free: 7.965 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000166/0.007211, allocations: 182.6 kB / 250.9 MB, free: 7.75 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.393e-05/0.007265, allocations: 67.36 kB / 251 MB, free: 7.672 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.773e-05/0.007283, allocations: 11.94 kB / 251 MB, free: 7.66 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.198e-05/0.007305, allocations: 34.56 kB / 251 MB, free: 7.617 MB / 250.7 MB Notification: Performance of pre-optimization done (n=28): time 1.252e-06/0.007306, allocations: 0 / 251 MB, free: 7.617 MB / 250.7 MB Notification: Performance of matching and sorting (n=32): time 0.0007934/0.008099, allocations: 0.7869 MB / 251.8 MB, free: 6.715 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.597e-05/0.008145, allocations: 132.5 kB / 251.9 MB, free: 6.555 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001027/0.008248, allocations: 198.2 kB / 252.1 MB, free: 6.348 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.403e-05/0.008262, allocations: 29.7 kB / 252.2 MB, free: 6.312 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.904e-05/0.008321, allocations: 144.7 kB / 252.3 MB, free: 6.164 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.262e-05/0.008383, allocations: 126.9 kB / 252.4 MB, free: 6.039 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.988e-05/0.008443, allocations: 70.17 kB / 252.5 MB, free: 5.965 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.634e-05/0.00852, allocations: 346.7 kB / 252.8 MB, free: 5.617 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.028e-05/0.00856, allocations: 36.98 kB / 252.9 MB, free: 5.582 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.236e-05/0.008642, allocations: 150.6 kB / 253 MB, free: 5.387 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001528/0.008795, allocations: 221.8 kB / 253.2 MB, free: 5.121 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.008797, allocations: 4 kB / 253.2 MB, free: 5.117 MB / 250.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0001868/0.008983, allocations: 217.2 kB / 253.4 MB, free: 4.898 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.008997, allocations: 6.812 kB / 253.4 MB, free: 4.895 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.009003, allocations: 4 kB / 253.5 MB, free: 4.891 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.009015, allocations: 8 kB / 253.5 MB, free: 4.883 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002443/0.009259, allocations: 122.2 kB / 253.6 MB, free: 4.77 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.009264, allocations: 8.25 kB / 253.6 MB, free: 4.762 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.079e-05/0.009335, allocations: 12 kB / 253.6 MB, free: 4.75 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.457e-05/0.009349, allocations: 19.92 kB / 253.6 MB, free: 4.73 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 8.482e-05/0.009434, allocations: 133.7 kB / 253.8 MB, free: 4.59 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.365e-05/0.009488, allocations: 23.98 kB / 253.8 MB, free: 4.566 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.561e-05/0.009523, allocations: 29.45 kB / 253.8 MB, free: 4.543 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.009527, allocations: 4 kB / 253.8 MB, free: 4.539 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.009531, allocations: 4 kB / 253.8 MB, free: 4.535 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.009535, allocations: 3.984 kB / 253.8 MB, free: 4.531 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005859/0.01012, allocations: 0.7019 MB / 254.5 MB, free: 3.777 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.01012, allocations: 256 / 254.5 MB, free: 3.777 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002054/0.01033, allocations: 99.81 kB / 254.6 MB, free: 3.68 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.831e-05/0.01036, allocations: 27.84 kB / 254.6 MB, free: 3.652 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.01036, allocations: 4 kB / 254.6 MB, free: 3.648 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.489e-05/0.01038, allocations: 16.23 kB / 254.7 MB, free: 3.633 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.01038, allocations: 11.94 kB / 254.7 MB, free: 3.621 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.01038, allocations: 4 kB / 254.7 MB, free: 3.617 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002916/0.01068, allocations: 0.5676 MB / 255.2 MB, free: 3 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.167e-05/0.0107, allocations: 8 kB / 255.3 MB, free: 2.992 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001234/0.01082, allocations: 11.98 kB / 255.3 MB, free: 2.98 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.994e-05/0.01086, allocations: 39.77 kB / 255.3 MB, free: 2.941 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.347e-06/0.01087, allocations: 12 kB / 255.3 MB, free: 2.93 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.146e-05/0.01091, allocations: 57.95 kB / 255.4 MB, free: 2.871 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01091, allocations: 4 kB / 255.4 MB, free: 2.867 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002552/0.01117, allocations: 64 kB / 255.4 MB, free: 2.805 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 8.059e-05/0.01125, allocations: 92.3 kB / 255.5 MB, free: 2.703 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002122/0.01146, allocations: 157.5 kB / 255.7 MB, free: 2.547 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.259e-05/0.01147, allocations: 4.5 kB / 255.7 MB, free: 2.543 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 7.842e-05/0.01155, allocations: 93.14 kB / 255.8 MB, free: 2.449 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003947/0.01195, allocations: 89.08 kB / 255.9 MB, free: 2.363 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009906/0.01294, allocations: 0.5882 MB / 256.5 MB, free: 1.715 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.437e-05/0.013, allocations: 93.23 kB / 256.5 MB, free: 1.605 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 8.05e-05/0.01308, allocations: 31.34 kB / 256.6 MB, free: 1.578 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001209/0.0132, allocations: 111.3 kB / 256.7 MB, free: 1.469 MB / 250.7 MB Notification: Performance of SimCode: time 7.11e-07/0.0132, allocations: 0 / 256.7 MB, free: 1.469 MB / 250.7 MB Notification: Performance of Templates: time 0.00508/0.01828, allocations: 3.624 MB / 260.3 MB, free: 13.93 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6837509190663695]