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.0008733/0.0008733, allocations: 87.62 kB / 21.44 MB, free: 3.133 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.003574/0.003574, allocations: 160.9 kB / 24.7 MB, free: 9.426 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.822/0.822, allocations: 177.1 MB / 205 MB, free: 5.727 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 2.265e-06/2.265e-06, allocations: 0 / 325.8 MB, free: 15.45 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.286e-05/2.513e-05, allocations: 2.281 kB / 325.8 MB, free: 15.44 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.CompareBrakingForce): time 0.003172/0.003197, allocations: 2.231 MB / 328 MB, free: 13.2 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001398/0.004596, allocations: 0.7321 MB / 328.8 MB, free: 12.46 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001449/0.004741, allocations: 7.938 kB / 328.8 MB, free: 12.45 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001498/0.00489, allocations: 43.52 kB / 328.8 MB, free: 12.41 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002885/0.005179, allocations: 91.2 kB / 328.9 MB, free: 12.32 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003394/0.005518, allocations: 119.6 kB / 329 MB, free: 12.2 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00033/0.005848, allocations: 318.4 kB / 329.3 MB, free: 11.89 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001625/0.006011, allocations: 48.41 kB / 329.4 MB, free: 11.85 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002089/0.00622, allocations: 171.6 kB / 329.6 MB, free: 11.68 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001631/0.006383, allocations: 95.69 kB / 329.7 MB, free: 11.59 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.736e-05/0.00642, allocations: 20 kB / 329.7 MB, free: 11.57 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.522e-05/0.006455, allocations: 20 kB / 329.7 MB, free: 11.55 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.772e-05/0.006503, allocations: 51.77 kB / 329.7 MB, free: 11.5 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.542e-05/0.006598, allocations: 91.73 kB / 329.8 MB, free: 11.41 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003032/0.006902, allocations: 283 kB / 330.1 MB, free: 11.13 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.065e-06/0.006905, allocations: 4 kB / 330.1 MB, free: 11.12 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.006906, allocations: 0 / 330.1 MB, free: 11.12 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.141e-06/0.006912, allocations: 4 kB / 330.1 MB, free: 11.12 MB / 298.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.0008177/0.00773, allocations: 481.5 kB / 330.6 MB, free: 10.62 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.007767, allocations: 8.031 kB / 330.6 MB, free: 10.61 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.588e-05/0.007833, allocations: 32.75 kB / 330.6 MB, free: 10.58 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003238/0.008157, allocations: 206.6 kB / 330.8 MB, free: 10.35 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.609e-05/0.008183, allocations: 16.88 kB / 330.8 MB, free: 10.34 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.688e-05/0.00823, allocations: 24.38 kB / 330.9 MB, free: 10.31 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00042/0.00865, allocations: 232 kB / 331.1 MB, free: 10.07 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.459e-05/0.008674, allocations: 8.141 kB / 331.1 MB, free: 10.06 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.421e-05/0.008698, allocations: 8.375 kB / 331.1 MB, free: 10.05 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.008707, allocations: 7.938 kB / 331.1 MB, free: 10.04 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003503/0.009058, allocations: 163.8 kB / 331.3 MB, free: 9.883 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008695/0.009927, allocations: 0.8955 MB / 332.2 MB, free: 8.918 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003238/0.01025, allocations: 274.6 kB / 332.4 MB, free: 8.613 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001114/0.01036, allocations: 95.55 kB / 332.5 MB, free: 8.508 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.874e-05/0.01038, allocations: 11.88 kB / 332.5 MB, free: 8.496 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.287e-05/0.0104, allocations: 38.56 kB / 332.6 MB, free: 8.449 MB / 298.7 MB Notification: Performance of pre-optimization done (n=28): time 1.964e-06/0.01041, allocations: 4 kB / 332.6 MB, free: 8.445 MB / 298.7 MB Notification: Performance of matching and sorting (n=32): time 0.001064/0.01147, allocations: 1.036 MB / 333.6 MB, free: 7.293 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.837e-05/0.01152, allocations: 132.5 kB / 333.8 MB, free: 7.133 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001306/0.01165, allocations: 210.8 kB / 334 MB, free: 6.918 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.518e-05/0.01166, allocations: 29.7 kB / 334 MB, free: 6.883 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.327e-05/0.01174, allocations: 160.7 kB / 334.1 MB, free: 6.719 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.431e-05/0.0118, allocations: 122.9 kB / 334.3 MB, free: 6.598 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.972e-05/0.01187, allocations: 74.19 kB / 334.3 MB, free: 6.52 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.01198, allocations: 330.8 kB / 334.7 MB, free: 6.188 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001062/0.01208, allocations: 76.97 kB / 334.7 MB, free: 6.113 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000153/0.01224, allocations: 205.1 kB / 334.9 MB, free: 5.867 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000289/0.01253, allocations: 305.5 kB / 335.2 MB, free: 5.52 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.01253, allocations: 4 kB / 335.2 MB, free: 5.516 MB / 298.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0003455/0.01288, allocations: 345.2 kB / 335.6 MB, free: 5.172 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.01289, allocations: 8 kB / 335.6 MB, free: 5.164 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/0.0129, allocations: 4 kB / 335.6 MB, free: 5.16 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.01291, allocations: 4 kB / 335.6 MB, free: 5.156 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001873/0.0131, allocations: 95.83 kB / 335.7 MB, free: 5.062 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.01311, allocations: 8 kB / 335.7 MB, free: 5.055 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.763e-05/0.01319, allocations: 12 kB / 335.7 MB, free: 5.043 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.675e-05/0.0132, allocations: 23.98 kB / 335.7 MB, free: 5.02 MB / 298.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.719e-05/0.01329, allocations: 153.6 kB / 335.9 MB, free: 4.859 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.115e-05/0.01334, allocations: 23.89 kB / 335.9 MB, free: 4.836 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.043e-05/0.01338, allocations: 33.45 kB / 335.9 MB, free: 4.805 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.01338, allocations: 8 kB / 335.9 MB, free: 4.797 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.01339, allocations: 0 / 335.9 MB, free: 4.797 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.01339, allocations: 0 / 335.9 MB, free: 4.797 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007329/0.01413, allocations: 0.8657 MB / 336.8 MB, free: 3.867 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.01413, allocations: 8.031 kB / 336.8 MB, free: 3.859 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001853/0.01431, allocations: 79.89 kB / 336.9 MB, free: 3.781 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.713e-06/0.01432, allocations: 4.188 kB / 336.9 MB, free: 3.777 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.623e-05/0.01434, allocations: 12 kB / 336.9 MB, free: 3.766 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/0.01434, allocations: 12.19 kB / 336.9 MB, free: 3.754 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.01435, allocations: 7.984 kB / 336.9 MB, free: 3.746 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004966/0.01484, allocations: 0.6887 MB / 337.6 MB, free: 3.008 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.478e-05/0.01487, allocations: 27.84 kB / 337.6 MB, free: 2.98 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.442e-05/0.01489, allocations: 23.88 kB / 337.7 MB, free: 2.957 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001324/0.01502, allocations: 11.98 kB / 337.7 MB, free: 2.945 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.453e-05/0.01507, allocations: 27.91 kB / 337.7 MB, free: 2.918 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.176e-05/0.01508, allocations: 15.98 kB / 337.7 MB, free: 2.902 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.668e-05/0.01516, allocations: 144.6 kB / 337.9 MB, free: 2.762 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01516, allocations: 0 / 337.9 MB, free: 2.762 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002995/0.01546, allocations: 64 kB / 337.9 MB, free: 2.699 MB / 298.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 9.064e-05/0.01555, allocations: 111.2 kB / 338 MB, free: 2.582 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003013/0.01585, allocations: 244.7 kB / 338.3 MB, free: 2.344 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.01585, allocations: 0 / 338.3 MB, free: 2.344 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000133/0.01598, allocations: 124.7 kB / 338.4 MB, free: 2.223 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004659/0.01645, allocations: 71.16 kB / 338.5 MB, free: 2.156 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008525/0.0173, allocations: 0.8033 MB / 339.3 MB, free: 1.285 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001072/0.01741, allocations: 151.1 kB / 339.4 MB, free: 1.109 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.091e-05/0.01747, allocations: 32.5 kB / 339.4 MB, free: 1.078 MB / 298.7 MB Notification: Performance of SimCode: time 4.91e-07/0.01747, allocations: 0 / 339.4 MB, free: 1.078 MB / 298.7 MB Notification: Performance of Templates: time 0.003684/0.02115, allocations: 3.492 MB / 342.9 MB, free: 13.59 MB / 314.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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.2434649262577295]