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.001416/0.001416, allocations: 106.5 kB / 19.74 MB, free: 2.453 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.001578/0.001578, allocations: 217.6 kB / 22.92 MB, free: 5.195 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.274/1.274, allocations: 230.4 MB / 256.4 MB, free: 8.262 MB / 206.1 MB " [Timeout remaining time 179] 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.001758/0.001758, allocations: 75.81 kB / 376.1 MB, free: 4.086 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2009/0.2026, allocations: 53.31 MB / 429.4 MB, free: 7.453 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.CompareBrakingForce): time 0.003169/0.2058, allocations: 2.382 MB / 431.8 MB, free: 5.062 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001171/0.207, allocations: 0.7712 MB / 432.5 MB, free: 4.285 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.122e-05/0.2071, allocations: 4 kB / 432.5 MB, free: 4.281 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001225/0.2072, allocations: 39.58 kB / 432.6 MB, free: 4.242 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002419/0.2074, allocations: 91.27 kB / 432.7 MB, free: 4.152 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002876/0.2077, allocations: 123.7 kB / 432.8 MB, free: 4.031 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003149/0.208, allocations: 306.7 kB / 433.1 MB, free: 3.73 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001277/0.2082, allocations: 40.73 kB / 433.1 MB, free: 3.684 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001251/0.2083, allocations: 119.5 kB / 433.3 MB, free: 3.566 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001732/0.2085, allocations: 127.4 kB / 433.4 MB, free: 3.441 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.414e-05/0.2085, allocations: 20 kB / 433.4 MB, free: 3.422 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.067e-05/0.2085, allocations: 24 kB / 433.4 MB, free: 3.398 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.031e-05/0.2086, allocations: 55.77 kB / 433.5 MB, free: 3.344 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001177/0.2087, allocations: 127.3 kB / 433.6 MB, free: 3.219 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002784/0.209, allocations: 271.2 kB / 433.9 MB, free: 2.957 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.209, allocations: 4 kB / 433.9 MB, free: 2.953 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.209, allocations: 4 kB / 433.9 MB, free: 2.949 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.209, allocations: 0 / 433.9 MB, free: 2.949 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.0008335/0.2098, allocations: 0.5493 MB / 434.4 MB, free: 2.352 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.169e-05/0.2098, allocations: 12.03 kB / 434.4 MB, free: 2.34 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.389e-05/0.2099, allocations: 54.73 kB / 434.5 MB, free: 2.277 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.116e-05/0.21, allocations: 32.75 kB / 434.5 MB, free: 2.246 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003002/0.2103, allocations: 260.7 kB / 434.8 MB, free: 1.949 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.135e-05/0.2103, allocations: 16.81 kB / 434.8 MB, free: 1.934 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.072e-05/0.2103, allocations: 24.38 kB / 434.8 MB, free: 1.91 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004025/0.2107, allocations: 250.7 kB / 435.1 MB, free: 1.648 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.814e-05/0.2107, allocations: 7.953 kB / 435.1 MB, free: 1.641 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.211e-05/0.2108, allocations: 8 kB / 435.1 MB, free: 1.633 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.2108, allocations: 4 kB / 435.1 MB, free: 1.629 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000353/0.2111, allocations: 163.8 kB / 435.2 MB, free: 1.469 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001211/0.2123, allocations: 1.02 MB / 436.3 MB, free: 372 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005198/0.2129, allocations: 282.6 kB / 436.5 MB, free: 52 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001847/0.213, allocations: 87.39 kB / 436.6 MB, free: 15.95 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.932e-05/0.2131, allocations: 7.938 kB / 436.6 MB, free: 15.95 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.218e-05/0.2131, allocations: 42.56 kB / 436.7 MB, free: 15.89 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 1.373e-06/0.2131, allocations: 3.938 kB / 436.7 MB, free: 15.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.001864/0.215, allocations: 1.333 MB / 438 MB, free: 14.37 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.765e-05/0.215, allocations: 136.5 kB / 438.1 MB, free: 14.2 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002124/0.2153, allocations: 206.7 kB / 438.3 MB, free: 13.99 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.799e-05/0.2153, allocations: 33.7 kB / 438.4 MB, free: 13.95 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.932e-05/0.2154, allocations: 152.7 kB / 438.5 MB, free: 13.8 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.361e-05/0.2155, allocations: 130.9 kB / 438.6 MB, free: 13.67 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.158e-05/0.2156, allocations: 70.12 kB / 438.7 MB, free: 13.6 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.2157, allocations: 334.8 kB / 439 MB, free: 13.26 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001923/0.2159, allocations: 76.84 kB / 439.1 MB, free: 13.18 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000262/0.2162, allocations: 202 kB / 439.3 MB, free: 12.94 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004695/0.2167, allocations: 293.8 kB / 439.6 MB, free: 12.6 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.2167, allocations: 0 / 439.6 MB, free: 12.6 MB / 350.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005975/0.2173, allocations: 353 kB / 439.9 MB, free: 12.25 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.2173, allocations: 8 kB / 440 MB, free: 12.24 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.2173, allocations: 0 / 440 MB, free: 12.24 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.2173, allocations: 8 kB / 440 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003344/0.2176, allocations: 95.83 kB / 440.1 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.269e-05/0.2176, allocations: 8 kB / 440.1 MB, free: 12.13 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001506/0.2178, allocations: 16.19 kB / 440.1 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.762e-05/0.2178, allocations: 19.98 kB / 440.1 MB, free: 12.1 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.000137/0.218, allocations: 153.7 kB / 440.3 MB, free: 11.94 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.233e-05/0.218, allocations: 23.86 kB / 440.3 MB, free: 11.91 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.619e-05/0.2181, allocations: 33.39 kB / 440.3 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.459e-06/0.2181, allocations: 4 kB / 440.3 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.2181, allocations: 7.938 kB / 440.3 MB, free: 11.87 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.2181, allocations: 3.938 kB / 440.3 MB, free: 11.87 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001341/0.2195, allocations: 0.9754 MB / 441.3 MB, free: 10.81 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.2195, allocations: 0 / 441.3 MB, free: 10.81 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000353/0.2198, allocations: 83.89 kB / 441.4 MB, free: 10.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/0.2198, allocations: 4 kB / 441.4 MB, free: 10.72 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.172e-05/0.2199, allocations: 8 kB / 441.4 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.154e-06/0.2199, allocations: 7.938 kB / 441.4 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.2199, allocations: 4 kB / 441.4 MB, free: 10.7 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000776/0.2206, allocations: 0.708 MB / 442.1 MB, free: 9.945 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.064e-05/0.2207, allocations: 101 kB / 442.2 MB, free: 9.828 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.947e-05/0.2207, allocations: 12 kB / 442.2 MB, free: 9.816 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002482/0.221, allocations: 8 kB / 442.2 MB, free: 9.809 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.458e-05/0.2211, allocations: 35.84 kB / 442.3 MB, free: 9.773 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.886e-05/0.2211, allocations: 15.98 kB / 442.3 MB, free: 9.758 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000115/0.2212, allocations: 140.6 kB / 442.4 MB, free: 9.621 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2212, allocations: 4 kB / 442.4 MB, free: 9.617 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004456/0.2216, allocations: 64 kB / 442.5 MB, free: 9.555 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.001062/0.2227, allocations: 1.245 MB / 443.7 MB, free: 8.254 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004774/0.2232, allocations: 227.8 kB / 444 MB, free: 8.031 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.2232, allocations: 0.5 kB / 444 MB, free: 8.031 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002252/0.2234, allocations: 119.8 kB / 444.1 MB, free: 7.914 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007101/0.2241, allocations: 80.88 kB / 444.1 MB, free: 7.84 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004189/0.2283, allocations: 3.476 MB / 447.6 MB, free: 4.137 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003778/0.2287, allocations: 0.7682 MB / 448.4 MB, free: 3.34 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001255/0.2288, allocations: 38.97 kB / 448.4 MB, free: 3.301 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001304/0.2289, allocations: 79.41 kB / 448.5 MB, free: 3.223 MB / 350.1 MB Notification: Performance of SimCode: time 5.01e-07/0.2289, allocations: 8 kB / 448.5 MB, free: 3.215 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03051/0.2595, allocations: 5.77 MB / 454.3 MB, free: 13.56 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.297/7.557, allocations: 7.625 kB / 454.3 MB, free: 13.55 MB / 366.1 MB " [Timeout remaining time 652] (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 --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: 9.589134966998245]