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.001322/0.001322, allocations: 116.7 kB / 19.18 MB, free: 3.762 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.001412/0.001412, allocations: 210.6 kB / 22.13 MB, free: 0.8125 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.424/1.424, allocations: 230.4 MB / 255.4 MB, free: 15.17 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.001877/0.001877, allocations: 71.83 kB / 374.7 MB, free: 9.785 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09527/0.09715, allocations: 53.31 MB / 428 MB, free: 4.383 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.CompareBrakingForce): time 0.00367/0.1008, allocations: 2.376 MB / 430.4 MB, free: 1.992 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001421/0.1022, allocations: 0.7673 MB / 431.2 MB, free: 1.219 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001222/0.1024, allocations: 7.938 kB / 431.2 MB, free: 1.211 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001459/0.1025, allocations: 39.58 kB / 431.2 MB, free: 1.172 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002643/0.1028, allocations: 83.33 kB / 431.3 MB, free: 1.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003349/0.1031, allocations: 119.7 kB / 431.4 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003549/0.1035, allocations: 306.6 kB / 431.7 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001478/0.1036, allocations: 48.72 kB / 431.8 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001429/0.1038, allocations: 107.6 kB / 431.9 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001866/0.1039, allocations: 135.4 kB / 432 MB, free: 388 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.505e-05/0.104, allocations: 20 kB / 432 MB, free: 368 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.357e-05/0.104, allocations: 23.94 kB / 432.1 MB, free: 344 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.352e-05/0.1041, allocations: 51.83 kB / 432.1 MB, free: 292 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001292/0.1042, allocations: 131.3 kB / 432.2 MB, free: 160 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1873/0.2915, allocations: 265.4 kB / 432.5 MB, free: 8.758 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.682e-06/0.2915, allocations: 1.25 kB / 432.5 MB, free: 8.758 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.2915, allocations: 0.9062 kB / 432.5 MB, free: 8.758 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.558e-05/0.2915, allocations: 0 / 432.5 MB, free: 8.758 MB / 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.0008851/0.2924, allocations: 0.5561 MB / 433.1 MB, free: 8.324 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.2924, allocations: 9.156 kB / 433.1 MB, free: 8.324 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.98e-05/0.2925, allocations: 34.44 kB / 433.1 MB, free: 8.309 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002923/0.2928, allocations: 262.7 kB / 433.4 MB, free: 8.09 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.379e-05/0.2928, allocations: 20.83 kB / 433.4 MB, free: 8.09 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.416e-05/0.2929, allocations: 20.97 kB / 433.4 MB, free: 8.09 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004026/0.2933, allocations: 237.1 kB / 433.6 MB, free: 8.023 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.142e-05/0.2933, allocations: 13.39 kB / 433.6 MB, free: 8.016 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.121e-05/0.2933, allocations: 6.156 kB / 433.6 MB, free: 8.016 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.237e-06/0.2933, allocations: 5.344 kB / 433.7 MB, free: 8.016 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003849/0.2937, allocations: 164.5 kB / 433.8 MB, free: 8.016 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001055/0.2947, allocations: 1.018 MB / 434.8 MB, free: 7.344 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004792/0.2952, allocations: 279.3 kB / 435.1 MB, free: 7.25 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001475/0.2954, allocations: 90.05 kB / 435.2 MB, free: 7.219 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.51e-05/0.2954, allocations: 8.875 kB / 435.2 MB, free: 7.219 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.008e-05/0.2954, allocations: 37.22 kB / 435.2 MB, free: 7.18 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 1.412e-06/0.2954, allocations: 0.75 kB / 435.2 MB, free: 7.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.001559/0.297, allocations: 1.342 MB / 436.6 MB, free: 6.188 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.202e-05/0.297, allocations: 134.8 kB / 436.7 MB, free: 6.031 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001621/0.2972, allocations: 203.4 kB / 436.9 MB, free: 5.922 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.605e-05/0.2972, allocations: 33.77 kB / 436.9 MB, free: 5.891 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.235e-05/0.2973, allocations: 155.6 kB / 437.1 MB, free: 5.777 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.632e-05/0.2973, allocations: 129.5 kB / 437.2 MB, free: 5.695 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.676e-05/0.2974, allocations: 65.09 kB / 437.3 MB, free: 5.68 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.72e-05/0.2975, allocations: 338 kB / 437.6 MB, free: 5.363 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000183/0.2977, allocations: 81.94 kB / 437.7 MB, free: 5.359 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002155/0.2979, allocations: 201.4 kB / 437.9 MB, free: 5.227 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003869/0.2983, allocations: 301.4 kB / 438.2 MB, free: 5.094 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.2983, allocations: 5.438 kB / 438.2 MB, free: 5.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005369/0.2988, allocations: 347.3 kB / 438.5 MB, free: 5.039 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.2988, allocations: 7.688 kB / 438.5 MB, free: 5.039 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.355e-06/0.2988, allocations: 4 kB / 438.5 MB, free: 5.039 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.139e-05/0.2989, allocations: 5.656 kB / 438.5 MB, free: 5.039 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003437/0.2992, allocations: 92.78 kB / 438.6 MB, free: 5.039 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.414e-05/0.2992, allocations: 16.77 kB / 438.7 MB, free: 5.035 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000157/0.2994, allocations: 12.44 kB / 438.7 MB, free: 5.035 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.855e-05/0.2994, allocations: 19.12 kB / 438.7 MB, free: 5.031 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.0001016/0.2995, allocations: 145.9 kB / 438.8 MB, free: 4.918 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.721e-05/0.2996, allocations: 25.77 kB / 438.9 MB, free: 4.906 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.757e-05/0.2997, allocations: 32.77 kB / 438.9 MB, free: 4.898 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-06/0.2997, allocations: 4.188 kB / 438.9 MB, free: 4.898 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.656e-06/0.2997, allocations: 5.688 kB / 438.9 MB, free: 4.898 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.311e-06/0.2997, allocations: 6.891 kB / 438.9 MB, free: 4.895 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001189/0.3009, allocations: 0.972 MB / 439.9 MB, free: 4.293 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.3009, allocations: 2.406 kB / 439.9 MB, free: 4.293 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000383/0.3013, allocations: 80.53 kB / 440 MB, free: 4.293 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.043e-06/0.3013, allocations: 5.234 kB / 440 MB, free: 4.293 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.206e-05/0.3013, allocations: 9.094 kB / 440 MB, free: 4.293 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.3013, allocations: 5.125 kB / 440 MB, free: 4.293 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.3013, allocations: 7.25 kB / 440 MB, free: 4.293 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006502/0.302, allocations: 0.707 MB / 440.7 MB, free: 3.836 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.577e-05/0.302, allocations: 98.39 kB / 440.8 MB, free: 3.73 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.82e-05/0.302, allocations: 11.02 kB / 440.8 MB, free: 3.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002538/0.3023, allocations: 11.41 kB / 440.8 MB, free: 3.73 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.65e-05/0.3024, allocations: 38.56 kB / 440.8 MB, free: 3.723 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.912e-05/0.3024, allocations: 14.86 kB / 440.9 MB, free: 3.723 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001094/0.3025, allocations: 140.2 kB / 441 MB, free: 3.648 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3025, allocations: 1.438 kB / 441 MB, free: 3.648 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000476/0.303, allocations: 67.48 kB / 441.1 MB, free: 3.648 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.0001079/0.3031, allocations: 107.3 kB / 441.2 MB, free: 3.562 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004908/0.3036, allocations: 232.2 kB / 441.4 MB, free: 3.512 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3036, allocations: 0 / 441.4 MB, free: 3.512 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002211/0.3038, allocations: 118.7 kB / 441.5 MB, free: 3.484 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007291/0.3045, allocations: 71.06 kB / 441.6 MB, free: 3.465 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001374/0.3059, allocations: 0.9755 MB / 442.6 MB, free: 2.738 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002138/0.3061, allocations: 0.7599 MB / 443.3 MB, free: 2.035 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.261e-05/0.3062, allocations: 33.09 kB / 443.3 MB, free: 2.023 MB / 350.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3062, allocations: 0 / 443.3 MB, free: 2.023 MB / 350.1 MB Notification: Performance of Templates: time 0.006249/0.3124, allocations: 3.385 MB / 446.7 MB, free: 1.668 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.9464546190574765] Failed to read output from testmodel.py, exit status != 0: 0.3202348998747766 0.332938873 0.038732875 Calling exit ...