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.00143/0.00143, allocations: 176.4 kB / 8.349 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.475/1.475, allocations: 221.5 MB / 230.3 MB, free: 7.578 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009267/0.0009267, allocations: 89.61 kB / 281.2 MB, free: 5.332 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.194e-05/2.196e-05, allocations: 4 kB / 337.1 MB, free: 9.934 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.151/0.151, allocations: 50.42 MB / 387.6 MB, free: 7.473 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4242/0.5753, allocations: 75.58 MB / 463.1 MB, free: 3.133 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002933/0.5757, allocations: 67.97 kB / 463.2 MB, free: 3.066 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003913/0.5796, allocations: 1.35 MB / 464.6 MB, free: 1.719 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.485e-06/0.5796, allocations: 0 / 464.6 MB, free: 1.719 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.342e-05/0.5797, allocations: 4 kB / 464.6 MB, free: 1.715 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.0004083/0.5801, allocations: 347.2 kB / 464.9 MB, free: 1.332 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.725e-05/0.5801, allocations: 12.03 kB / 464.9 MB, free: 1.32 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.704e-05/0.5802, allocations: 11.95 kB / 464.9 MB, free: 1.309 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002256/0.5804, allocations: 190.8 kB / 465.1 MB, free: 1.082 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.5805, allocations: 0 / 465.1 MB, free: 1.082 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.04e-05/0.5805, allocations: 4 kB / 465.1 MB, free: 1.078 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001219/0.5806, allocations: 31.98 kB / 465.1 MB, free: 1.047 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001161/0.5807, allocations: 56.31 kB / 465.2 MB, free: 0.9883 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/0.5808, allocations: 4 kB / 465.2 MB, free: 0.9844 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/0.5808, allocations: 3.953 kB / 465.2 MB, free: 0.9805 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.5808, allocations: 0 / 465.2 MB, free: 0.9805 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006893/0.5815, allocations: 352.2 kB / 465.5 MB, free: 0.5898 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.498e-05/0.5816, allocations: 55.3 kB / 465.6 MB, free: 0.5273 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.581e-05/0.5816, allocations: 16.86 kB / 465.6 MB, free: 0.5078 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.436e-05/0.5817, allocations: 0 / 465.6 MB, free: 0.5078 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.225e-05/0.5817, allocations: 42.5 kB / 465.7 MB, free: 468 kB / 330.7 MB Notification: Performance of pre-optimization done (n=7): time 8.92e-07/0.5817, allocations: 0 / 465.7 MB, free: 468 kB / 330.7 MB Notification: Performance of matching and sorting (n=9): time 0.0007695/0.5825, allocations: 481.3 kB / 466.1 MB, free: 15.89 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.041e-05/0.5825, allocations: 55.41 kB / 466.2 MB, free: 15.83 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.828e-05/0.5826, allocations: 100.9 kB / 466.3 MB, free: 15.72 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.257e-05/0.5827, allocations: 25.7 kB / 466.3 MB, free: 15.69 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.046e-05/0.5827, allocations: 104 kB / 466.4 MB, free: 15.59 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.82e-05/0.5828, allocations: 31.55 kB / 466.4 MB, free: 15.55 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.699e-06/0.5828, allocations: 0 / 466.4 MB, free: 15.55 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001559/0.5829, allocations: 314.8 kB / 466.7 MB, free: 15.24 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.45e-05/0.583, allocations: 16 kB / 466.8 MB, free: 15.22 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.214e-05/0.5831, allocations: 53.14 kB / 466.8 MB, free: 15.15 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.512e-05/0.5831, allocations: 24 kB / 466.8 MB, free: 15.13 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.5831, allocations: 0 / 466.8 MB, free: 15.13 MB / 346.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001497/0.5833, allocations: 101.4 kB / 466.9 MB, free: 15.02 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.371e-05/0.5833, allocations: 8.922 kB / 466.9 MB, free: 15.02 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.5833, allocations: 7.938 kB / 467 MB, free: 15.01 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.5833, allocations: 0 / 467 MB, free: 15.01 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.258e-05/0.5834, allocations: 24.09 kB / 467 MB, free: 14.98 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.137e-05/0.5835, allocations: 11.92 kB / 467 MB, free: 14.97 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.792e-05/0.5835, allocations: 144 / 467 MB, free: 14.97 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.678e-06/0.5835, allocations: 4 kB / 467 MB, free: 14.97 MB / 346.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 () * 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.097e-05/0.5836, allocations: 101 kB / 467.1 MB, free: 14.86 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001162/0.5837, allocations: 77.58 kB / 467.2 MB, free: 14.78 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.783e-05/0.5838, allocations: 11.89 kB / 467.2 MB, free: 14.77 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.929e-05/0.5838, allocations: 8.625 kB / 467.2 MB, free: 14.76 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.5838, allocations: 0 / 467.2 MB, free: 14.76 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.88e-06/0.5838, allocations: 4 kB / 467.2 MB, free: 14.76 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.5839, allocations: 4 kB / 467.2 MB, free: 14.75 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004536/0.5843, allocations: 371.2 kB / 467.6 MB, free: 14.33 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.5843, allocations: 3.984 kB / 467.6 MB, free: 14.33 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.824e-05/0.5844, allocations: 20.09 kB / 467.6 MB, free: 14.31 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.044e-06/0.5844, allocations: 8.188 kB / 467.6 MB, free: 14.3 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.5845, allocations: 0 / 467.6 MB, free: 14.3 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.549e-06/0.5845, allocations: 7.938 kB / 467.6 MB, free: 14.29 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.277e-06/0.5845, allocations: 0 / 467.6 MB, free: 14.29 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002932/0.5848, allocations: 284.2 kB / 467.9 MB, free: 13.95 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.661e-05/0.5848, allocations: 85.14 kB / 468 MB, free: 13.85 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.175e-05/0.5849, allocations: 7.984 kB / 468 MB, free: 13.84 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.345e-05/0.5849, allocations: 4.062 kB / 468 MB, free: 13.84 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.089e-05/0.585, allocations: 4 kB / 468 MB, free: 13.84 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.891e-06/0.585, allocations: 4 kB / 468 MB, free: 13.83 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.601e-05/0.585, allocations: 87.22 kB / 468.1 MB, free: 13.75 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.585, allocations: 0 / 468.1 MB, free: 13.75 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000248/0.5853, allocations: 19.98 kB / 468.1 MB, free: 13.73 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 () * 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.0007644/0.5861, allocations: 1.155 MB / 469.2 MB, free: 12.51 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001375/0.5862, allocations: 43.94 kB / 469.3 MB, free: 12.47 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/0.5862, allocations: 4 kB / 469.3 MB, free: 12.46 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.224e-05/0.5863, allocations: 27.81 kB / 469.3 MB, free: 12.44 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002793/0.5866, allocations: 11.98 kB / 469.3 MB, free: 12.43 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006779/0.5872, allocations: 279.9 kB / 469.6 MB, free: 12.1 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002584/0.5875, allocations: 0.7002 MB / 470.3 MB, free: 11.37 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.561e-05/0.5876, allocations: 4.656 kB / 470.3 MB, free: 11.37 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.124e-05/0.5876, allocations: 19.44 kB / 470.3 MB, free: 11.35 MB / 346.7 MB Notification: Performance of SimCode: time 2.8e-07/0.5876, allocations: 4 kB / 470.3 MB, free: 11.34 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0205/0.6081, allocations: 1.24 MB / 471.6 MB, free: 10.12 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002226/0.6084, allocations: 144.8 kB / 471.7 MB, free: 9.922 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.459/2.067, allocations: 0 / 471.7 MB, free: 9.922 MB / 346.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