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.001351/0.001351, allocations: 111.8 kB / 19.17 MB, free: 3.891 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.001531/0.001531, allocations: 208.9 kB / 22.13 MB, free: 0.9375 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.453/1.453, allocations: 230.2 MB / 255.2 MB, free: 15.26 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.001905/0.001905, allocations: 67.89 kB / 374.5 MB, free: 9.941 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1021, allocations: 53.32 MB / 427.8 MB, free: 4.523 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.CompareBrakingForce): time 0.003679/0.1058, allocations: 2.378 MB / 430.2 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001455/0.1073, allocations: 0.7634 MB / 431 MB, free: 1.367 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001222/0.1074, allocations: 4 kB / 431 MB, free: 1.363 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001551/0.1075, allocations: 43.58 kB / 431 MB, free: 1.32 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002835/0.1078, allocations: 87.27 kB / 431.1 MB, free: 1.234 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003406/0.1082, allocations: 123.7 kB / 431.2 MB, free: 1.113 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003508/0.1085, allocations: 302.6 kB / 431.5 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000157/0.1087, allocations: 52.66 kB / 431.6 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001494/0.1088, allocations: 115.6 kB / 431.7 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000191/0.109, allocations: 123.5 kB / 431.8 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.726e-05/0.109, allocations: 20 kB / 431.8 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.333e-05/0.1091, allocations: 20 kB / 431.8 MB, free: 496 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.678e-05/0.1091, allocations: 55.77 kB / 431.9 MB, free: 440 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001353/0.1093, allocations: 135.3 kB / 432 MB, free: 304 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003165/0.1096, allocations: 270.8 kB / 432.3 MB, free: 32 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1096, allocations: 0 / 432.3 MB, free: 32 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1096, allocations: 0 / 432.3 MB, free: 32 kB / 350.1 MB Notification: Performance of Transformations before backend: time 7.123e-06/0.1096, allocations: 0 / 432.3 MB, free: 32 kB / 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.1924/0.302, allocations: 0.5514 MB / 432.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.302, allocations: 9.281 kB / 432.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.117e-05/0.3021, allocations: 36.23 kB / 432.9 MB, free: 11.44 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003433/0.3024, allocations: 255.8 kB / 433.1 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.495e-05/0.3025, allocations: 13.25 kB / 433.1 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.497e-05/0.3025, allocations: 24 kB / 433.2 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004336/0.303, allocations: 245.2 kB / 433.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.164e-05/0.303, allocations: 7.234 kB / 433.4 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.345e-05/0.303, allocations: 9.594 kB / 433.4 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.828e-06/0.303, allocations: 7.719 kB / 433.4 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003809/0.3034, allocations: 162.4 kB / 433.6 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001095/0.3045, allocations: 1.017 MB / 434.6 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004993/0.305, allocations: 286.5 kB / 434.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000156/0.3051, allocations: 82.91 kB / 435 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.192e-05/0.3052, allocations: 3.625 kB / 435 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.306e-05/0.3052, allocations: 41.34 kB / 435 MB, free: 10.32 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 2.174e-06/0.3052, allocations: 0.7969 kB / 435 MB, free: 10.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.001609/0.3068, allocations: 1.344 MB / 436.4 MB, free: 9.328 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.464e-05/0.3068, allocations: 132.9 kB / 436.5 MB, free: 9.172 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001699/0.307, allocations: 204.9 kB / 436.7 MB, free: 9.062 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.697e-05/0.307, allocations: 30.98 kB / 436.7 MB, free: 9.031 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.554e-05/0.3071, allocations: 158.4 kB / 436.9 MB, free: 8.914 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.161e-05/0.3071, allocations: 124.8 kB / 437 MB, free: 8.832 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.587e-05/0.3072, allocations: 70.39 kB / 437.1 MB, free: 8.816 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.809e-05/0.3073, allocations: 338.1 kB / 437.4 MB, free: 8.5 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001942/0.3075, allocations: 78.72 kB / 437.5 MB, free: 8.488 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002176/0.3077, allocations: 200 kB / 437.7 MB, free: 8.328 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004056/0.3081, allocations: 313.4 kB / 438 MB, free: 8.117 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.3081, allocations: 1.156 kB / 438 MB, free: 8.117 MB / 350.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005735/0.3087, allocations: 339.8 kB / 438.3 MB, free: 7.988 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.3087, allocations: 6.469 kB / 438.3 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.407e-06/0.3087, allocations: 4.344 kB / 438.3 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.162e-05/0.3087, allocations: 7.953 kB / 438.3 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003581/0.3091, allocations: 96.52 kB / 438.4 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.129e-05/0.3091, allocations: 5.312 kB / 438.4 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000166/0.3093, allocations: 17.62 kB / 438.4 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.781e-05/0.3093, allocations: 20.38 kB / 438.5 MB, free: 7.965 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.0001034/0.3094, allocations: 147.2 kB / 438.6 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.911e-05/0.3095, allocations: 28.58 kB / 438.6 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.779e-05/0.3096, allocations: 28.7 kB / 438.7 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.132e-06/0.3096, allocations: 7.5 kB / 438.7 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.575e-06/0.3096, allocations: 5.125 kB / 438.7 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.3096, allocations: 1.875 kB / 438.7 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001199/0.3108, allocations: 0.9708 MB / 439.6 MB, free: 7.035 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/0.3108, allocations: 10.16 kB / 439.7 MB, free: 7.031 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003704/0.3112, allocations: 80.84 kB / 439.7 MB, free: 7.023 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/0.3112, allocations: 4.906 kB / 439.7 MB, free: 7.023 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.34e-05/0.3112, allocations: 10.31 kB / 439.7 MB, free: 7.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.39e-06/0.3112, allocations: 4.609 kB / 439.8 MB, free: 7.02 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.3112, allocations: 7.875 kB / 439.8 MB, free: 7.016 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000665/0.3119, allocations: 0.7048 MB / 440.5 MB, free: 6.461 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.639e-05/0.3119, allocations: 103.5 kB / 440.6 MB, free: 6.352 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.083e-05/0.3119, allocations: 13.47 kB / 440.6 MB, free: 6.348 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002708/0.3122, allocations: 11.28 kB / 440.6 MB, free: 6.344 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.69e-05/0.3123, allocations: 31.8 kB / 440.6 MB, free: 6.332 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.812e-05/0.3123, allocations: 12.78 kB / 440.6 MB, free: 6.332 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001105/0.3124, allocations: 145.3 kB / 440.8 MB, free: 6.238 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3124, allocations: 0 / 440.8 MB, free: 6.238 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004915/0.3129, allocations: 62.59 kB / 440.8 MB, free: 6.23 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.313, allocations: 119.8 kB / 441 MB, free: 6.129 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004938/0.3135, allocations: 231.7 kB / 441.2 MB, free: 6.055 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3135, allocations: 0 / 441.2 MB, free: 6.055 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002274/0.3138, allocations: 117 kB / 441.3 MB, free: 6.02 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000764/0.3145, allocations: 71.55 kB / 441.4 MB, free: 5.992 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001387/0.3159, allocations: 0.9786 MB / 442.3 MB, free: 5.254 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000199/0.3161, allocations: 0.7554 MB / 443.1 MB, free: 4.551 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.645e-05/0.3162, allocations: 30.5 kB / 443.1 MB, free: 4.543 MB / 350.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3162, allocations: 4 kB / 443.1 MB, free: 4.539 MB / 350.1 MB Notification: Performance of Templates: time 0.006768/0.323, allocations: 3.378 MB / 446.5 MB, free: 4.188 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: 7.33051765197888] Failed to read output from testmodel.py, exit status != 0: 0.3307076720520854 0.342629904 0.23010182 Calling exit ...