Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.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.Accelerate,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_Accelerate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Accelerate,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_Accelerate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001099/0.001099, allocations: 202.7 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.294/1.294, allocations: 227.2 MB / 245 MB, free: 7.621 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008315/0.0008314, allocations: 96.73 kB / 297.2 MB, free: 6.203 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002278/0.0002281, allocations: 4 kB / 358 MB, free: 9.465 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2205/0.2208, allocations: 51.48 MB / 409.5 MB, free: 26.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0947/0.3155, allocations: 77.13 MB / 486.6 MB, free: 13.5 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002295/0.3158, allocations: 63.97 kB / 486.7 MB, free: 13.43 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003845/0.3197, allocations: 1.368 MB / 488 MB, free: 12.07 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.314e-06/0.3197, allocations: 0 / 488 MB, free: 12.07 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.079e-05/0.3197, allocations: 0 / 488 MB, free: 12.07 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004201/0.3201, allocations: 351.2 kB / 488.4 MB, free: 11.68 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.481e-05/0.3202, allocations: 12.03 kB / 488.4 MB, free: 11.67 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.075e-05/0.3203, allocations: 38.56 kB / 488.4 MB, free: 11.62 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.903e-05/0.3203, allocations: 7.906 kB / 488.4 MB, free: 11.61 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000221/0.3205, allocations: 178.9 kB / 488.6 MB, free: 11.4 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.077e-05/0.3206, allocations: 4 kB / 488.6 MB, free: 11.39 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.68e-05/0.3206, allocations: 15.94 kB / 488.6 MB, free: 11.38 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001629/0.3208, allocations: 60.64 kB / 488.7 MB, free: 11.32 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.603e-05/0.3208, allocations: 7.984 kB / 488.7 MB, free: 11.31 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.3208, allocations: 4 kB / 488.7 MB, free: 11.3 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.3208, allocations: 0 / 488.7 MB, free: 11.3 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.921e-05/0.3209, allocations: 39.92 kB / 488.8 MB, free: 11.27 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007215/0.3217, allocations: 379.5 kB / 489.1 MB, free: 10.84 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001083/0.3218, allocations: 58.5 kB / 489.2 MB, free: 10.77 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.887e-06/0.3218, allocations: 0 / 489.2 MB, free: 10.77 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.947e-05/0.3218, allocations: 38.56 kB / 489.2 MB, free: 10.73 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.413e-06/0.3219, allocations: 3.938 kB / 489.2 MB, free: 10.72 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0008312/0.3227, allocations: 0.5132 MB / 489.7 MB, free: 10.12 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.642e-05/0.3227, allocations: 51.41 kB / 489.8 MB, free: 10.05 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.897e-05/0.3229, allocations: 109.1 kB / 489.9 MB, free: 9.938 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.072e-05/0.3229, allocations: 37.64 kB / 489.9 MB, free: 9.895 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.984e-05/0.3229, allocations: 88.05 kB / 490 MB, free: 9.805 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.938e-05/0.323, allocations: 39.45 kB / 490.1 MB, free: 9.766 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.428e-06/0.323, allocations: 0 / 490.1 MB, free: 9.766 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001306/0.3231, allocations: 322.8 kB / 490.4 MB, free: 9.441 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.435e-05/0.3232, allocations: 12 kB / 490.4 MB, free: 9.43 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.339e-05/0.3233, allocations: 68.7 kB / 490.4 MB, free: 9.348 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.396e-05/0.3233, allocations: 31.97 kB / 490.5 MB, free: 9.316 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.3233, allocations: 0 / 490.5 MB, free: 9.316 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001776/0.3235, allocations: 105.5 kB / 490.6 MB, free: 9.207 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.3235, allocations: 4 kB / 490.6 MB, free: 9.203 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.3236, allocations: 4 kB / 490.6 MB, free: 9.199 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.3236, allocations: 4.094 kB / 490.6 MB, free: 9.195 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.102e-05/0.3237, allocations: 23.98 kB / 490.6 MB, free: 9.172 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.227e-05/0.3237, allocations: 7.938 kB / 490.6 MB, free: 9.164 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.35e-05/0.3237, allocations: 4 kB / 490.6 MB, free: 9.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.017e-05/0.3238, allocations: 7.953 kB / 490.6 MB, free: 9.152 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (13): * Single equations (assignments): 13 * 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.0001118/0.3239, allocations: 117.8 kB / 490.8 MB, free: 9.027 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.013e-05/0.3239, allocations: 7.906 kB / 490.8 MB, free: 9.02 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.763e-05/0.324, allocations: 12.83 kB / 490.8 MB, free: 9.008 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.324, allocations: 4 kB / 490.8 MB, free: 9.004 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.324, allocations: 4 kB / 490.8 MB, free: 9 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.324, allocations: 0 / 490.8 MB, free: 9 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005019/0.3245, allocations: 414.5 kB / 491.2 MB, free: 8.523 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.3245, allocations: 3.938 kB / 491.2 MB, free: 8.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001215/0.3246, allocations: 24.16 kB / 491.2 MB, free: 8.496 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.3246, allocations: 0 / 491.2 MB, free: 8.496 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.516e-05/0.3247, allocations: 4 kB / 491.2 MB, free: 8.492 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.552e-06/0.3247, allocations: 7.938 kB / 491.2 MB, free: 8.484 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.3247, allocations: 7.938 kB / 491.2 MB, free: 8.477 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003451/0.325, allocations: 288.2 kB / 491.5 MB, free: 8.133 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.876e-05/0.3251, allocations: 85.02 kB / 491.6 MB, free: 8.031 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.801e-05/0.3251, allocations: 0 / 491.6 MB, free: 8.031 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.715e-05/0.3252, allocations: 12.06 kB / 491.6 MB, free: 8.02 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.969e-05/0.3252, allocations: 15.88 kB / 491.6 MB, free: 8.004 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.231e-06/0.3253, allocations: 4 kB / 491.6 MB, free: 8 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.159e-05/0.3253, allocations: 91.27 kB / 491.7 MB, free: 7.91 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3253, allocations: 0 / 491.7 MB, free: 7.91 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002504/0.3256, allocations: 16 kB / 491.7 MB, free: 7.895 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (accelerate.s,accelerate.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 (9): * Single equations (assignments): 9 * 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.000706/0.3263, allocations: 1.162 MB / 492.9 MB, free: 6.668 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001589/0.3265, allocations: 64.22 kB / 493 MB, free: 6.605 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.3265, allocations: 480 / 493 MB, free: 6.605 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.991e-05/0.3265, allocations: 28.03 kB / 493 MB, free: 6.578 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002743/0.3268, allocations: 18 kB / 493 MB, free: 6.562 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001468/0.3283, allocations: 1.517 MB / 494.5 MB, free: 4.969 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002574/0.3286, allocations: 0.6965 MB / 495.2 MB, free: 4.246 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.673e-05/0.3286, allocations: 4.438 kB / 495.2 MB, free: 4.242 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.057e-05/0.3287, allocations: 27.42 kB / 495.2 MB, free: 4.215 MB / 362.7 MB Notification: Performance of SimCode: time 4.719e-06/0.3287, allocations: 0 / 495.2 MB, free: 4.215 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01203/0.3407, allocations: 1.626 MB / 496.9 MB, free: 2.723 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001823/0.3409, allocations: 187.2 kB / 497.1 MB, free: 2.477 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.506/1.847, allocations: 0 / 497.1 MB, free: 2.477 MB / 362.7 MB (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_Translational_Examples_Accelerate_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_Translational_Examples_Accelerate.fmu > Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Mechanics.Translational.Examples.Accelerate_res.mat does not exist to compare? outputFormat=mat