Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001327/0.001327, allocations: 117.2 kB / 18.5 MB, free: 4.543 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.001988/0.001988, allocations: 202.6 kB / 21.45 MB, free: 1.59 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.575/1.575, allocations: 230.2 MB / 254.5 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce") translateModel(Modelica.Mechanics.Translational.Examples.CompareBrakingForce,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50000,variableFilter="",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003185/0.003185, allocations: 63.89 kB / 373.8 MB, free: 9.902 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1345/0.1377, allocations: 53.32 MB / 427.1 MB, free: 4.484 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.CompareBrakingForce): time 0.003905/0.1416, allocations: 2.37 MB / 429.5 MB, free: 2.105 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001649/0.1432, allocations: 0.7673 MB / 430.3 MB, free: 1.332 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002306/0.1434, allocations: 7.938 kB / 430.3 MB, free: 1.324 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001813/0.1436, allocations: 39.58 kB / 430.3 MB, free: 1.285 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003694/0.144, allocations: 91.33 kB / 430.4 MB, free: 1.195 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004169/0.1444, allocations: 115.7 kB / 430.5 MB, free: 1.082 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004285/0.1448, allocations: 302.6 kB / 430.8 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001682/0.145, allocations: 51.47 kB / 430.9 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001527/0.1452, allocations: 111.6 kB / 431 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001832/0.1453, allocations: 131.4 kB / 431.1 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.813e-05/0.1454, allocations: 24 kB / 431.1 MB, free: 480 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.92e-05/0.1454, allocations: 20 kB / 431.2 MB, free: 460 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.904e-05/0.1455, allocations: 55.81 kB / 431.2 MB, free: 404 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001182/0.1456, allocations: 127.3 kB / 431.3 MB, free: 276 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003173/0.1459, allocations: 274.8 kB / 431.6 MB, free: 0 / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.1459, allocations: 0 / 431.6 MB, free: 0 / 350.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1459, allocations: 0 / 431.6 MB, free: 0 / 350.1 MB Notification: Performance of Transformations before backend: time 7.164e-06/0.1459, allocations: 0 / 431.6 MB, free: 0 / 350.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.2062/0.3521, allocations: 0.5477 MB / 432.2 MB, free: 11.4 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.3522, allocations: 12.5 kB / 432.2 MB, free: 11.4 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.57e-05/0.3522, allocations: 34.66 kB / 432.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003737/0.3526, allocations: 253.6 kB / 432.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.79e-05/0.3526, allocations: 17.55 kB / 432.5 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.988e-05/0.3527, allocations: 23.61 kB / 432.5 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004414/0.3531, allocations: 244.3 kB / 432.7 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.028e-05/0.3531, allocations: 5.297 kB / 432.7 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.392e-05/0.3532, allocations: 15.38 kB / 432.7 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.157e-05/0.3532, allocations: 5.75 kB / 432.7 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003605/0.3535, allocations: 160.7 kB / 432.9 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00105/0.3546, allocations: 1.016 MB / 433.9 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004598/0.3551, allocations: 282.6 kB / 434.2 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001488/0.3552, allocations: 87.3 kB / 434.3 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.669e-05/0.3552, allocations: 3.406 kB / 434.3 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.905e-05/0.3552, allocations: 44.09 kB / 434.3 MB, free: 10.26 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 1.403e-06/0.3552, allocations: 0 / 434.3 MB, free: 10.26 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.001532/0.3568, allocations: 1.339 MB / 435.7 MB, free: 9.27 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.375e-05/0.3568, allocations: 137.7 kB / 435.8 MB, free: 9.113 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001867/0.357, allocations: 205.6 kB / 436 MB, free: 9.004 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.684e-05/0.357, allocations: 30.33 kB / 436 MB, free: 8.973 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.055e-05/0.3571, allocations: 158.5 kB / 436.2 MB, free: 8.855 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.394e-05/0.3572, allocations: 126.4 kB / 436.3 MB, free: 8.773 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.909e-05/0.3573, allocations: 67.41 kB / 436.4 MB, free: 8.758 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.754e-05/0.3573, allocations: 340.3 kB / 436.7 MB, free: 8.441 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001861/0.3575, allocations: 84 kB / 436.8 MB, free: 8.434 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002247/0.3577, allocations: 192.7 kB / 437 MB, free: 8.273 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004244/0.3582, allocations: 311.3 kB / 437.3 MB, free: 8.066 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.3582, allocations: 1.219 kB / 437.3 MB, free: 8.066 MB / 350.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005324/0.3587, allocations: 335.4 kB / 437.6 MB, free: 7.945 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.3587, allocations: 10.97 kB / 437.6 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.3587, allocations: 3.438 kB / 437.6 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/0.3587, allocations: 5.75 kB / 437.6 MB, free: 7.941 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003397/0.3591, allocations: 101 kB / 437.7 MB, free: 7.938 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.594e-05/0.3591, allocations: 6.609 kB / 437.7 MB, free: 7.938 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001585/0.3593, allocations: 16.22 kB / 437.8 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.697e-05/0.3593, allocations: 19.27 kB / 437.8 MB, free: 7.93 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.0001038/0.3594, allocations: 151.4 kB / 437.9 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.81e-05/0.3595, allocations: 29.25 kB / 437.9 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.607e-05/0.3595, allocations: 34.08 kB / 438 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.638e-06/0.3595, allocations: 4.906 kB / 438 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.3596, allocations: 1.156 kB / 438 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/0.3596, allocations: 1.578 kB / 438 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001193/0.3608, allocations: 0.9706 MB / 439 MB, free: 7 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.443e-06/0.3608, allocations: 6.625 kB / 439 MB, free: 6.996 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003497/0.3611, allocations: 79.19 kB / 439 MB, free: 6.988 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.121e-06/0.3611, allocations: 3.281 kB / 439 MB, free: 6.988 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.318e-05/0.3611, allocations: 17.62 kB / 439.1 MB, free: 6.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.015e-06/0.3611, allocations: 8.969 kB / 439.1 MB, free: 6.977 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.893e-06/0.3612, allocations: 3.344 kB / 439.1 MB, free: 6.977 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006755/0.3618, allocations: 0.705 MB / 439.8 MB, free: 6.422 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.427e-05/0.3619, allocations: 100.4 kB / 439.9 MB, free: 6.316 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.239e-05/0.3619, allocations: 14.39 kB / 439.9 MB, free: 6.309 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002765/0.3622, allocations: 11.67 kB / 439.9 MB, free: 6.305 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.312e-05/0.3623, allocations: 34.41 kB / 439.9 MB, free: 6.293 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.873e-05/0.3623, allocations: 13.73 kB / 440 MB, free: 6.289 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001073/0.3624, allocations: 145.5 kB / 440.1 MB, free: 6.195 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3624, allocations: 0 / 440.1 MB, free: 6.195 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004739/0.3629, allocations: 64.48 kB / 440.2 MB, free: 6.188 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.0001126/0.363, allocations: 114.3 kB / 440.3 MB, free: 6.09 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004848/0.3635, allocations: 229.2 kB / 440.5 MB, free: 6.02 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3635, allocations: 0 / 440.5 MB, free: 6.02 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002266/0.3637, allocations: 123.7 kB / 440.6 MB, free: 5.977 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007268/0.3644, allocations: 59.02 kB / 440.7 MB, free: 5.957 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00131/0.3657, allocations: 0.9516 MB / 441.6 MB, free: 5.25 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002282/0.3659, allocations: 0.7593 MB / 442.4 MB, free: 4.543 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001256/0.3661, allocations: 38.19 kB / 442.4 MB, free: 4.535 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.756e-05/0.3662, allocations: 35.78 kB / 442.5 MB, free: 4.52 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3662, allocations: 0 / 442.5 MB, free: 4.52 MB / 350.1 MB Notification: Performance of Templates: time 0.007873/0.374, allocations: 3.016 MB / 445.5 MB, free: 4.297 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.746336165815592]