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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001116/0.001116, allocations: 197.5 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.3/1.3, allocations: 227.2 MB / 245 MB, free: 7.664 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009262/0.0009261, allocations: 100.7 kB / 297.2 MB, free: 6.203 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002486/0.0002486, allocations: 8 kB / 358 MB, free: 9.457 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.229/0.2293, allocations: 51.47 MB / 409.5 MB, free: 26.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09659/0.3259, allocations: 79.99 MB / 489.5 MB, free: 10.63 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002146/0.3262, allocations: 71.95 kB / 489.6 MB, free: 10.56 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01619/0.3424, allocations: 5.84 MB / 495.4 MB, free: 4.719 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3424, allocations: 3.938 kB / 495.4 MB, free: 4.715 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.166e-05/0.3424, allocations: 12 kB / 495.4 MB, free: 4.703 MB / 362.7 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.0008655/0.3433, allocations: 0.5027 MB / 495.9 MB, free: 4.152 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.139e-05/0.3434, allocations: 8.031 kB / 495.9 MB, free: 4.145 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.401e-05/0.3435, allocations: 62.53 kB / 496 MB, free: 4.074 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.795e-05/0.3435, allocations: 27.62 kB / 496 MB, free: 4.047 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000341/0.3439, allocations: 252 kB / 496.3 MB, free: 3.758 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.239e-05/0.3439, allocations: 12.44 kB / 496.3 MB, free: 3.746 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.332e-05/0.344, allocations: 31.86 kB / 496.3 MB, free: 3.715 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004507/0.3444, allocations: 238.7 kB / 496.5 MB, free: 3.461 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.317e-05/0.3445, allocations: 4 kB / 496.5 MB, free: 3.457 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.459e-05/0.3445, allocations: 11.94 kB / 496.5 MB, free: 3.445 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.3445, allocations: 8 kB / 496.6 MB, free: 3.438 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003654/0.3449, allocations: 163.8 kB / 496.7 MB, free: 3.277 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001355/0.3463, allocations: 1.036 MB / 497.7 MB, free: 2.156 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005517/0.3468, allocations: 302.4 kB / 498 MB, free: 1.824 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.484e-05/0.3469, allocations: 0 / 498 MB, free: 1.824 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.019e-05/0.3469, allocations: 38.56 kB / 498.1 MB, free: 1.777 MB / 362.7 MB Notification: Performance of pre-optimization done (n=28): time 1.563e-06/0.3469, allocations: 0 / 498.1 MB, free: 1.777 MB / 362.7 MB Notification: Performance of matching and sorting (n=32): time 0.001883/0.3488, allocations: 1.34 MB / 499.4 MB, free: 252 kB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.211e-05/0.3489, allocations: 136.5 kB / 499.6 MB, free: 84 kB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001846/0.3491, allocations: 182.1 kB / 499.7 MB, free: 15.9 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.705e-05/0.3491, allocations: 33.7 kB / 499.8 MB, free: 15.86 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001049/0.3492, allocations: 152.4 kB / 499.9 MB, free: 15.71 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.761e-05/0.3493, allocations: 114.4 kB / 0.4883 GB, free: 15.59 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.481e-05/0.3494, allocations: 8 kB / 0.4883 GB, free: 15.59 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001564/0.3495, allocations: 342.8 kB / 0.4886 GB, free: 15.24 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001859/0.3497, allocations: 76.84 kB / 0.4887 GB, free: 15.17 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002546/0.35, allocations: 205.9 kB / 0.4889 GB, free: 14.91 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000232/0.3502, allocations: 112 kB / 0.489 GB, free: 14.8 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.3502, allocations: 0 / 0.489 GB, free: 14.8 MB / 378.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0006044/0.3508, allocations: 340.9 kB / 0.4893 GB, free: 14.46 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/0.3509, allocations: 8 kB / 0.4893 GB, free: 14.46 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.949e-06/0.3509, allocations: 4 kB / 0.4894 GB, free: 14.45 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.069e-05/0.3509, allocations: 7.938 kB / 0.4894 GB, free: 14.45 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000362/0.3513, allocations: 95.89 kB / 0.4895 GB, free: 14.35 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.321e-05/0.3513, allocations: 8.328 kB / 0.4895 GB, free: 14.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001827/0.3515, allocations: 16.23 kB / 0.4895 GB, free: 14.33 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.968e-05/0.3515, allocations: 24 kB / 0.4895 GB, free: 14.3 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001542/0.3517, allocations: 145.7 kB / 0.4896 GB, free: 14.15 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001033/0.3518, allocations: 23.72 kB / 0.4897 GB, free: 14.13 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.51e-05/0.3519, allocations: 33.39 kB / 0.4897 GB, free: 14.09 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.3519, allocations: 4 kB / 0.4897 GB, free: 14.08 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.507e-06/0.3519, allocations: 4 kB / 0.4897 GB, free: 14.08 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.3519, allocations: 0 / 0.4897 GB, free: 14.08 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001476/0.3534, allocations: 0.9867 MB / 0.4907 GB, free: 13.01 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.074e-06/0.3534, allocations: 7.938 kB / 0.4907 GB, free: 13 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003918/0.3538, allocations: 75.89 kB / 0.4907 GB, free: 12.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-05/0.3539, allocations: 8 kB / 0.4908 GB, free: 12.92 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.787e-05/0.3539, allocations: 12 kB / 0.4908 GB, free: 12.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.579e-06/0.3539, allocations: 4.25 kB / 0.4908 GB, free: 12.9 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.097e-06/0.3539, allocations: 19.92 kB / 0.4908 GB, free: 12.88 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009295/0.3549, allocations: 0.8311 MB / 0.4916 GB, free: 11.93 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.53e-05/0.355, allocations: 100.8 kB / 0.4917 GB, free: 11.82 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.066e-05/0.355, allocations: 15.98 kB / 0.4917 GB, free: 11.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002643/0.3553, allocations: 12 kB / 0.4917 GB, free: 11.79 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.054e-05/0.3554, allocations: 31.86 kB / 0.4917 GB, free: 11.76 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.784e-05/0.3554, allocations: 12 kB / 0.4918 GB, free: 11.75 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00012/0.3555, allocations: 144.4 kB / 0.4919 GB, free: 11.61 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3555, allocations: 4 kB / 0.4919 GB, free: 11.6 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004732/0.356, allocations: 64 kB / 0.492 GB, free: 11.54 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001533/0.3575, allocations: 2.142 MB / 0.4941 GB, free: 9.305 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005223/0.3581, allocations: 236.5 kB / 0.4943 GB, free: 9.074 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.3581, allocations: 0 / 0.4943 GB, free: 9.074 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002368/0.3583, allocations: 124.2 kB / 0.4944 GB, free: 8.953 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005372/0.3589, allocations: 73.64 kB / 0.4945 GB, free: 8.887 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003922/0.3628, allocations: 4.326 MB / 0.4987 GB, free: 4.41 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003336/0.3632, allocations: 0.7764 MB / 0.4995 GB, free: 3.605 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001524/0.3633, allocations: 30.97 kB / 0.4995 GB, free: 3.574 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000141/0.3635, allocations: 83.34 kB / 0.4996 GB, free: 3.492 MB / 378.7 MB Notification: Performance of SimCode: time 4.31e-07/0.3635, allocations: 4 kB / 0.4996 GB, free: 3.488 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2065/0.5699, allocations: 5.086 MB / 0.5045 GB, free: 96.45 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001746/0.5702, allocations: 196.5 kB / 0.5047 GB, free: 96.21 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.833/2.403, allocations: 0 / 0.5047 GB, free: 96.21 MB / 378.7 MB (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/linux/bin/OMSimulator --tempDir=temp_Modelica_trunk_Modelica_Mechanics_Translational_Examples_CompareBrakingForce_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_Translational_Examples_CompareBrakingForce.fmu > Modelica_trunk_Modelica.Mechanics.Translational.Examples.CompareBrakingForce.pipe 2>&1)