Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Accelerate,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_Accelerate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Accelerate,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_Accelerate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001101/0.001101, allocations: 179.3 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.345/1.345, allocations: 223.2 MB / 240.3 MB, free: 10.16 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009158/0.0009156, allocations: 93.97 kB / 291.5 MB, free: 10.69 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00027/0.00027, allocations: 8 kB / 351.2 MB, free: 15 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2109/0.2112, allocations: 50.41 MB / 401.6 MB, free: 32.54 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08817/0.2994, allocations: 76.33 MB / 477.9 MB, free: 4.109 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002204/0.2997, allocations: 67.97 kB / 478 MB, free: 4.043 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00355/0.3033, allocations: 1.358 MB / 479.3 MB, free: 2.691 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3033, allocations: 0 / 479.3 MB, free: 2.691 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.603e-06/0.3033, allocations: 0 / 479.3 MB, free: 2.691 MB / 346.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.0003146/0.3036, allocations: 358.1 kB / 479.7 MB, free: 2.297 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.3037, allocations: 8.031 kB / 479.7 MB, free: 2.289 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.739e-05/0.3037, allocations: 46.5 kB / 479.7 MB, free: 2.234 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.49e-05/0.3038, allocations: 7.906 kB / 479.7 MB, free: 2.227 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001568/0.3039, allocations: 178.9 kB / 479.9 MB, free: 2.012 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.3039, allocations: 8 kB / 479.9 MB, free: 2.004 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.081e-05/0.304, allocations: 8 kB / 479.9 MB, free: 1.996 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001378/0.3041, allocations: 77.27 kB / 480 MB, free: 1.918 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.3041, allocations: 4 kB / 480 MB, free: 1.914 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-06/0.3042, allocations: 0 / 480 MB, free: 1.914 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.3042, allocations: 3.953 kB / 480 MB, free: 1.91 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.328e-05/0.3042, allocations: 39.97 kB / 480 MB, free: 1.871 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005816/0.3048, allocations: 379.5 kB / 480.4 MB, free: 1.441 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.935e-05/0.3049, allocations: 54.56 kB / 480.5 MB, free: 1.379 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.865e-06/0.3049, allocations: 4 kB / 480.5 MB, free: 1.375 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.079e-05/0.305, allocations: 38.5 kB / 480.5 MB, free: 1.328 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 1.173e-06/0.305, allocations: 0 / 480.5 MB, free: 1.328 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0006758/0.3057, allocations: 0.5132 MB / 481 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.638e-05/0.3057, allocations: 55.41 kB / 481.1 MB, free: 0.6562 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.643e-05/0.3058, allocations: 109.2 kB / 481.2 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.27e-05/0.3058, allocations: 25.7 kB / 481.2 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.641e-05/0.3059, allocations: 95.97 kB / 481.3 MB, free: 420 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.156e-05/0.3059, allocations: 39.44 kB / 481.3 MB, free: 380 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.731e-06/0.3059, allocations: 4 kB / 481.3 MB, free: 376 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.3061, allocations: 318.8 kB / 481.7 MB, free: 48 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.507e-05/0.3061, allocations: 19.98 kB / 481.7 MB, free: 28 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.537e-05/0.3062, allocations: 58.77 kB / 481.7 MB, free: 15.95 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.854e-05/0.3062, allocations: 23.94 kB / 481.8 MB, free: 15.93 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.3062, allocations: 7.953 kB / 481.8 MB, free: 15.92 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001536/0.3064, allocations: 105.7 kB / 481.9 MB, free: 15.81 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.3064, allocations: 8.469 kB / 481.9 MB, free: 15.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.3064, allocations: 0 / 481.9 MB, free: 15.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.3065, allocations: 3.984 kB / 481.9 MB, free: 15.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.774e-05/0.3066, allocations: 27.98 kB / 481.9 MB, free: 15.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.3066, allocations: 4 kB / 481.9 MB, free: 15.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.831e-05/0.3066, allocations: 3.938 kB / 481.9 MB, free: 15.77 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.956e-06/0.3066, allocations: 4 kB / 481.9 MB, free: 15.76 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 8.32e-05/0.3067, allocations: 133.8 kB / 482.1 MB, free: 15.62 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.1e-05/0.3068, allocations: 11.86 kB / 482.1 MB, free: 15.61 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.051e-05/0.3068, allocations: 12.38 kB / 482.1 MB, free: 15.6 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.3068, allocations: 0 / 482.1 MB, free: 15.6 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.3068, allocations: 0 / 482.1 MB, free: 15.6 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.3068, allocations: 0 / 482.1 MB, free: 15.6 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004531/0.3073, allocations: 410.5 kB / 482.5 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.3073, allocations: 0 / 482.5 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.019e-05/0.3074, allocations: 23.98 kB / 482.5 MB, free: 15.1 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.3074, allocations: 0 / 482.5 MB, free: 15.1 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.425e-06/0.3074, allocations: 4 kB / 482.5 MB, free: 15.1 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.3074, allocations: 4 kB / 482.5 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.3074, allocations: 0 / 482.5 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002507/0.3077, allocations: 296.3 kB / 482.8 MB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.159e-05/0.3077, allocations: 89.05 kB / 482.9 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.624e-05/0.3078, allocations: 3.984 kB / 482.9 MB, free: 14.63 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.678e-05/0.3078, allocations: 4 kB / 482.9 MB, free: 14.63 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.905e-05/0.3079, allocations: 4 kB / 482.9 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-06/0.3079, allocations: 15.94 kB / 482.9 MB, free: 14.61 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.429e-05/0.308, allocations: 91.27 kB / 483 MB, free: 14.52 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.308, allocations: 4.062 kB / 483 MB, free: 14.52 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002338/0.3082, allocations: 12 kB / 483 MB, free: 14.5 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.0006449/0.3088, allocations: 1.178 MB / 484.2 MB, free: 13.26 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001239/0.309, allocations: 52.17 kB / 484.2 MB, free: 13.21 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.309, allocations: 4 kB / 484.2 MB, free: 13.21 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.715e-05/0.309, allocations: 31.86 kB / 484.3 MB, free: 13.18 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000234/0.3093, allocations: 15.55 kB / 484.3 MB, free: 13.16 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00136/0.3106, allocations: 1.501 MB / 485.8 MB, free: 11.59 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002602/0.3109, allocations: 0.7004 MB / 486.5 MB, free: 10.86 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.061e-05/0.311, allocations: 8.422 kB / 486.5 MB, free: 10.85 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.998e-05/0.311, allocations: 19.5 kB / 486.5 MB, free: 10.83 MB / 362.7 MB Notification: Performance of SimCode: time 6.61e-07/0.311, allocations: 0 / 486.5 MB, free: 10.83 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01342/0.3244, allocations: 1.62 MB / 488.1 MB, free: 9.34 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002107/0.3247, allocations: 187.5 kB / 488.3 MB, free: 9.094 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.585/1.91, allocations: 3.875 kB / 488.3 MB, free: 9.094 MB / 362.7 MB (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_Accelerate_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_Accelerate.fmu > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Accelerate_res.mat does not exist to compare? outputFormat=mat