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.001785/0.001785, allocations: 119.7 kB / 18.5 MB, free: 4.41 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.002246/0.002246, allocations: 217.6 kB / 21.46 MB, free: 1.449 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.407/1.407, allocations: 230.2 MB / 254.5 MB, free: 15.25 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: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.CompareBrakingForce,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_CompareBrakingForce",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.CompareBrakingForce,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_CompareBrakingForce",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001819/0.001819, allocations: 71.88 kB / 373.3 MB, free: 10.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09789/0.09971, allocations: 53.32 MB / 426.7 MB, free: 5.066 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.CompareBrakingForce): time 0.003618/0.1033, allocations: 2.364 MB / 429 MB, free: 2.691 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001487/0.1048, allocations: 0.7712 MB / 429.8 MB, free: 1.914 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001379/0.105, allocations: 4 kB / 429.8 MB, free: 1.91 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001622/0.1051, allocations: 35.59 kB / 429.8 MB, free: 1.875 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002948/0.1054, allocations: 91.25 kB / 429.9 MB, free: 1.785 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000375/0.1058, allocations: 119.7 kB / 430 MB, free: 1.668 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003908/0.1062, allocations: 310.6 kB / 430.3 MB, free: 1.363 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001524/0.1063, allocations: 44.72 kB / 430.4 MB, free: 1.312 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001564/0.1065, allocations: 111.6 kB / 430.5 MB, free: 1.203 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001849/0.1067, allocations: 127.4 kB / 430.6 MB, free: 1.078 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.917e-05/0.1067, allocations: 20 kB / 430.6 MB, free: 1.059 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.697e-05/0.1067, allocations: 23.94 kB / 430.7 MB, free: 1.035 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.798e-05/0.1068, allocations: 51.78 kB / 430.7 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001271/0.1069, allocations: 131.3 kB / 430.8 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003318/0.1073, allocations: 274.8 kB / 431.1 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.1073, allocations: 0 / 431.1 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1073, allocations: 0 / 431.1 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.185e-05/0.1073, allocations: 4 kB / 431.1 MB, free: 0.582 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.1898/0.2971, allocations: 0.5494 MB / 431.7 MB, free: 11.44 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.2972, allocations: 12.47 kB / 431.7 MB, free: 11.44 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.12e-05/0.2972, allocations: 54.45 kB / 431.7 MB, free: 11.4 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.434e-05/0.2973, allocations: 32.27 kB / 431.8 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003591/0.2977, allocations: 259.2 kB / 432 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.329e-05/0.2977, allocations: 16.44 kB / 432 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.858e-05/0.2977, allocations: 26.59 kB / 432.1 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004163/0.2981, allocations: 239.6 kB / 432.3 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.005e-05/0.2982, allocations: 9.359 kB / 432.3 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.044e-05/0.2982, allocations: 10.66 kB / 432.3 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-06/0.2982, allocations: 5.406 kB / 432.3 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003397/0.2985, allocations: 161 kB / 432.5 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001029/0.2996, allocations: 1.015 MB / 433.5 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004499/0.3, allocations: 284.9 kB / 433.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001434/0.3002, allocations: 90.59 kB / 433.9 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.324e-05/0.3002, allocations: 6.312 kB / 433.9 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.442e-05/0.3002, allocations: 38.62 kB / 433.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of pre-optimization done (n=28): time 1.432e-06/0.3002, allocations: 2.062 kB / 433.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.00146/0.3017, allocations: 1.335 MB / 435.2 MB, free: 9.289 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.385e-05/0.3017, allocations: 138.7 kB / 435.4 MB, free: 9.133 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001572/0.3018, allocations: 202.8 kB / 435.6 MB, free: 9.027 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.49e-05/0.3019, allocations: 31.45 kB / 435.6 MB, free: 8.996 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.174e-05/0.3019, allocations: 158.5 kB / 435.8 MB, free: 8.879 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.551e-05/0.302, allocations: 131.8 kB / 435.9 MB, free: 8.797 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.966e-05/0.3021, allocations: 73.61 kB / 436 MB, free: 8.781 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.421e-05/0.3021, allocations: 333.2 kB / 436.3 MB, free: 8.469 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001685/0.3023, allocations: 80.47 kB / 436.4 MB, free: 8.465 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002098/0.3025, allocations: 199.4 kB / 436.6 MB, free: 8.328 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003643/0.3029, allocations: 306 kB / 436.9 MB, free: 8.113 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3029, allocations: 0 / 436.9 MB, free: 8.113 MB / 350.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005056/0.3034, allocations: 343.3 kB / 437.2 MB, free: 7.988 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.3034, allocations: 6.531 kB / 437.2 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.3034, allocations: 4.25 kB / 437.2 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.076e-05/0.3034, allocations: 11.22 kB / 437.2 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003335/0.3037, allocations: 88.7 kB / 437.3 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/0.3038, allocations: 13.78 kB / 437.3 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001524/0.3039, allocations: 16.48 kB / 437.3 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.488e-05/0.3039, allocations: 17.59 kB / 437.3 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 9.024e-05/0.304, allocations: 138.8 kB / 437.5 MB, free: 7.832 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.457e-05/0.3041, allocations: 34.61 kB / 437.5 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.924e-05/0.3042, allocations: 34.02 kB / 437.5 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.3042, allocations: 5.219 kB / 437.5 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.849e-06/0.3042, allocations: 4.031 kB / 437.6 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.3042, allocations: 5.125 kB / 437.6 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001088/0.3053, allocations: 0.968 MB / 438.5 MB, free: 7.035 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/0.3053, allocations: 4.203 kB / 438.5 MB, free: 7.035 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003467/0.3056, allocations: 80.98 kB / 438.6 MB, free: 7.027 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-06/0.3056, allocations: 5 kB / 438.6 MB, free: 7.027 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.138e-05/0.3057, allocations: 14.86 kB / 438.6 MB, free: 7.023 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.3057, allocations: 4.906 kB / 438.6 MB, free: 7.023 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.3057, allocations: 16.2 kB / 438.6 MB, free: 7.012 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006038/0.3063, allocations: 0.6962 MB / 439.3 MB, free: 6.465 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.238e-05/0.3063, allocations: 103.4 kB / 439.4 MB, free: 6.355 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.805e-05/0.3064, allocations: 11.77 kB / 439.5 MB, free: 6.352 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002559/0.3066, allocations: 18.17 kB / 439.5 MB, free: 6.34 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.515e-05/0.3067, allocations: 27.91 kB / 439.5 MB, free: 6.332 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.622e-05/0.3067, allocations: 9.766 kB / 439.5 MB, free: 6.332 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001028/0.3068, allocations: 149.9 kB / 439.7 MB, free: 6.238 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3068, allocations: 3.828 kB / 439.7 MB, free: 6.238 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004582/0.3073, allocations: 62.12 kB / 439.7 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.0007907/0.308, allocations: 1.242 MB / 441 MB, free: 5.156 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004615/0.3085, allocations: 238.6 kB / 441.2 MB, free: 5.078 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.3085, allocations: 0 / 441.2 MB, free: 5.078 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002076/0.3087, allocations: 118.5 kB / 441.3 MB, free: 5.039 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007285/0.3094, allocations: 72.03 kB / 441.4 MB, free: 5.02 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003636/0.3131, allocations: 3.492 MB / 444.9 MB, free: 2.348 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002225/0.3133, allocations: 0.7588 MB / 445.6 MB, free: 1.645 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001508/0.3135, allocations: 37.44 kB / 445.7 MB, free: 1.637 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001269/0.3136, allocations: 81.92 kB / 445.8 MB, free: 1.582 MB / 350.1 MB Notification: Performance of SimCode: time 6.61e-07/0.3136, allocations: 0 / 445.8 MB, free: 1.582 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0313/0.3449, allocations: 5.797 MB / 451.5 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.568/8.913, allocations: 11.55 kB / 451.6 MB, free: 0.8633 MB / 350.1 MB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Modelica_trunk_Modelica_Mechanics_Translational_Examples_CompareBrakingForce_fmu --startTime=0 --stopTime=5 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_Translational_Examples_CompareBrakingForce.fmu > Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.039277133066207] Failed to read output from testmodel.py, exit status != 0: 8.981703080702573 8.998326908 8.887456542 Calling exit ...