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.001259/0.001259, allocations: 109 kB / 21.23 MB, free: 0.6719 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.00141/0.00141, allocations: 209.2 kB / 24.53 MB, free: 4.035 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.402/1.402, allocations: 230.6 MB / 258.3 MB, free: 8.07 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.001945/0.001945, allocations: 64.78 kB / 378.5 MB, free: 3.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2789/0.2809, allocations: 53.37 MB / 431.9 MB, free: 6.918 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.CompareBrakingForce): time 0.004172/0.285, allocations: 2.378 MB / 434.3 MB, free: 4.531 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001527/0.2866, allocations: 0.7751 MB / 435.1 MB, free: 3.75 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001381/0.2867, allocations: 7.938 kB / 435.1 MB, free: 3.742 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001504/0.2869, allocations: 43.58 kB / 435.1 MB, free: 3.699 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002705/0.2871, allocations: 87.33 kB / 435.2 MB, free: 3.613 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003262/0.2875, allocations: 111.7 kB / 435.3 MB, free: 3.504 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000371/0.2878, allocations: 314.6 kB / 435.6 MB, free: 3.195 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001464/0.288, allocations: 40.92 kB / 435.7 MB, free: 3.152 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001489/0.2881, allocations: 123.5 kB / 435.8 MB, free: 3.031 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001813/0.2883, allocations: 127.5 kB / 435.9 MB, free: 2.906 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.352e-05/0.2883, allocations: 20 kB / 435.9 MB, free: 2.887 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.974e-05/0.2884, allocations: 20 kB / 435.9 MB, free: 2.867 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.833e-05/0.2884, allocations: 55.77 kB / 436 MB, free: 2.812 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001157/0.2886, allocations: 127.3 kB / 436.1 MB, free: 2.688 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003269/0.2889, allocations: 279.6 kB / 436.4 MB, free: 2.418 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.2889, allocations: 0 / 436.4 MB, free: 2.418 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2889, allocations: 4 kB / 436.4 MB, free: 2.414 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.314e-06/0.2889, allocations: 0 / 436.4 MB, free: 2.414 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.0009419/0.2898, allocations: 489.4 kB / 436.9 MB, free: 1.906 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.2899, allocations: 12.03 kB / 436.9 MB, free: 1.895 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.749e-05/0.2899, allocations: 58.73 kB / 436.9 MB, free: 1.828 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.74e-05/0.29, allocations: 28.75 kB / 437 MB, free: 1.801 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003828/0.2904, allocations: 199.8 kB / 437.2 MB, free: 1.578 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.883e-05/0.2904, allocations: 16.81 kB / 437.2 MB, free: 1.562 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.263e-05/0.2905, allocations: 24.38 kB / 437.2 MB, free: 1.539 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004389/0.2909, allocations: 246.8 kB / 437.5 MB, free: 1.281 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.995e-05/0.2909, allocations: 3.953 kB / 437.5 MB, free: 1.277 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.625e-05/0.2909, allocations: 15.98 kB / 437.5 MB, free: 1.262 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.164e-06/0.2909, allocations: 4 kB / 437.5 MB, free: 1.258 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003748/0.2913, allocations: 159.8 kB / 437.6 MB, free: 1.102 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00131/0.2926, allocations: 0.9726 MB / 438.6 MB, free: 52 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005664/0.2932, allocations: 286.1 kB / 438.9 MB, free: 15.73 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001771/0.2934, allocations: 91.39 kB / 439 MB, free: 15.63 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.83e-05/0.2934, allocations: 4.625 kB / 439 MB, free: 15.63 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.659e-05/0.2934, allocations: 42.5 kB / 439 MB, free: 15.58 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 1.323e-06/0.2934, allocations: 0 / 439 MB, free: 15.58 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.001865/0.2953, allocations: 1.04 MB / 440.1 MB, free: 14.42 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001023/0.2954, allocations: 140.4 kB / 440.2 MB, free: 14.25 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002256/0.2956, allocations: 210.7 kB / 440.4 MB, free: 14.04 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.895e-05/0.2957, allocations: 37.64 kB / 440.4 MB, free: 14 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001202/0.2958, allocations: 152.7 kB / 440.6 MB, free: 13.84 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.778e-05/0.2959, allocations: 123 kB / 440.7 MB, free: 13.72 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001038/0.296, allocations: 70.12 kB / 440.8 MB, free: 13.64 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.2961, allocations: 338.8 kB / 441.1 MB, free: 13.3 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001968/0.2963, allocations: 84.83 kB / 441.2 MB, free: 13.22 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002761/0.2966, allocations: 198 kB / 441.4 MB, free: 12.98 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004916/0.2971, allocations: 293.5 kB / 441.7 MB, free: 12.64 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.061e-06/0.2971, allocations: 4 kB / 441.7 MB, free: 12.64 MB / 350.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.000619/0.2977, allocations: 349.3 kB / 442 MB, free: 12.29 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/0.2977, allocations: 8 kB / 442 MB, free: 12.28 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.2978, allocations: 4 kB / 442 MB, free: 12.28 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.2e-05/0.2978, allocations: 7.938 kB / 442 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003814/0.2982, allocations: 95.83 kB / 442.1 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.736e-05/0.2982, allocations: 8 kB / 442.1 MB, free: 12.17 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001601/0.2983, allocations: 20.17 kB / 442.2 MB, free: 12.15 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.035e-05/0.2984, allocations: 20 kB / 442.2 MB, free: 12.13 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.0001767/0.2985, allocations: 145.7 kB / 442.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.73e-05/0.2986, allocations: 23.86 kB / 442.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.885e-05/0.2987, allocations: 29.39 kB / 442.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.259e-06/0.2987, allocations: 4 kB / 442.4 MB, free: 11.92 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.919e-06/0.2987, allocations: 4 kB / 442.4 MB, free: 11.92 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.2987, allocations: 3.938 kB / 442.4 MB, free: 11.91 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00145/0.3002, allocations: 0.947 MB / 443.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.3002, allocations: 256 / 443.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003617/0.3005, allocations: 79.91 kB / 443.4 MB, free: 10.81 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/0.3006, allocations: 4 kB / 443.4 MB, free: 10.81 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.318e-05/0.3006, allocations: 11.98 kB / 443.4 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.044e-06/0.3006, allocations: 7.938 kB / 443.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/0.3006, allocations: 4 kB / 443.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008235/0.3014, allocations: 0.7041 MB / 444.1 MB, free: 10.03 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.819e-05/0.3015, allocations: 19.86 kB / 444.2 MB, free: 10.01 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.552e-05/0.3015, allocations: 15.98 kB / 444.2 MB, free: 9.996 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002555/0.3018, allocations: 11.94 kB / 444.2 MB, free: 9.984 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.229e-05/0.3018, allocations: 35.83 kB / 444.2 MB, free: 9.949 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.898e-05/0.3018, allocations: 16 kB / 444.2 MB, free: 9.934 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001269/0.302, allocations: 140.6 kB / 444.4 MB, free: 9.797 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.302, allocations: 0 / 444.4 MB, free: 9.797 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004616/0.3024, allocations: 68 kB / 444.4 MB, free: 9.73 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.001163/0.3036, allocations: 1.246 MB / 445.7 MB, free: 8.43 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005032/0.3041, allocations: 227.6 kB / 445.9 MB, free: 8.207 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3041, allocations: 0.5 kB / 445.9 MB, free: 8.207 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002411/0.3043, allocations: 123.8 kB / 446 MB, free: 8.086 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007198/0.3051, allocations: 74.7 kB / 446.1 MB, free: 8.02 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004493/0.3096, allocations: 3.492 MB / 449.6 MB, free: 4.301 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004265/0.31, allocations: 0.7604 MB / 450.4 MB, free: 3.516 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001461/0.3101, allocations: 38.95 kB / 450.4 MB, free: 3.477 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001461/0.3103, allocations: 79.41 kB / 450.5 MB, free: 3.398 MB / 350.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3103, allocations: 3.938 kB / 450.5 MB, free: 3.395 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03322/0.3435, allocations: 6.012 MB / 456.5 MB, free: 13.49 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.412/8.756, allocations: 0 / 456.5 MB, free: 13.49 MB / 366.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 -r=Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.CompareBrakingForce_res.mat --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: 11.050952763762325] Failed to read output from testmodel.py, exit status != 0: ['time', 'mass1.v', 'mass2.v', 'mass3.v', 'mass4.v'] 8.829835340380669 8.846759439 8.554672356 Calling exit ...