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.001712/0.001713, allocations: 196.2 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.599/1.599, allocations: 225.4 MB / 240.1 MB, free: 15.09 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001037/0.001037, allocations: 100 kB / 292.1 MB, free: 6.02 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.37e-05/3.373e-05, allocations: 0 / 350.6 MB, free: 2.426 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.148/0.148, allocations: 51.48 MB / 402.1 MB, free: 14.9 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4449/0.593, allocations: 77.04 MB / 479.2 MB, free: 12.35 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002048/0.5933, allocations: 73.23 kB / 479.2 MB, free: 12.31 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0032/0.5965, allocations: 1.358 MB / 480.6 MB, free: 11.16 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.5965, allocations: 7.938 kB / 480.6 MB, free: 11.15 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.458e-06/0.5965, allocations: 0 / 480.6 MB, free: 11.15 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.0003096/0.5968, allocations: 348.4 kB / 480.9 MB, free: 10.78 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.713e-05/0.5969, allocations: 15.64 kB / 481 MB, free: 10.77 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.276e-05/0.597, allocations: 38.92 kB / 481 MB, free: 10.73 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.222e-05/0.597, allocations: 7.281 kB / 481 MB, free: 10.72 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001668/0.5972, allocations: 175.8 kB / 481.2 MB, free: 10.52 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.081e-05/0.5972, allocations: 4 kB / 481.2 MB, free: 10.51 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.9e-05/0.5972, allocations: 7 kB / 481.2 MB, free: 10.51 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001602/0.5974, allocations: 71.34 kB / 481.3 MB, free: 10.45 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.932e-05/0.5974, allocations: 9.156 kB / 481.3 MB, free: 10.44 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.5974, allocations: 3.312 kB / 481.3 MB, free: 10.44 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.171e-05/0.5975, allocations: 0 / 481.3 MB, free: 10.44 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.848e-05/0.5975, allocations: 34 kB / 481.3 MB, free: 10.42 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006422/0.5982, allocations: 384.5 kB / 481.7 MB, free: 10.02 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.422e-05/0.5983, allocations: 51.39 kB / 481.7 MB, free: 9.973 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.393e-05/0.5983, allocations: 16.94 kB / 481.7 MB, free: 9.957 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.878e-06/0.5984, allocations: 7.984 kB / 481.8 MB, free: 9.949 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.808e-05/0.5984, allocations: 38.19 kB / 481.8 MB, free: 9.906 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 1.143e-06/0.5984, allocations: 0 / 481.8 MB, free: 9.906 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0006639/0.5991, allocations: 499.8 kB / 482.3 MB, free: 9.363 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.9e-05/0.5991, allocations: 55.36 kB / 482.3 MB, free: 9.297 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.442e-05/0.5992, allocations: 112.9 kB / 482.4 MB, free: 9.184 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.23e-05/0.5992, allocations: 32.95 kB / 482.5 MB, free: 9.148 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.932e-05/0.5993, allocations: 91.17 kB / 482.6 MB, free: 9.059 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.279e-05/0.5993, allocations: 34.88 kB / 482.6 MB, free: 9.027 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.532e-06/0.5993, allocations: 7.125 kB / 482.6 MB, free: 9.023 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.275e-05/0.5994, allocations: 320.1 kB / 482.9 MB, free: 8.707 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.997e-05/0.5994, allocations: 18.5 kB / 482.9 MB, free: 8.695 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.963e-05/0.5995, allocations: 55.41 kB / 483 MB, free: 8.629 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.561e-05/0.5995, allocations: 25.62 kB / 483 MB, free: 8.613 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.5995, allocations: 0 / 483 MB, free: 8.613 MB / 346.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001341/0.5996, allocations: 106.1 kB / 483.1 MB, free: 8.52 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.5997, allocations: 8 kB / 483.1 MB, free: 8.512 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.5997, allocations: 0 / 483.1 MB, free: 8.512 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.5997, allocations: 11.27 kB / 483.1 MB, free: 8.504 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.083e-05/0.5998, allocations: 27.17 kB / 483.2 MB, free: 8.48 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.939e-06/0.5998, allocations: 4.5 kB / 483.2 MB, free: 8.477 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.884e-05/0.5999, allocations: 3.953 kB / 483.2 MB, free: 8.473 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.416e-06/0.5999, allocations: 5.719 kB / 483.2 MB, free: 8.469 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 6.375e-05/0.5999, allocations: 115 kB / 483.3 MB, free: 8.355 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.598e-05/0.6, allocations: 11.84 kB / 483.3 MB, free: 8.344 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.418e-05/0.6, allocations: 10.78 kB / 483.3 MB, free: 8.34 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.6, allocations: 4.562 kB / 483.3 MB, free: 8.336 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.6, allocations: 6.438 kB / 483.3 MB, free: 8.332 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.6, allocations: 0 / 483.3 MB, free: 8.332 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003616/0.6004, allocations: 401.9 kB / 483.7 MB, free: 7.898 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.6004, allocations: 4.812 kB / 483.7 MB, free: 7.895 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.329e-05/0.6005, allocations: 31.33 kB / 483.8 MB, free: 7.867 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.6005, allocations: 0 / 483.8 MB, free: 7.867 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.6005, allocations: 7.953 kB / 483.8 MB, free: 7.859 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/0.6005, allocations: 0 / 483.8 MB, free: 7.859 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.6005, allocations: 4.5 kB / 483.8 MB, free: 7.855 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001993/0.6008, allocations: 282.9 kB / 484 MB, free: 7.543 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.525e-05/0.6008, allocations: 84.33 kB / 484.1 MB, free: 7.445 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.596e-05/0.6008, allocations: 4 kB / 484.1 MB, free: 7.441 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.371e-05/0.6009, allocations: 5.438 kB / 484.1 MB, free: 7.438 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.759e-05/0.6009, allocations: 19.25 kB / 484.2 MB, free: 7.422 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.879e-06/0.6009, allocations: 4 kB / 484.2 MB, free: 7.418 MB / 346.7 MB Notification: Performance of sorting global known variables: time 3.327e-05/0.601, allocations: 88.03 kB / 484.2 MB, free: 7.336 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.601, allocations: 0 / 484.2 MB, free: 7.336 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002267/0.6012, allocations: 19.81 kB / 484.3 MB, free: 7.32 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.000459/0.6017, allocations: 1.162 MB / 485.4 MB, free: 6.129 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001182/0.6018, allocations: 61.61 kB / 485.5 MB, free: 6.082 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.6018, allocations: 0 / 485.5 MB, free: 6.082 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.145e-05/0.6018, allocations: 26.81 kB / 485.5 MB, free: 6.059 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000218/0.6021, allocations: 12.2 kB / 485.5 MB, free: 6.051 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005599/0.6026, allocations: 306.2 kB / 485.8 MB, free: 5.734 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001493/0.6028, allocations: 0.7004 MB / 486.5 MB, free: 5.008 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.638e-05/0.6028, allocations: 8.422 kB / 486.5 MB, free: 5 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.817e-05/0.6029, allocations: 23.3 kB / 486.6 MB, free: 4.984 MB / 346.7 MB Notification: Performance of SimCode: time 2.51e-07/0.6029, allocations: 0 / 486.6 MB, free: 4.984 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01166/0.6145, allocations: 1.617 MB / 488.2 MB, free: 3.574 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001505/0.6147, allocations: 154.1 kB / 488.3 MB, free: 3.355 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.583/2.198, allocations: 0 / 488.3 MB, free: 3.355 MB / 346.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