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.0009472/0.0009472, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001064/0.001064, allocations: 173.5 kB / 24.92 MB, free: 8.715 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.9484/0.9484, allocations: 177.1 MB / 205.3 MB, free: 5.113 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.492e-06/1.492e-06, allocations: 0 / 273.4 MB, free: 1.219 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.688e-05/3.837e-05, allocations: 6.312 kB / 273.4 MB, free: 1.211 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.CompareBrakingForce): time 0.003323/0.003361, allocations: 2.344 MB / 275.8 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001119/0.00448, allocations: 0.7553 MB / 276.5 MB, free: 14.09 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.807e-05/0.004578, allocations: 11.94 kB / 276.5 MB, free: 14.08 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001215/0.0047, allocations: 43.58 kB / 276.6 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000223/0.004923, allocations: 95.14 kB / 276.7 MB, free: 13.95 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00026/0.005183, allocations: 115.6 kB / 276.8 MB, free: 13.83 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002803/0.005463, allocations: 318.5 kB / 277.1 MB, free: 13.52 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001109/0.005574, allocations: 42.88 kB / 277.1 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001486/0.005723, allocations: 179.5 kB / 277.3 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001205/0.005843, allocations: 95.69 kB / 277.4 MB, free: 13.21 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.873e-05/0.005872, allocations: 20 kB / 277.4 MB, free: 13.19 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.175e-05/0.005893, allocations: 20 kB / 277.5 MB, free: 13.17 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.095e-05/0.005934, allocations: 59.73 kB / 277.5 MB, free: 13.11 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.515e-05/0.006, allocations: 87.77 kB / 277.6 MB, free: 13.03 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001761/0.006176, allocations: 187.3 kB / 277.8 MB, free: 12.84 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.006178, allocations: 0 / 277.8 MB, free: 12.84 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.00618, allocations: 0 / 277.8 MB, free: 12.84 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.827e-06/0.006183, allocations: 0 / 277.8 MB, free: 12.84 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.0005013/0.006685, allocations: 472 kB / 278.2 MB, free: 12.36 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.831e-05/0.006713, allocations: 12.03 kB / 278.3 MB, free: 12.35 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.818e-05/0.006761, allocations: 36.91 kB / 278.3 MB, free: 12.31 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001775/0.006939, allocations: 186.1 kB / 278.5 MB, free: 12.1 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.883e-05/0.006957, allocations: 16.88 kB / 278.5 MB, free: 12.09 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.206e-05/0.00699, allocations: 28.31 kB / 278.5 MB, free: 12.06 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002061/0.007196, allocations: 204.7 kB / 278.7 MB, free: 11.84 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.007207, allocations: 192 / 278.7 MB, free: 11.84 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.51e-05/0.007222, allocations: 12.38 kB / 278.7 MB, free: 11.82 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.007229, allocations: 11.88 kB / 278.7 MB, free: 11.81 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.746e-05/0.007326, allocations: 79.75 kB / 278.8 MB, free: 11.74 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006378/0.007964, allocations: 0.7627 MB / 279.6 MB, free: 10.92 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001746/0.008139, allocations: 190.6 kB / 279.8 MB, free: 10.7 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.038e-05/0.008189, allocations: 51.42 kB / 279.8 MB, free: 10.64 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.616e-05/0.008205, allocations: 4 kB / 279.8 MB, free: 10.63 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.174e-05/0.008227, allocations: 42.5 kB / 279.9 MB, free: 10.58 MB / 266.7 MB Notification: Performance of pre-optimization done (n=28): time 1.553e-06/0.008228, allocations: 0 / 279.9 MB, free: 10.58 MB / 266.7 MB Notification: Performance of matching and sorting (n=32): time 0.000832/0.009061, allocations: 0.7937 MB / 280.7 MB, free: 9.672 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.985e-05/0.00911, allocations: 132.5 kB / 280.8 MB, free: 9.512 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001071/0.009217, allocations: 198.3 kB / 281 MB, free: 9.305 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.499e-05/0.009232, allocations: 29.7 kB / 281 MB, free: 9.27 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.15e-05/0.009294, allocations: 144.7 kB / 281.1 MB, free: 9.125 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.231e-05/0.009356, allocations: 122.9 kB / 281.3 MB, free: 9.004 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.002e-05/0.009416, allocations: 78.11 kB / 281.3 MB, free: 8.922 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.41e-05/0.0095, allocations: 338.8 kB / 281.7 MB, free: 8.582 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.077e-05/0.009541, allocations: 32.98 kB / 281.7 MB, free: 8.551 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.057e-05/0.009632, allocations: 150.6 kB / 281.9 MB, free: 8.355 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001703/0.009802, allocations: 226.8 kB / 282.1 MB, free: 8.086 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.009804, allocations: 0 / 282.1 MB, free: 8.086 MB / 266.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0001968/0.01, allocations: 217.1 kB / 282.3 MB, free: 7.867 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.01001, allocations: 11.98 kB / 282.3 MB, free: 7.855 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.01002, allocations: 4 kB / 282.3 MB, free: 7.852 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.01003, allocations: 4 kB / 282.3 MB, free: 7.848 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001865/0.01022, allocations: 92.16 kB / 282.4 MB, free: 7.758 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.01023, allocations: 11.92 kB / 282.4 MB, free: 7.746 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.199e-05/0.0103, allocations: 12 kB / 282.4 MB, free: 7.734 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.483e-05/0.01031, allocations: 16 kB / 282.4 MB, free: 7.719 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.684e-05/0.01039, allocations: 129.7 kB / 282.6 MB, free: 7.582 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.554e-05/0.01045, allocations: 35.84 kB / 282.6 MB, free: 7.547 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.782e-05/0.01048, allocations: 37.45 kB / 282.6 MB, free: 7.508 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.01049, allocations: 4 kB / 282.6 MB, free: 7.504 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.564e-06/0.01049, allocations: 0 / 282.6 MB, free: 7.504 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.01049, allocations: 0 / 282.6 MB, free: 7.504 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006235/0.01112, allocations: 0.7019 MB / 283.3 MB, free: 6.75 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.01112, allocations: 7.938 kB / 283.3 MB, free: 6.742 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001824/0.0113, allocations: 71.91 kB / 283.4 MB, free: 6.672 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.01131, allocations: 4 kB / 283.4 MB, free: 6.668 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.571e-05/0.01132, allocations: 15.98 kB / 283.4 MB, free: 6.652 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.01133, allocations: 8.25 kB / 283.4 MB, free: 6.645 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/0.01133, allocations: 7.938 kB / 283.5 MB, free: 6.637 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003503/0.01168, allocations: 0.5713 MB / 284 MB, free: 6.016 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.436e-05/0.01171, allocations: 23.84 kB / 284 MB, free: 5.992 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.32e-05/0.01173, allocations: 8 kB / 284.1 MB, free: 5.984 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001281/0.01186, allocations: 12 kB / 284.1 MB, free: 5.973 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.812e-05/0.01191, allocations: 31.89 kB / 284.1 MB, free: 5.941 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.418e-06/0.01192, allocations: 8.25 kB / 284.1 MB, free: 5.934 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.921e-05/0.01196, allocations: 58.17 kB / 284.2 MB, free: 5.875 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01196, allocations: 4 kB / 284.2 MB, free: 5.871 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002839/0.01225, allocations: 60 kB / 284.2 MB, free: 5.812 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 8.757e-05/0.01234, allocations: 92.75 kB / 284.3 MB, free: 5.711 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001754/0.01251, allocations: 178.5 kB / 284.5 MB, free: 5.535 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.01252, allocations: 0.5 kB / 284.5 MB, free: 5.535 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.084e-05/0.01259, allocations: 88.62 kB / 284.6 MB, free: 5.445 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003912/0.01298, allocations: 71.97 kB / 284.6 MB, free: 5.375 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007027/0.01368, allocations: 0.6072 MB / 285.3 MB, free: 4.711 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.727e-05/0.01375, allocations: 89.23 kB / 285.3 MB, free: 4.598 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.172e-05/0.01383, allocations: 42.94 kB / 285.4 MB, free: 4.555 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001253/0.01396, allocations: 111.3 kB / 285.5 MB, free: 4.445 MB / 266.7 MB Notification: Performance of SimCode: time 8.32e-07/0.01396, allocations: 0 / 285.5 MB, free: 4.445 MB / 266.7 MB Notification: Performance of Templates: time 0.004948/0.0189, allocations: 3.345 MB / 288.8 MB, free: 1.168 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 -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.987662557978183]