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.001283/0.001283, allocations: 118.7 kB / 18.5 MB, free: 4.602 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.001357/0.001357, allocations: 210.5 kB / 21.46 MB, free: 1.648 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.427/1.427, allocations: 230.4 MB / 254.7 MB, free: 15.03 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: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.CompareBrakingForce,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_Translational_Examples_CompareBrakingForce",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.CompareBrakingForce,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_Translational_Examples_CompareBrakingForce",fmuType="me",version="2.0",platforms={"static"}) [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.001839/0.001839, allocations: 59.84 kB / 373.6 MB, free: 10.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09813/0.09997, allocations: 53.31 MB / 426.9 MB, free: 4.871 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.CompareBrakingForce): time 0.003674/0.1036, allocations: 2.384 MB / 429.3 MB, free: 2.473 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001418/0.1051, allocations: 0.7673 MB / 430 MB, free: 1.699 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000122/0.1052, allocations: 4 kB / 430 MB, free: 1.695 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001632/0.1053, allocations: 39.59 kB / 430.1 MB, free: 1.656 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002706/0.1056, allocations: 87.27 kB / 430.1 MB, free: 1.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003336/0.1059, allocations: 115.7 kB / 430.3 MB, free: 1.457 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003378/0.1063, allocations: 302.6 kB / 430.6 MB, free: 1.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001569/0.1064, allocations: 48.72 kB / 430.6 MB, free: 1.105 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000172/0.1066, allocations: 115.6 kB / 430.7 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001709/0.1068, allocations: 127.5 kB / 430.8 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.964e-05/0.1068, allocations: 20 kB / 430.9 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.678e-05/0.1069, allocations: 20 kB / 430.9 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.06e-05/0.1069, allocations: 55.77 kB / 430.9 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000121/0.107, allocations: 131.3 kB / 431.1 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003094/0.1073, allocations: 274.8 kB / 431.3 MB, free: 384 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.1073, allocations: 0 / 431.3 MB, free: 384 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1073, allocations: 0 / 431.3 MB, free: 384 kB / 350.1 MB Notification: Performance of Transformations before backend: time 6.061e-06/0.1074, allocations: 0 / 431.3 MB, free: 384 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.1796/0.2869, allocations: 0.5482 MB / 431.9 MB, free: 11.2 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.287, allocations: 9.844 kB / 431.9 MB, free: 11.2 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.352e-05/0.287, allocations: 60.75 kB / 431.9 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.553e-05/0.2871, allocations: 30.88 kB / 432 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003501/0.2874, allocations: 260 kB / 432.2 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.254e-05/0.2875, allocations: 17.19 kB / 432.2 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.725e-05/0.2875, allocations: 24.28 kB / 432.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004292/0.2879, allocations: 241.8 kB / 432.5 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.102e-05/0.288, allocations: 10.17 kB / 432.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.087e-05/0.288, allocations: 13.09 kB / 432.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.478e-06/0.288, allocations: 6.938 kB / 432.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003408/0.2883, allocations: 160.4 kB / 432.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001061/0.2894, allocations: 1.012 MB / 433.7 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000502/0.2899, allocations: 288.2 kB / 434 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001533/0.2901, allocations: 87.11 kB / 434.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.817e-05/0.2901, allocations: 8.172 kB / 434.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.987e-05/0.2901, allocations: 37.75 kB / 434.1 MB, free: 10.03 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 2.455e-06/0.2901, allocations: 4.547 kB / 434.1 MB, free: 10.03 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.001668/0.2918, allocations: 1.34 MB / 435.5 MB, free: 9.047 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.662e-05/0.2918, allocations: 133.2 kB / 435.6 MB, free: 8.891 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000189/0.292, allocations: 209.4 kB / 435.8 MB, free: 8.785 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.858e-05/0.292, allocations: 30.05 kB / 435.8 MB, free: 8.754 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.12e-05/0.2921, allocations: 160 kB / 436 MB, free: 8.637 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.216e-05/0.2922, allocations: 123.5 kB / 436.1 MB, free: 8.555 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.969e-05/0.2923, allocations: 65.91 kB / 436.2 MB, free: 8.539 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.066e-05/0.2924, allocations: 341.6 kB / 436.5 MB, free: 8.223 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001761/0.2925, allocations: 83.73 kB / 436.6 MB, free: 8.219 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002209/0.2928, allocations: 200.1 kB / 436.8 MB, free: 8.066 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004156/0.2932, allocations: 304.5 kB / 437.1 MB, free: 7.863 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.2932, allocations: 2.062 kB / 437.1 MB, free: 7.863 MB / 350.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005662/0.2937, allocations: 340 kB / 437.4 MB, free: 7.738 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.2938, allocations: 6.469 kB / 437.4 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.2938, allocations: 3.25 kB / 437.4 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.446e-05/0.2938, allocations: 7.719 kB / 437.4 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003597/0.2941, allocations: 96.28 kB / 437.5 MB, free: 7.727 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.482e-05/0.2942, allocations: 8.203 kB / 437.5 MB, free: 7.727 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001584/0.2943, allocations: 11.7 kB / 437.5 MB, free: 7.723 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.137e-05/0.2944, allocations: 29.84 kB / 437.6 MB, free: 7.711 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.0001208/0.2945, allocations: 146.1 kB / 437.7 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.761e-05/0.2946, allocations: 25.47 kB / 437.7 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.382e-05/0.2946, allocations: 33.98 kB / 437.8 MB, free: 7.531 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.189e-06/0.2946, allocations: 4.5 kB / 437.8 MB, free: 7.531 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.215e-06/0.2946, allocations: 1.062 kB / 437.8 MB, free: 7.531 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.2947, allocations: 3.672 kB / 437.8 MB, free: 7.531 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001212/0.2959, allocations: 0.9726 MB / 438.8 MB, free: 6.781 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.199e-06/0.2959, allocations: 8.297 kB / 438.8 MB, free: 6.777 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003523/0.2962, allocations: 76.89 kB / 438.8 MB, free: 6.773 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.052e-06/0.2962, allocations: 3.812 kB / 438.8 MB, free: 6.773 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.126e-05/0.2962, allocations: 9.734 kB / 438.8 MB, free: 6.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.962e-06/0.2963, allocations: 5.484 kB / 438.9 MB, free: 6.77 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.2963, allocations: 12.05 kB / 438.9 MB, free: 6.762 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006906/0.297, allocations: 0.712 MB / 439.6 MB, free: 6.203 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.942e-05/0.297, allocations: 101 kB / 439.7 MB, free: 6.098 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.166e-05/0.2971, allocations: 10.12 kB / 439.7 MB, free: 6.094 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002522/0.2973, allocations: 13.84 kB / 439.7 MB, free: 6.086 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.916e-05/0.2974, allocations: 28.55 kB / 439.7 MB, free: 6.078 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.173e-05/0.2974, allocations: 15.28 kB / 439.7 MB, free: 6.074 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001267/0.2975, allocations: 144.7 kB / 439.9 MB, free: 5.98 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2975, allocations: 3.938 kB / 439.9 MB, free: 5.977 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004998/0.298, allocations: 70.69 kB / 440 MB, free: 5.965 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.0008831/0.2989, allocations: 1.235 MB / 441.2 MB, free: 4.898 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004971/0.2994, allocations: 231.6 kB / 441.4 MB, free: 4.824 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.2994, allocations: 0 / 441.4 MB, free: 4.824 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002135/0.2996, allocations: 125.3 kB / 441.5 MB, free: 4.781 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000741/0.3004, allocations: 65.67 kB / 441.6 MB, free: 4.758 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003813/0.3042, allocations: 3.484 MB / 445.1 MB, free: 2.094 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002826/0.3045, allocations: 0.7588 MB / 445.8 MB, free: 1.395 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002073/0.3047, allocations: 33.94 kB / 445.9 MB, free: 1.387 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000137/0.3048, allocations: 82.97 kB / 446 MB, free: 1.332 MB / 350.1 MB Notification: Performance of SimCode: time 1.212e-06/0.3048, allocations: 0 / 446 MB, free: 1.332 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03309/0.3379, allocations: 5.819 MB / 451.8 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.249/8.587, allocations: 15.05 kB / 451.8 MB, free: 0.6289 MB / 350.1 MB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Mechanics_Translational_Examples_CompareBrakingForce_fmu --startTime=0 --stopTime=5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Mechanics_Translational_Examples_CompareBrakingForce.fmu > Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.8100676080212] Failed to read output from testmodel.py, exit status != 0: 8.65817386796698 8.677468466 8.566798276 Calling exit ...