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.0009925/0.0009925, allocations: 80.92 kB / 21.49 MB, free: 2.996 MB / 18.57 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.00118/0.00118, allocations: 170.6 kB / 24.91 MB, free: 8.723 MB / 18.57 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.9239/0.9239, allocations: 177.1 MB / 205.3 MB, free: 5.109 MB / 186.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.282e-06/1.282e-06, allocations: 0 / 273.5 MB, free: 1.145 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.152e-05/1.28e-05, allocations: 2.312 kB / 273.5 MB, free: 1.141 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.CompareBrakingForce): time 0.002254/0.002267, allocations: 2.387 MB / 275.9 MB, free: 14.74 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001001/0.003267, allocations: 0.7554 MB / 276.6 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.826e-05/0.003356, allocations: 7.938 kB / 276.6 MB, free: 13.97 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001133/0.003469, allocations: 51.52 kB / 276.7 MB, free: 13.92 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002066/0.003675, allocations: 91.2 kB / 276.8 MB, free: 13.83 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002157/0.003891, allocations: 115.6 kB / 276.9 MB, free: 13.72 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002362/0.004127, allocations: 318.5 kB / 277.2 MB, free: 13.41 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.968e-05/0.004227, allocations: 42.88 kB / 277.2 MB, free: 13.37 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001424/0.004369, allocations: 175.5 kB / 277.4 MB, free: 13.2 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001185/0.004488, allocations: 103.7 kB / 277.5 MB, free: 13.09 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.523e-05/0.004513, allocations: 20 kB / 277.5 MB, free: 13.07 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.297e-05/0.004536, allocations: 20 kB / 277.6 MB, free: 13.05 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.354e-05/0.00458, allocations: 51.77 kB / 277.6 MB, free: 13 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.247e-05/0.004642, allocations: 91.75 kB / 277.7 MB, free: 12.91 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001715/0.004814, allocations: 183.3 kB / 277.9 MB, free: 12.73 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.773e-06/0.004815, allocations: 0 / 277.9 MB, free: 12.73 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.004816, allocations: 0 / 277.9 MB, free: 12.73 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.386e-06/0.004819, allocations: 3.938 kB / 277.9 MB, free: 12.73 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.0005227/0.005342, allocations: 468 kB / 278.3 MB, free: 12.25 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.028e-05/0.005372, allocations: 12.03 kB / 278.3 MB, free: 12.24 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001248/0.005497, allocations: 36.91 kB / 278.4 MB, free: 12.2 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001915/0.005689, allocations: 186.1 kB / 278.6 MB, free: 11.99 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.805e-05/0.005707, allocations: 12.88 kB / 278.6 MB, free: 11.98 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.112e-05/0.005738, allocations: 32.27 kB / 278.6 MB, free: 11.95 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002013/0.005939, allocations: 204.7 kB / 278.8 MB, free: 11.73 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.005951, allocations: 4.172 kB / 278.8 MB, free: 11.72 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.005965, allocations: 12.38 kB / 278.8 MB, free: 11.71 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.005971, allocations: 7.938 kB / 278.8 MB, free: 11.7 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.929e-05/0.00606, allocations: 75.64 kB / 278.9 MB, free: 11.63 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005967/0.006657, allocations: 0.7666 MB / 279.7 MB, free: 10.81 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000164/0.006821, allocations: 182.5 kB / 279.9 MB, free: 10.6 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.722e-05/0.006868, allocations: 51.73 kB / 279.9 MB, free: 10.54 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.623e-05/0.006885, allocations: 7.984 kB / 279.9 MB, free: 10.53 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.211e-05/0.006907, allocations: 42.5 kB / 280 MB, free: 10.48 MB / 266.7 MB Notification: Performance of pre-optimization done (n=28): time 1.333e-06/0.006908, allocations: 0 / 280 MB, free: 10.48 MB / 266.7 MB Notification: Performance of matching and sorting (n=32): time 0.0007894/0.007697, allocations: 0.7908 MB / 280.7 MB, free: 9.57 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.72e-05/0.007745, allocations: 132.5 kB / 280.9 MB, free: 9.41 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001163/0.007861, allocations: 206.1 kB / 281.1 MB, free: 9.195 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.371e-05/0.007875, allocations: 29.7 kB / 281.1 MB, free: 9.16 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.693e-05/0.007932, allocations: 144.7 kB / 281.2 MB, free: 9.016 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.927e-05/0.007991, allocations: 122.9 kB / 281.4 MB, free: 8.895 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.263e-05/0.008053, allocations: 78.11 kB / 281.4 MB, free: 8.812 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.815e-05/0.008132, allocations: 334.8 kB / 281.8 MB, free: 8.477 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.081e-05/0.008172, allocations: 32.98 kB / 281.8 MB, free: 8.445 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.327e-05/0.008266, allocations: 154.6 kB / 281.9 MB, free: 8.246 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001537/0.008419, allocations: 225.6 kB / 282.2 MB, free: 7.977 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.008421, allocations: 0 / 282.2 MB, free: 7.977 MB / 266.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0002025/0.008624, allocations: 217.1 kB / 282.4 MB, free: 7.758 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/0.008635, allocations: 8 kB / 282.4 MB, free: 7.75 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.008641, allocations: 4 kB / 282.4 MB, free: 7.746 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.008652, allocations: 4 kB / 282.4 MB, free: 7.742 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002194/0.008872, allocations: 112.1 kB / 282.5 MB, free: 7.633 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/0.008879, allocations: 11.94 kB / 282.5 MB, free: 7.621 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.037e-05/0.008949, allocations: 12 kB / 282.5 MB, free: 7.609 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.432e-05/0.008964, allocations: 12.31 kB / 282.5 MB, free: 7.598 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 7.097e-05/0.009035, allocations: 137.6 kB / 282.7 MB, free: 7.453 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.984e-05/0.009094, allocations: 31.97 kB / 282.7 MB, free: 7.422 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.418e-05/0.009129, allocations: 37.45 kB / 282.7 MB, free: 7.383 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.009132, allocations: 4 kB / 282.7 MB, free: 7.379 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/0.009135, allocations: 0 / 282.7 MB, free: 7.379 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.009139, allocations: 8 kB / 282.8 MB, free: 7.371 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005761/0.009715, allocations: 0.6943 MB / 283.4 MB, free: 6.625 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.009718, allocations: 4 kB / 283.5 MB, free: 6.621 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002036/0.009922, allocations: 91.88 kB / 283.5 MB, free: 6.531 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.838e-06/0.009926, allocations: 4 kB / 283.5 MB, free: 6.527 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.589e-05/0.009941, allocations: 24.17 kB / 283.6 MB, free: 6.504 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.009944, allocations: 4 kB / 283.6 MB, free: 6.5 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.009947, allocations: 3.938 kB / 283.6 MB, free: 6.496 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002976/0.01024, allocations: 0.5713 MB / 284.1 MB, free: 5.875 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.279e-05/0.01027, allocations: 23.8 kB / 284.2 MB, free: 5.852 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.083e-05/0.01029, allocations: 12 kB / 284.2 MB, free: 5.84 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001301/0.01042, allocations: 8.25 kB / 284.2 MB, free: 5.832 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.896e-05/0.01046, allocations: 27.95 kB / 284.2 MB, free: 5.805 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.739e-06/0.01047, allocations: 12 kB / 284.2 MB, free: 5.793 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.284e-05/0.01051, allocations: 66.09 kB / 284.3 MB, free: 5.727 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01051, allocations: 0 / 284.3 MB, free: 5.727 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002607/0.01077, allocations: 68 kB / 284.4 MB, free: 5.66 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 6.682e-05/0.01084, allocations: 92.17 kB / 284.5 MB, free: 5.562 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001604/0.011, allocations: 170.2 kB / 284.6 MB, free: 5.395 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/0.011, allocations: 12 kB / 284.6 MB, free: 5.383 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.792e-05/0.01107, allocations: 76.64 kB / 284.7 MB, free: 5.305 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003778/0.01145, allocations: 63.89 kB / 284.8 MB, free: 5.242 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007015/0.01215, allocations: 0.6198 MB / 285.4 MB, free: 4.566 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.01e-05/0.01221, allocations: 93.17 kB / 285.5 MB, free: 4.453 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.037e-05/0.01229, allocations: 38.95 kB / 285.5 MB, free: 4.414 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001295/0.01242, allocations: 107.3 kB / 285.6 MB, free: 4.309 MB / 266.7 MB Notification: Performance of SimCode: time 7.42e-07/0.01242, allocations: 3.938 kB / 285.6 MB, free: 4.305 MB / 266.7 MB Notification: Performance of Templates: time 0.0048/0.01722, allocations: 3.529 MB / 289.2 MB, free: 0.8594 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 -s gbode -gbm=radauIIA3 -emit_protected -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.717509781010449]