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.002245/0.002244, allocations: 194.3 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.602/1.602, allocations: 225.6 MB / 234.8 MB, free: 3.262 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000984/0.0009838, allocations: 97.31 kB / 286.7 MB, free: 5.258 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.973e-05/1.977e-05, allocations: 4 kB / 343.8 MB, free: 8.188 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1342, allocations: 51.47 MB / 395.3 MB, free: 4.672 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4154/0.5496, allocations: 76.39 MB / 471.6 MB, free: 14.68 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002864/0.55, allocations: 65.98 kB / 471.7 MB, free: 14.66 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003788/0.5538, allocations: 1.356 MB / 473.1 MB, free: 13.8 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.366e-06/0.5539, allocations: 4 kB / 473.1 MB, free: 13.8 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.242e-05/0.5539, allocations: 0 / 473.1 MB, free: 13.8 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.0003489/0.5542, allocations: 350.1 kB / 473.4 MB, free: 13.43 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.613e-05/0.5543, allocations: 15.09 kB / 473.4 MB, free: 13.42 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.001e-05/0.5544, allocations: 4.781 kB / 473.4 MB, free: 13.41 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001799/0.5545, allocations: 182.4 kB / 473.6 MB, free: 13.2 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/0.5546, allocations: 0.8594 kB / 473.6 MB, free: 13.2 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.52e-05/0.5546, allocations: 4 kB / 473.6 MB, free: 13.2 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001159/0.5547, allocations: 34 kB / 473.6 MB, free: 13.18 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001135/0.5548, allocations: 56.44 kB / 473.7 MB, free: 13.13 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/0.5549, allocations: 4 kB / 473.7 MB, free: 13.13 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.5549, allocations: 0 / 473.7 MB, free: 13.13 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.5549, allocations: 4 kB / 473.7 MB, free: 13.12 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006463/0.5555, allocations: 355.7 kB / 474.1 MB, free: 12.79 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.791e-05/0.5557, allocations: 48.55 kB / 474.1 MB, free: 12.75 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.662e-05/0.5557, allocations: 16.17 kB / 474.1 MB, free: 12.73 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.08e-05/0.5557, allocations: 4 kB / 474.1 MB, free: 12.73 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.212e-05/0.5558, allocations: 37.22 kB / 474.2 MB, free: 12.69 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 1.032e-06/0.5558, allocations: 0 / 474.2 MB, free: 12.69 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0007315/0.5565, allocations: 482.7 kB / 474.6 MB, free: 12.17 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.802e-05/0.5565, allocations: 51.41 kB / 474.7 MB, free: 12.11 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.088e-05/0.5566, allocations: 103.9 kB / 474.8 MB, free: 12.01 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.266e-05/0.5566, allocations: 29.64 kB / 474.8 MB, free: 11.97 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.772e-05/0.5567, allocations: 97.41 kB / 474.9 MB, free: 11.88 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.524e-05/0.5567, allocations: 29.45 kB / 474.9 MB, free: 11.86 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.869e-06/0.5567, allocations: 4 kB / 474.9 MB, free: 11.85 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.254e-05/0.5568, allocations: 321.3 kB / 475.3 MB, free: 11.54 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.904e-05/0.5569, allocations: 14.75 kB / 475.3 MB, free: 11.53 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.867e-05/0.5569, allocations: 56.14 kB / 475.3 MB, free: 11.46 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.721e-05/0.557, allocations: 20.8 kB / 475.3 MB, free: 11.45 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.557, allocations: 0 / 475.3 MB, free: 11.45 MB / 346.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001481/0.5572, allocations: 103 kB / 475.4 MB, free: 11.37 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.5572, allocations: 4 kB / 475.4 MB, free: 11.37 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.5572, allocations: 8.609 kB / 475.5 MB, free: 11.36 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.5572, allocations: 0 / 475.5 MB, free: 11.36 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.584e-05/0.5573, allocations: 23.47 kB / 475.5 MB, free: 11.34 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.718e-06/0.5573, allocations: 8.641 kB / 475.5 MB, free: 11.33 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.747e-05/0.5574, allocations: 1.969 kB / 475.5 MB, free: 11.33 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.844e-06/0.5574, allocations: 4 kB / 475.5 MB, free: 11.33 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.711e-05/0.5575, allocations: 109.7 kB / 475.6 MB, free: 11.21 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001048/0.5576, allocations: 66.59 kB / 475.7 MB, free: 11.16 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.791e-05/0.5576, allocations: 11.8 kB / 475.7 MB, free: 11.15 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.876e-05/0.5577, allocations: 12.84 kB / 475.7 MB, free: 11.14 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.5577, allocations: 0 / 475.7 MB, free: 11.14 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.5577, allocations: 4 kB / 475.7 MB, free: 11.14 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.91e-06/0.5577, allocations: 0.7031 kB / 475.7 MB, free: 11.14 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004047/0.5581, allocations: 374.2 kB / 476.1 MB, free: 10.76 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.5581, allocations: 0 / 476.1 MB, free: 10.76 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.08e-05/0.5582, allocations: 21.73 kB / 476.1 MB, free: 10.75 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/0.5582, allocations: 8.688 kB / 476.1 MB, free: 10.74 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.5582, allocations: 192 / 476.1 MB, free: 10.74 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.811e-06/0.5583, allocations: 8.562 kB / 476.1 MB, free: 10.73 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.5583, allocations: 1.875 kB / 476.1 MB, free: 10.73 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002393/0.5585, allocations: 279.8 kB / 476.4 MB, free: 10.43 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.108e-05/0.5586, allocations: 85.91 kB / 476.5 MB, free: 10.32 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.213e-05/0.5586, allocations: 4.844 kB / 476.5 MB, free: 10.32 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.029e-05/0.5587, allocations: 0 / 476.5 MB, free: 10.32 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.522e-05/0.5587, allocations: 13.55 kB / 476.5 MB, free: 10.31 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.911e-06/0.5587, allocations: 4 kB / 476.5 MB, free: 10.31 MB / 346.7 MB Notification: Performance of sorting global known variables: time 3.897e-05/0.5588, allocations: 87.83 kB / 476.6 MB, free: 10.23 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.5588, allocations: 0 / 476.6 MB, free: 10.23 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002433/0.559, allocations: 16 kB / 476.6 MB, free: 10.21 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.0005489/0.5596, allocations: 1.161 MB / 477.7 MB, free: 9.027 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001154/0.5597, allocations: 43.73 kB / 477.8 MB, free: 8.996 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.5597, allocations: 4 kB / 477.8 MB, free: 8.992 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.126e-05/0.5597, allocations: 21.03 kB / 477.8 MB, free: 8.977 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002835/0.56, allocations: 21.89 kB / 477.8 MB, free: 8.961 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007261/0.5608, allocations: 284.2 kB / 478.1 MB, free: 8.668 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002033/0.561, allocations: 0.6942 MB / 478.8 MB, free: 7.957 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.128e-05/0.561, allocations: 7.25 kB / 478.8 MB, free: 7.953 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.708e-05/0.5611, allocations: 20.11 kB / 478.8 MB, free: 7.941 MB / 346.7 MB Notification: Performance of SimCode: time 2.41e-07/0.5611, allocations: 1.969 kB / 478.8 MB, free: 7.941 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01925/0.5804, allocations: 1.233 MB / 480.1 MB, free: 7.242 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001701/0.5806, allocations: 138.3 kB / 480.2 MB, free: 7.055 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.535/2.116, allocations: 3.938 kB / 480.2 MB, free: 7.051 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