Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Accelerate,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_Accelerate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Accelerate,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_Accelerate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009362/0.0009362, allocations: 179.8 kB / 17.01 MB, free: 5.121 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.27/1.27, allocations: 205.4 MB / 223.1 MB, free: 9.129 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007791/0.0007791, allocations: 92.16 kB / 271.5 MB, free: 8.371 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002401/0.0002401, allocations: 4 kB / 328.3 MB, free: 15.44 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2872/0.2875, allocations: 47.56 MB / 375.9 MB, free: 45.67 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0992/0.3867, allocations: 75.28 MB / 451.2 MB, free: 5.383 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002535/0.387, allocations: 71.95 kB / 451.2 MB, free: 5.312 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003664/0.3907, allocations: 1.337 MB / 452.6 MB, free: 3.973 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.306e-06/0.3907, allocations: 3.938 kB / 452.6 MB, free: 3.969 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.018e-05/0.3908, allocations: 0 / 452.6 MB, free: 3.969 MB / 330.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.0003954/0.3912, allocations: 355.2 kB / 452.9 MB, free: 3.574 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.3912, allocations: 11.97 kB / 452.9 MB, free: 3.562 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.461e-05/0.3913, allocations: 42.55 kB / 453 MB, free: 3.512 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.01e-05/0.3913, allocations: 11.91 kB / 453 MB, free: 3.5 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001735/0.3915, allocations: 175 kB / 453.2 MB, free: 3.289 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.3915, allocations: 8 kB / 453.2 MB, free: 3.281 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.71e-05/0.3915, allocations: 7.953 kB / 453.2 MB, free: 3.273 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001566/0.3917, allocations: 73.61 kB / 453.3 MB, free: 3.195 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.3917, allocations: 0 / 453.3 MB, free: 3.195 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.3917, allocations: 0 / 453.3 MB, free: 3.195 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.3917, allocations: 0 / 453.3 MB, free: 3.195 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.523e-05/0.3919, allocations: 35.97 kB / 453.3 MB, free: 3.16 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006609/0.3925, allocations: 379.5 kB / 453.7 MB, free: 2.73 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.538e-05/0.3926, allocations: 54.56 kB / 453.7 MB, free: 2.668 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.284e-05/0.3926, allocations: 4 kB / 453.7 MB, free: 2.664 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.778e-05/0.3927, allocations: 30.56 kB / 453.8 MB, free: 2.625 MB / 330.7 MB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.3927, allocations: 4 kB / 453.8 MB, free: 2.621 MB / 330.7 MB Notification: Performance of matching and sorting (n=9): time 0.0007352/0.3934, allocations: 0.5114 MB / 454.3 MB, free: 2.02 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/0.3935, allocations: 55.41 kB / 454.3 MB, free: 1.953 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.624e-05/0.3936, allocations: 109.5 kB / 454.4 MB, free: 1.836 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.672e-05/0.3936, allocations: 33.64 kB / 454.5 MB, free: 1.797 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.273e-05/0.3937, allocations: 96.03 kB / 454.6 MB, free: 1.699 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.806e-05/0.3937, allocations: 39.44 kB / 454.6 MB, free: 1.66 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.599e-06/0.3937, allocations: 4.094 kB / 454.6 MB, free: 1.656 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001267/0.3938, allocations: 318.8 kB / 454.9 MB, free: 1.336 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.236e-05/0.3939, allocations: 19.98 kB / 454.9 MB, free: 1.316 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.451e-05/0.3939, allocations: 64.64 kB / 455 MB, free: 1.238 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.734e-05/0.394, allocations: 24 kB / 455 MB, free: 1.215 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.394, allocations: 0 / 455 MB, free: 1.215 MB / 330.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001598/0.3942, allocations: 105.5 kB / 455.1 MB, free: 1.105 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.3942, allocations: 8 kB / 455.1 MB, free: 1.098 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.3942, allocations: 0 / 455.1 MB, free: 1.098 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.3942, allocations: 144 / 455.1 MB, free: 1.098 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.749e-05/0.3943, allocations: 27.92 kB / 455.2 MB, free: 1.07 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.846e-06/0.3943, allocations: 8.094 kB / 455.2 MB, free: 1.062 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.256e-05/0.3944, allocations: 7.984 kB / 455.2 MB, free: 1.055 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.051e-05/0.3944, allocations: 15.88 kB / 455.2 MB, free: 1.039 MB / 330.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 9.165e-05/0.3945, allocations: 121.7 kB / 455.3 MB, free: 0.9102 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.631e-05/0.3945, allocations: 7.906 kB / 455.3 MB, free: 0.9023 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.654e-05/0.3946, allocations: 16.38 kB / 455.3 MB, free: 0.8867 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.3946, allocations: 0 / 455.3 MB, free: 0.8867 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.626e-06/0.3946, allocations: 0 / 455.3 MB, free: 0.8867 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.3946, allocations: 0 / 455.3 MB, free: 0.8867 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004588/0.3951, allocations: 410.6 kB / 455.7 MB, free: 424 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.3951, allocations: 0 / 455.7 MB, free: 424 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.761e-05/0.3952, allocations: 23.92 kB / 455.8 MB, free: 400 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.3952, allocations: 0 / 455.8 MB, free: 400 kB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.3952, allocations: 12.16 kB / 455.8 MB, free: 388 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.3952, allocations: 7.953 kB / 455.8 MB, free: 380 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3952, allocations: 0 / 455.8 MB, free: 380 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002657/0.3955, allocations: 284.2 kB / 456 MB, free: 32 kB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.762e-05/0.3956, allocations: 85.05 kB / 456.1 MB, free: 15.93 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.012e-05/0.3956, allocations: 7.984 kB / 456.1 MB, free: 15.92 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.586e-05/0.3957, allocations: 4 kB / 456.1 MB, free: 15.92 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.299e-05/0.3957, allocations: 15.95 kB / 456.2 MB, free: 15.9 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.781e-06/0.3957, allocations: 4 kB / 456.2 MB, free: 15.9 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.524e-05/0.3958, allocations: 99.3 kB / 456.3 MB, free: 15.8 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3958, allocations: 0 / 456.3 MB, free: 15.8 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002774/0.3961, allocations: 12 kB / 456.3 MB, free: 15.79 MB / 346.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.0007906/0.3969, allocations: 1.163 MB / 457.4 MB, free: 14.57 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00016/0.397, allocations: 59.86 kB / 457.5 MB, free: 14.51 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.397, allocations: 4 kB / 457.5 MB, free: 14.5 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.262e-05/0.3971, allocations: 27.92 kB / 457.5 MB, free: 14.48 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002579/0.3974, allocations: 11.95 kB / 457.5 MB, free: 14.46 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001495/0.3989, allocations: 1.508 MB / 459 MB, free: 12.88 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003244/0.3992, allocations: 0.6965 MB / 459.7 MB, free: 12.15 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.91e-05/0.3992, allocations: 12.42 kB / 459.8 MB, free: 12.14 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.698e-05/0.3993, allocations: 19.5 kB / 459.8 MB, free: 12.12 MB / 346.7 MB Notification: Performance of SimCode: time 2.2e-07/0.3993, allocations: 0 / 459.8 MB, free: 12.12 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01327/0.4126, allocations: 1.633 MB / 461.4 MB, free: 10.52 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000221/0.4128, allocations: 195.4 kB / 461.6 MB, free: 10.27 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.664/2.077, allocations: 0 / 461.6 MB, free: 10.27 MB / 346.7 MB (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_Accelerate_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_Accelerate.fmu > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Accelerate_res.mat does not exist to compare? outputFormat=mat