Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_Modelica_Mechanics_Translational_Examples_Accelerate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Accelerate,fileNamePrefix="Modelica_3_2_3_cpp_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.001631/0.001631, allocations: 186 kB / 16.4 MB, free: 5.746 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.986/1.986, allocations: 205.4 MB / 222.5 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.001187/0.001186, allocations: 101.6 kB / 270.9 MB, free: 8.375 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004018/0.0004018, allocations: 8 kB / 327.1 MB, free: 116 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3312/0.3316, allocations: 47.57 MB / 374.6 MB, free: 45.32 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1213/0.4529, allocations: 75.28 MB / 449.9 MB, free: 5.375 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00027/0.4533, allocations: 67.97 kB / 450 MB, free: 5.309 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005539/0.4588, allocations: 1.34 MB / 451.3 MB, free: 3.965 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.933e-06/0.4589, allocations: 0 / 451.3 MB, free: 3.965 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.718e-05/0.4589, allocations: 0 / 451.3 MB, free: 3.965 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.0004965/0.4594, allocations: 355.2 kB / 451.7 MB, free: 3.57 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.876e-05/0.4595, allocations: 11.97 kB / 451.7 MB, free: 3.559 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.712e-05/0.4596, allocations: 38.56 kB / 451.7 MB, free: 3.512 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.44e-05/0.4596, allocations: 7.906 kB / 451.7 MB, free: 3.504 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002082/0.4598, allocations: 175 kB / 451.9 MB, free: 3.293 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.188e-05/0.4598, allocations: 0 / 451.9 MB, free: 3.293 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.748e-05/0.4599, allocations: 19.89 kB / 451.9 MB, free: 3.273 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000198/0.4601, allocations: 61.67 kB / 452 MB, free: 3.207 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.54e-05/0.4601, allocations: 4 kB / 452 MB, free: 3.203 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.886e-05/0.4602, allocations: 8 kB / 452 MB, free: 3.195 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.4602, allocations: 0 / 452 MB, free: 3.195 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000121/0.4603, allocations: 35.97 kB / 452 MB, free: 3.16 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009295/0.4612, allocations: 383.5 kB / 452.4 MB, free: 2.727 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001538/0.4614, allocations: 58.56 kB / 452.4 MB, free: 2.66 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.454e-05/0.4615, allocations: 3.984 kB / 452.5 MB, free: 2.656 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.026e-05/0.4615, allocations: 30.56 kB / 452.5 MB, free: 2.617 MB / 330.7 MB Notification: Performance of pre-optimization done (n=7): time 3.025e-06/0.4615, allocations: 4 kB / 452.5 MB, free: 2.613 MB / 330.7 MB Notification: Performance of matching and sorting (n=9): time 0.001023/0.4625, allocations: 0.506 MB / 453 MB, free: 2.016 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.149e-05/0.4626, allocations: 59.44 kB / 453 MB, free: 1.945 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000118/0.4628, allocations: 117.1 kB / 453.2 MB, free: 1.82 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.874e-05/0.4628, allocations: 25.7 kB / 453.2 MB, free: 1.789 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.758e-05/0.4629, allocations: 162.5 kB / 453.3 MB, free: 1.629 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.061e-05/0.4629, allocations: 35.45 kB / 453.4 MB, free: 1.594 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.282e-06/0.463, allocations: 0 / 453.4 MB, free: 1.594 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001373/0.4631, allocations: 314.8 kB / 453.7 MB, free: 1.277 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.776e-05/0.4632, allocations: 19.98 kB / 453.7 MB, free: 1.258 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000103/0.4633, allocations: 67.27 kB / 453.8 MB, free: 1.176 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.148e-05/0.4634, allocations: 24 kB / 453.8 MB, free: 1.152 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.4634, allocations: 0 / 453.8 MB, free: 1.152 MB / 330.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002513/0.4637, allocations: 101.5 kB / 453.9 MB, free: 1.047 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/0.4637, allocations: 12.09 kB / 453.9 MB, free: 1.035 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.354e-05/0.4637, allocations: 7.984 kB / 453.9 MB, free: 1.027 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.4637, allocations: 7.938 kB / 453.9 MB, free: 1.02 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001774/0.4639, allocations: 16 kB / 453.9 MB, free: 1.004 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.222e-05/0.464, allocations: 4 kB / 453.9 MB, free: 1 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.007e-05/0.464, allocations: 7.984 kB / 454 MB, free: 0.9922 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.466e-05/0.4641, allocations: 11.89 kB / 454 MB, free: 0.9805 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 0.0001182/0.4642, allocations: 121.7 kB / 454.1 MB, free: 0.8516 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.914e-05/0.4642, allocations: 11.91 kB / 454.1 MB, free: 0.8398 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.897e-05/0.4643, allocations: 16.38 kB / 454.1 MB, free: 0.8242 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.4643, allocations: 0 / 454.1 MB, free: 0.8242 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.4643, allocations: 0 / 454.1 MB, free: 0.8242 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.4643, allocations: 0 / 454.1 MB, free: 0.8242 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007535/0.4651, allocations: 410.6 kB / 454.5 MB, free: 360 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.4651, allocations: 0 / 454.5 MB, free: 360 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001722/0.4653, allocations: 23.92 kB / 454.5 MB, free: 336 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.396e-06/0.4653, allocations: 4 kB / 454.5 MB, free: 332 kB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.615e-05/0.4653, allocations: 4 kB / 454.5 MB, free: 328 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.17e-05/0.4654, allocations: 7.953 kB / 454.6 MB, free: 320 kB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.4654, allocations: 0 / 454.6 MB, free: 320 kB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004134/0.4658, allocations: 290.9 kB / 454.8 MB, free: 15.97 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.377e-05/0.4659, allocations: 85.2 kB / 454.9 MB, free: 15.87 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.288e-05/0.4659, allocations: 7.984 kB / 454.9 MB, free: 15.86 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.466, allocations: 4.188 kB / 454.9 MB, free: 15.86 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.073e-05/0.4661, allocations: 11.89 kB / 454.9 MB, free: 15.84 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.188e-05/0.4661, allocations: 7.984 kB / 454.9 MB, free: 15.84 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.615e-05/0.4662, allocations: 95.27 kB / 455 MB, free: 15.74 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.4662, allocations: 0 / 455 MB, free: 15.74 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003403/0.4665, allocations: 12 kB / 455.1 MB, free: 15.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 () * 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.0008394/0.4674, allocations: 1.163 MB / 456.2 MB, free: 14.51 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002102/0.4676, allocations: 59.86 kB / 456.3 MB, free: 14.45 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.4677, allocations: 4 kB / 456.3 MB, free: 14.45 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.242e-05/0.4677, allocations: 32.36 kB / 456.3 MB, free: 14.41 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003281/0.4681, allocations: 11.95 kB / 456.3 MB, free: 14.4 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001891/0.47, allocations: 1.541 MB / 457.9 MB, free: 12.77 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003262/0.4703, allocations: 0.6926 MB / 458.6 MB, free: 12.05 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.84e-05/0.4704, allocations: 23.48 kB / 458.6 MB, free: 12.03 MB / 346.7 MB Notification: Performance of SimCode: time 1.183e-06/0.4704, allocations: 7.938 kB / 458.6 MB, free: 12.02 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.55/3.021, allocations: 1.367 MB / 460 MB, free: 10.66 MB / 346.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Accelerate.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Accelerate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Accelerate_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Mechanics_Translational_Examples_Accelerate_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Mechanics_Translational_Examples_Accelerate.fmu > Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Accelerate.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Accelerate_res.mat does not exist to compare? outputFormat=mat