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.001374/0.001374, allocations: 179 kB / 8.696 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.912/1.912, allocations: 205.3 MB / 214.4 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009954/0.0009954, allocations: 82.7 kB / 262.4 MB, free: 1.68 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.028e-05/2.03e-05, allocations: 4 kB / 315.6 MB, free: 22.62 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.1236, allocations: 47.59 MB / 363.2 MB, free: 6.965 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3918/0.5154, allocations: 74.78 MB / 437.9 MB, free: 4.512 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000226/0.5157, allocations: 65.75 kB / 438 MB, free: 4.48 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003581/0.5193, allocations: 1.327 MB / 439.3 MB, free: 3.352 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.5194, allocations: 0 / 439.3 MB, free: 3.352 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.297e-05/0.5194, allocations: 4 kB / 439.3 MB, free: 3.348 MB / 314.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.0004058/0.5198, allocations: 342.7 kB / 439.7 MB, free: 2.973 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.365e-05/0.5199, allocations: 12.03 kB / 439.7 MB, free: 2.961 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.873e-05/0.5199, allocations: 4 kB / 439.7 MB, free: 2.957 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002038/0.5201, allocations: 186.8 kB / 439.9 MB, free: 2.738 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.395e-06/0.5201, allocations: 0 / 439.9 MB, free: 2.738 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.112e-05/0.5202, allocations: 8.703 kB / 439.9 MB, free: 2.73 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001176/0.5203, allocations: 30.5 kB / 439.9 MB, free: 2.711 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001171/0.5204, allocations: 61.23 kB / 440 MB, free: 2.652 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.253e-05/0.5205, allocations: 4 kB / 440 MB, free: 2.648 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.386e-05/0.5205, allocations: 0 / 440 MB, free: 2.648 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.5205, allocations: 0 / 440 MB, free: 2.648 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006632/0.5212, allocations: 342.9 kB / 440.3 MB, free: 2.297 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.084e-05/0.5213, allocations: 57.5 kB / 440.4 MB, free: 2.242 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.254e-05/0.5213, allocations: 20.73 kB / 440.4 MB, free: 2.223 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.416e-06/0.5213, allocations: 0 / 440.4 MB, free: 2.223 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.347e-05/0.5213, allocations: 34.44 kB / 440.4 MB, free: 2.184 MB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 2.414e-06/0.5214, allocations: 0 / 440.4 MB, free: 2.184 MB / 314.7 MB Notification: Performance of matching and sorting (n=9): time 0.0007501/0.5221, allocations: 483.3 kB / 440.9 MB, free: 1.648 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.675e-05/0.5222, allocations: 55.41 kB / 440.9 MB, free: 1.582 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.509e-05/0.5222, allocations: 97.48 kB / 441 MB, free: 1.484 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.403e-05/0.5223, allocations: 29.7 kB / 441.1 MB, free: 1.449 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.82e-05/0.5223, allocations: 95.91 kB / 441.2 MB, free: 1.355 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.828e-05/0.5224, allocations: 35.42 kB / 441.2 MB, free: 1.324 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.781e-06/0.5224, allocations: 0 / 441.2 MB, free: 1.324 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001301/0.5225, allocations: 326.5 kB / 441.5 MB, free: 1 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.372e-05/0.5226, allocations: 14.31 kB / 441.5 MB, free: 0.9922 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.435e-05/0.5226, allocations: 53.72 kB / 441.6 MB, free: 0.9297 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.863e-05/0.5227, allocations: 35.09 kB / 441.6 MB, free: 0.9023 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.5227, allocations: 0 / 441.6 MB, free: 0.9023 MB / 314.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001397/0.5228, allocations: 96.52 kB / 441.7 MB, free: 0.8164 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.5229, allocations: 4 kB / 441.7 MB, free: 0.8125 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.5229, allocations: 4 kB / 441.7 MB, free: 0.8086 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.5229, allocations: 0 / 441.7 MB, free: 0.8086 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.984e-05/0.523, allocations: 27.92 kB / 441.7 MB, free: 0.7812 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.523, allocations: 4.312 kB / 441.8 MB, free: 0.7773 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.657e-05/0.5231, allocations: 4.094 kB / 441.8 MB, free: 0.7734 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.756e-06/0.5231, allocations: 4 kB / 441.8 MB, free: 0.7695 MB / 314.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.776e-05/0.5232, allocations: 104.9 kB / 441.9 MB, free: 0.6602 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.966e-05/0.5233, allocations: 71.38 kB / 441.9 MB, free: 0.5938 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.478e-05/0.5233, allocations: 7.906 kB / 441.9 MB, free: 0.5859 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.463e-05/0.5233, allocations: 11.67 kB / 442 MB, free: 0.582 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.5234, allocations: 0 / 442 MB, free: 0.582 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.5234, allocations: 3.938 kB / 442 MB, free: 0.5781 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.5234, allocations: 3.938 kB / 442 MB, free: 0.5742 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004512/0.5238, allocations: 386 kB / 442.3 MB, free: 168 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.5238, allocations: 3.5 kB / 442.3 MB, free: 168 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.164e-05/0.5239, allocations: 19.98 kB / 442.4 MB, free: 148 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.524, allocations: 4 kB / 442.4 MB, free: 144 kB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.524, allocations: 4.156 kB / 442.4 MB, free: 140 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.125e-06/0.524, allocations: 11.94 kB / 442.4 MB, free: 128 kB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.524, allocations: 0 / 442.4 MB, free: 128 kB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002875/0.5243, allocations: 278.3 kB / 442.7 MB, free: 15.81 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.228e-05/0.5243, allocations: 81.14 kB / 442.7 MB, free: 15.71 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.77e-05/0.5244, allocations: 4 kB / 442.7 MB, free: 15.71 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.393e-05/0.5244, allocations: 0 / 442.7 MB, free: 15.71 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.755e-05/0.5245, allocations: 23.06 kB / 442.8 MB, free: 15.69 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.306e-06/0.5245, allocations: 4 kB / 442.8 MB, free: 15.69 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.092e-05/0.5245, allocations: 81.41 kB / 442.8 MB, free: 15.61 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5245, allocations: 0 / 442.8 MB, free: 15.61 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002358/0.5248, allocations: 12 kB / 442.9 MB, free: 15.6 MB / 330.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.0006774/0.5255, allocations: 1.153 MB / 444 MB, free: 14.41 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001195/0.5256, allocations: 53.06 kB / 444.1 MB, free: 14.37 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.5256, allocations: 0 / 444.1 MB, free: 14.37 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.558e-05/0.5256, allocations: 27.17 kB / 444.1 MB, free: 14.34 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002327/0.5259, allocations: 7.062 kB / 444.1 MB, free: 14.34 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006376/0.5265, allocations: 303.2 kB / 444.4 MB, free: 14 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003088/0.5269, allocations: 0.704 MB / 445.1 MB, free: 13.27 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.633e-05/0.5269, allocations: 4.672 kB / 445.1 MB, free: 13.27 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.197e-05/0.5269, allocations: 20.5 kB / 445.1 MB, free: 13.26 MB / 330.7 MB Notification: Performance of SimCode: time 2.71e-07/0.527, allocations: 0 / 445.1 MB, free: 13.26 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01977/0.5467, allocations: 1.225 MB / 446.3 MB, free: 12.04 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000192/0.547, allocations: 149.3 kB / 446.5 MB, free: 11.84 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.554/2.101, allocations: 0 / 446.5 MB, free: 11.84 MB / 330.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