Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.CompareBrakingForce,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce") translateModel(Modelica.Mechanics.Translational.Examples.CompareBrakingForce,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001046/0.001046, allocations: 200.2 kB / 17.43 MB, free: 4.273 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.322/1.322, allocations: 229.5 MB / 247.7 MB, free: 6.328 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008015/0.0008014, allocations: 96.67 kB / 299.9 MB, free: 5.344 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002787/0.000279, allocations: 4 kB / 360.6 MB, free: 8.48 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1967/0.197, allocations: 51.41 MB / 412 MB, free: 25.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.CompareBrakingForce): time 0.001688/0.1987, allocations: 1.977 MB / 414 MB, free: 23.92 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009981/0.1997, allocations: 1.016 MB / 415 MB, free: 22.83 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.454e-05/0.1999, allocations: 7.938 kB / 415 MB, free: 22.82 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.806e-05/0.2, allocations: 25.06 kB / 415.1 MB, free: 22.8 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001984/0.2002, allocations: 72.17 kB / 415.1 MB, free: 22.73 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002191/0.2004, allocations: 104.7 kB / 415.2 MB, free: 22.63 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002138/0.2006, allocations: 298.7 kB / 415.5 MB, free: 22.34 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001265/0.2008, allocations: 57.02 kB / 415.6 MB, free: 22.27 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.398e-05/0.2008, allocations: 99.52 kB / 415.7 MB, free: 22.18 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001282/0.201, allocations: 119.5 kB / 415.8 MB, free: 22.06 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.509e-05/0.201, allocations: 12 kB / 415.8 MB, free: 22.05 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.276e-05/0.2011, allocations: 12 kB / 415.8 MB, free: 22.04 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.874e-05/0.2011, allocations: 55.69 kB / 415.9 MB, free: 21.98 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001015/0.2012, allocations: 133.1 kB / 416 MB, free: 21.84 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001855/0.2014, allocations: 256.5 kB / 416.3 MB, free: 21.59 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.2014, allocations: 4 kB / 416.3 MB, free: 21.59 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.2014, allocations: 0 / 416.3 MB, free: 21.59 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.718e-06/0.2014, allocations: 0 / 416.3 MB, free: 21.59 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.0006825/0.2021, allocations: 0.5184 MB / 416.8 MB, free: 21.02 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.332e-05/0.2022, allocations: 8.031 kB / 416.8 MB, free: 21.02 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.462e-05/0.2022, allocations: 24.66 kB / 416.8 MB, free: 20.99 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002141/0.2024, allocations: 264.5 kB / 417.1 MB, free: 20.69 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.832e-05/0.2025, allocations: 12.81 kB / 417.1 MB, free: 20.68 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.202e-05/0.2025, allocations: 24.36 kB / 417.1 MB, free: 20.66 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00035/0.2029, allocations: 246.9 kB / 417.4 MB, free: 20.39 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.801e-05/0.2029, allocations: 11.89 kB / 417.4 MB, free: 20.38 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.883e-05/0.2029, allocations: 8 kB / 417.4 MB, free: 20.38 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.2029, allocations: 8 kB / 417.4 MB, free: 20.37 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003191/0.2033, allocations: 167.8 kB / 417.5 MB, free: 20.2 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009612/0.2042, allocations: 1.016 MB / 418.6 MB, free: 19.1 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004417/0.2047, allocations: 306.1 kB / 418.9 MB, free: 18.77 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001451/0.2049, allocations: 99.39 kB / 419 MB, free: 18.66 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.528e-05/0.2049, allocations: 0.625 kB / 419 MB, free: 18.66 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.04e-05/0.2049, allocations: 50.48 kB / 419 MB, free: 18.6 MB / 298.7 MB Notification: Performance of pre-optimization done (n=28): time 1.342e-06/0.2049, allocations: 0 / 419 MB, free: 18.6 MB / 298.7 MB Notification: Performance of matching and sorting (n=32): time 0.001471/0.2064, allocations: 1.328 MB / 420.3 MB, free: 17.08 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.913e-05/0.2065, allocations: 136.5 kB / 420.5 MB, free: 16.91 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001463/0.2066, allocations: 210.8 kB / 420.7 MB, free: 16.7 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.422e-05/0.2066, allocations: 29.7 kB / 420.7 MB, free: 16.66 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.859e-05/0.2067, allocations: 156.5 kB / 420.9 MB, free: 16.5 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.697e-05/0.2068, allocations: 114.4 kB / 421 MB, free: 16.39 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.399e-05/0.2068, allocations: 8 kB / 421 MB, free: 16.38 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.619e-05/0.2068, allocations: 338.8 kB / 421.3 MB, free: 16.04 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001904/0.207, allocations: 84.83 kB / 421.4 MB, free: 15.96 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001895/0.2072, allocations: 198 kB / 421.6 MB, free: 15.71 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003664/0.2076, allocations: 313.9 kB / 421.9 MB, free: 15.36 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.2076, allocations: 0 / 421.9 MB, free: 15.36 MB / 298.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0004753/0.2081, allocations: 340.9 kB / 422.2 MB, free: 15.02 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.2081, allocations: 11.94 kB / 422.2 MB, free: 15.01 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.2081, allocations: 4 kB / 422.2 MB, free: 15 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.2082, allocations: 7.984 kB / 422.2 MB, free: 15 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003269/0.2085, allocations: 96.09 kB / 422.3 MB, free: 14.9 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.687e-06/0.2085, allocations: 11.98 kB / 422.3 MB, free: 14.89 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001529/0.2087, allocations: 15.94 kB / 422.4 MB, free: 14.88 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.164e-05/0.2087, allocations: 16 kB / 422.4 MB, free: 14.86 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.503e-05/0.2088, allocations: 149.7 kB / 422.5 MB, free: 14.7 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.342e-05/0.2089, allocations: 31.7 kB / 422.6 MB, free: 14.67 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.308e-05/0.2089, allocations: 29.41 kB / 422.6 MB, free: 14.64 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.209, allocations: 4 kB / 422.6 MB, free: 14.64 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.209, allocations: 3.938 kB / 422.6 MB, free: 14.64 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.209, allocations: 15.92 kB / 422.6 MB, free: 14.62 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001041/0.21, allocations: 0.9751 MB / 423.6 MB, free: 13.56 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.21, allocations: 4 kB / 423.6 MB, free: 13.56 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003458/0.2104, allocations: 75.91 kB / 423.7 MB, free: 13.48 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.479e-06/0.2104, allocations: 8.25 kB / 423.7 MB, free: 13.48 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.312e-05/0.2104, allocations: 11.98 kB / 423.7 MB, free: 13.46 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.83e-06/0.2104, allocations: 7.938 kB / 423.7 MB, free: 13.46 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.2105, allocations: 4 kB / 423.7 MB, free: 13.45 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006382/0.2111, allocations: 0.7079 MB / 424.4 MB, free: 12.7 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.768e-05/0.2111, allocations: 96.83 kB / 424.5 MB, free: 12.59 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.792e-05/0.2112, allocations: 15.98 kB / 424.5 MB, free: 12.57 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002619/0.2115, allocations: 8 kB / 424.5 MB, free: 12.56 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.852e-05/0.2115, allocations: 27.91 kB / 424.5 MB, free: 12.54 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.607e-05/0.2115, allocations: 23.94 kB / 424.6 MB, free: 12.51 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.307e-05/0.2116, allocations: 140.4 kB / 424.7 MB, free: 12.38 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2116, allocations: 0 / 424.7 MB, free: 12.38 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004115/0.2121, allocations: 68 kB / 424.8 MB, free: 12.31 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 8.888e-05/0.2122, allocations: 115.7 kB / 424.9 MB, free: 12.18 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003997/0.2126, allocations: 242.8 kB / 425.1 MB, free: 11.95 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.2126, allocations: 0 / 425.1 MB, free: 11.95 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001905/0.2128, allocations: 124.8 kB / 425.2 MB, free: 11.83 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007548/0.2135, allocations: 65.08 kB / 425.3 MB, free: 11.77 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001237/0.2148, allocations: 1.168 MB / 426.5 MB, free: 10.54 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002029/0.215, allocations: 0.7608 MB / 427.2 MB, free: 9.754 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001275/0.2151, allocations: 34.97 kB / 427.3 MB, free: 9.719 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.51e-05/0.2152, allocations: 31.42 kB / 427.3 MB, free: 9.688 MB / 298.7 MB Notification: Performance of SimCode: time 3.1e-07/0.2152, allocations: 0 / 427.3 MB, free: 9.688 MB / 298.7 MB Notification: Performance of Templates: time 0.004759/0.22, allocations: 2.707 MB / 430 MB, free: 7.008 MB / 298.7 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.makefile (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=480 -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.pipe 2>&1)