Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001271/0.001271, allocations: 117 kB / 21.18 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001916/0.001916, allocations: 209.3 kB / 24.47 MB, free: 3.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.433/1.433, allocations: 230.5 MB / 258.1 MB, free: 8.145 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Mechanics.Translational.Examples.CompareBrakingForce,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.CompareBrakingForce") translateModel(Modelica.Mechanics.Translational.Examples.CompareBrakingForce,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.CompareBrakingForce") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001918/0.001918, allocations: 67.83 kB / 378.7 MB, free: 2.906 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2256/0.2276, allocations: 53.31 MB / 432 MB, free: 7.387 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.CompareBrakingForce): time 0.00382/0.2314, allocations: 2.39 MB / 434.4 MB, free: 4.988 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001468/0.2328, allocations: 0.7635 MB / 435.2 MB, free: 4.219 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001253/0.233, allocations: 7.938 kB / 435.2 MB, free: 4.211 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001518/0.2331, allocations: 43.58 kB / 435.2 MB, free: 4.168 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002798/0.2334, allocations: 91.33 kB / 435.3 MB, free: 4.078 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003278/0.2337, allocations: 115.7 kB / 435.4 MB, free: 3.965 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003554/0.2341, allocations: 302.6 kB / 435.7 MB, free: 3.668 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001704/0.2343, allocations: 48.72 kB / 435.8 MB, free: 3.617 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001354/0.2344, allocations: 111.6 kB / 435.9 MB, free: 3.508 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000192/0.2346, allocations: 131.4 kB / 436 MB, free: 3.379 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.57e-05/0.2346, allocations: 20 kB / 436 MB, free: 3.359 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.86e-05/0.2347, allocations: 20 kB / 436.1 MB, free: 3.34 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.653e-05/0.2347, allocations: 59.75 kB / 436.1 MB, free: 3.281 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001267/0.2348, allocations: 127.4 kB / 436.2 MB, free: 3.156 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003144/0.2352, allocations: 276.3 kB / 436.5 MB, free: 2.887 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.2352, allocations: 0 / 436.5 MB, free: 2.887 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.2352, allocations: 0 / 436.5 MB, free: 2.887 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.041e-05/0.2352, allocations: 0 / 436.5 MB, free: 2.887 MB / 334.1 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.0009791/0.2362, allocations: 0.5571 MB / 437.1 MB, free: 2.281 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.2362, allocations: 8.031 kB / 437.1 MB, free: 2.273 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.36e-05/0.2363, allocations: 32.75 kB / 437.1 MB, free: 2.242 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003822/0.2366, allocations: 257.6 kB / 437.4 MB, free: 1.949 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.553e-05/0.2367, allocations: 20.75 kB / 437.4 MB, free: 1.93 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.164e-05/0.2367, allocations: 24.38 kB / 437.4 MB, free: 1.906 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004518/0.2372, allocations: 243 kB / 437.6 MB, free: 1.652 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.347e-05/0.2372, allocations: 7.953 kB / 437.6 MB, free: 1.645 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.339e-05/0.2372, allocations: 8 kB / 437.7 MB, free: 1.637 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.2372, allocations: 4 kB / 437.7 MB, free: 1.633 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003741/0.2376, allocations: 159.8 kB / 437.8 MB, free: 1.477 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001382/0.239, allocations: 1.02 MB / 438.8 MB, free: 380 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005671/0.2396, allocations: 282.5 kB / 439.1 MB, free: 60 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001994/0.2397, allocations: 99.52 kB / 439.2 MB, free: 15.95 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.578e-05/0.2398, allocations: 4 kB / 439.2 MB, free: 15.95 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.218e-05/0.2398, allocations: 42.56 kB / 439.3 MB, free: 15.89 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 1.804e-06/0.2398, allocations: 0 / 439.3 MB, free: 15.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.002039/0.2419, allocations: 1.337 MB / 440.6 MB, free: 14.37 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.634e-05/0.242, allocations: 132.5 kB / 440.7 MB, free: 14.21 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002121/0.2422, allocations: 202.8 kB / 440.9 MB, free: 14 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.762e-05/0.2422, allocations: 29.7 kB / 440.9 MB, free: 13.96 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001218/0.2423, allocations: 160.7 kB / 441.1 MB, free: 13.8 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001019/0.2424, allocations: 134.9 kB / 441.2 MB, free: 13.67 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001045/0.2425, allocations: 66.12 kB / 441.3 MB, free: 13.6 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001591/0.2427, allocations: 338.8 kB / 441.6 MB, free: 13.26 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001872/0.2429, allocations: 76.84 kB / 441.7 MB, free: 13.18 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002836/0.2432, allocations: 202 kB / 441.9 MB, free: 12.93 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004917/0.2436, allocations: 301.5 kB / 442.2 MB, free: 12.59 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.2436, allocations: 0 / 442.2 MB, free: 12.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006261/0.2443, allocations: 349.1 kB / 442.5 MB, free: 12.24 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.2443, allocations: 4 kB / 442.5 MB, free: 12.24 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/0.2443, allocations: 4 kB / 442.5 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.295e-05/0.2443, allocations: 8 kB / 442.6 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003673/0.2447, allocations: 96.14 kB / 442.6 MB, free: 12.13 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.264e-05/0.2447, allocations: 7.938 kB / 442.7 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000164/0.2449, allocations: 15.94 kB / 442.7 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.804e-05/0.2449, allocations: 16 kB / 442.7 MB, free: 12.09 MB / 350.1 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 0.0001544/0.245, allocations: 153.7 kB / 442.8 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001026/0.2452, allocations: 24.05 kB / 442.9 MB, free: 11.91 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.867e-05/0.2452, allocations: 33.39 kB / 442.9 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/0.2452, allocations: 7.984 kB / 442.9 MB, free: 11.87 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/0.2452, allocations: 0 / 442.9 MB, free: 11.87 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.416e-06/0.2452, allocations: 15.88 kB / 442.9 MB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001518/0.2468, allocations: 0.9634 MB / 443.9 MB, free: 10.81 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.878e-06/0.2468, allocations: 4.188 kB / 443.9 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000386/0.2471, allocations: 83.89 kB / 444 MB, free: 10.72 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.476e-06/0.2472, allocations: 4 kB / 444 MB, free: 10.72 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.462e-05/0.2472, allocations: 12 kB / 444 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.041e-06/0.2472, allocations: 4 kB / 444 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.2472, allocations: 4 kB / 444 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000892/0.2481, allocations: 0.7048 MB / 444.7 MB, free: 9.945 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.12e-05/0.2482, allocations: 101 kB / 444.8 MB, free: 9.828 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.335e-05/0.2482, allocations: 12 kB / 444.8 MB, free: 9.816 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002601/0.2485, allocations: 8 kB / 444.8 MB, free: 9.809 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.438e-05/0.2486, allocations: 35.84 kB / 444.8 MB, free: 9.773 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.08e-05/0.2486, allocations: 15.98 kB / 444.9 MB, free: 9.758 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001443/0.2487, allocations: 140.6 kB / 445 MB, free: 9.621 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2487, allocations: 0 / 445 MB, free: 9.621 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000484/0.2492, allocations: 68 kB / 445.1 MB, free: 9.555 MB / 350.1 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 0.000135/0.2493, allocations: 111.1 kB / 445.2 MB, free: 9.438 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005551/0.2499, allocations: 239.8 kB / 445.4 MB, free: 9.203 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.2499, allocations: 0 / 445.4 MB, free: 9.203 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000251/0.2501, allocations: 116.8 kB / 445.5 MB, free: 9.09 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007535/0.2509, allocations: 74.42 kB / 445.6 MB, free: 9.023 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001756/0.2527, allocations: 0.9834 MB / 446.6 MB, free: 7.977 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004625/0.2531, allocations: 0.7643 MB / 447.3 MB, free: 7.18 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.529e-05/0.2532, allocations: 27.44 kB / 447.4 MB, free: 7.152 MB / 350.1 MB Notification: Performance of SimCode: time 5.01e-07/0.2532, allocations: 4 kB / 447.4 MB, free: 7.148 MB / 350.1 MB Notification: Performance of Templates: time 0.006317/0.2595, allocations: 3.387 MB / 450.8 MB, free: 3.77 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.sim & ./Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.CompareBrakingForce -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.8141038957983255] Failed to read output from testmodel.py, exit status != 0: 0.26860552188009024 0.283458826 0.045212716 Calling exit ...