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.00128/0.00128, allocations: 175 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.599/1.599, allocations: 221.4 MB / 235.5 MB, free: 2.953 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.0009294/0.0009293, allocations: 94.88 kB / 286.5 MB, free: 224 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.401e-05/3.404e-05, allocations: 4 kB / 343.9 MB, free: 4.211 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1088, allocations: 50.41 MB / 394.3 MB, free: 1.758 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3337/0.4425, allocations: 76.26 MB / 470.6 MB, free: 11.21 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002234/0.4428, allocations: 67.95 kB / 470.7 MB, free: 11.15 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003809/0.4466, allocations: 1.359 MB / 472 MB, free: 9.793 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.4466, allocations: 0 / 472 MB, free: 9.793 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.145e-06/0.4467, allocations: 0 / 472 MB, free: 9.793 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.0003573/0.447, allocations: 343.2 kB / 472.4 MB, free: 9.414 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.4471, allocations: 12.03 kB / 472.4 MB, free: 9.402 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.685e-05/0.4471, allocations: 38.52 kB / 472.4 MB, free: 9.355 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.213e-05/0.4472, allocations: 5.5 kB / 472.4 MB, free: 9.352 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001851/0.4474, allocations: 178.9 kB / 472.6 MB, free: 9.137 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.388e-06/0.4474, allocations: 8 kB / 472.6 MB, free: 9.129 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.551e-05/0.4474, allocations: 8 kB / 472.6 MB, free: 9.121 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001497/0.4476, allocations: 68.25 kB / 472.7 MB, free: 9.051 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.012e-05/0.4476, allocations: 11.98 kB / 472.7 MB, free: 9.039 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.4476, allocations: 0 / 472.7 MB, free: 9.039 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.867e-06/0.4476, allocations: 7.938 kB / 472.7 MB, free: 9.031 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.132e-05/0.4477, allocations: 32 kB / 472.7 MB, free: 9 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006481/0.4484, allocations: 391.5 kB / 473.1 MB, free: 8.559 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000103/0.4485, allocations: 51.28 kB / 473.2 MB, free: 8.5 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.48e-05/0.4486, allocations: 16.86 kB / 473.2 MB, free: 8.48 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.567e-05/0.4486, allocations: 4 kB / 473.2 MB, free: 8.477 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.375e-05/0.4486, allocations: 35.42 kB / 473.2 MB, free: 8.434 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 1.152e-06/0.4486, allocations: 4 kB / 473.2 MB, free: 8.43 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0007758/0.4494, allocations: 0.5012 MB / 473.7 MB, free: 7.836 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.243e-05/0.4494, allocations: 51.41 kB / 473.8 MB, free: 7.773 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.178e-05/0.4495, allocations: 113.1 kB / 473.9 MB, free: 7.652 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.601e-05/0.4496, allocations: 29.7 kB / 473.9 MB, free: 7.617 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.168e-05/0.4496, allocations: 88.05 kB / 474 MB, free: 7.527 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.87e-05/0.4497, allocations: 35.55 kB / 474 MB, free: 7.492 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.57e-06/0.4497, allocations: 4 kB / 474 MB, free: 7.488 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.4498, allocations: 318.8 kB / 474.3 MB, free: 7.168 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.448e-05/0.4499, allocations: 16 kB / 474.4 MB, free: 7.152 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.21e-05/0.45, allocations: 57.16 kB / 474.4 MB, free: 7.078 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.293e-05/0.45, allocations: 27.94 kB / 474.4 MB, free: 7.051 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.45, allocations: 0 / 474.4 MB, free: 7.051 MB / 346.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001572/0.4502, allocations: 113.4 kB / 474.5 MB, free: 6.934 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.4502, allocations: 9.25 kB / 474.6 MB, free: 6.926 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.4502, allocations: 0 / 474.6 MB, free: 6.926 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.4502, allocations: 4 kB / 474.6 MB, free: 6.922 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.726e-05/0.4503, allocations: 23.92 kB / 474.6 MB, free: 6.898 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.4504, allocations: 8.094 kB / 474.6 MB, free: 6.891 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.668e-05/0.4504, allocations: 0 / 474.6 MB, free: 6.891 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.034e-05/0.4504, allocations: 8 kB / 474.6 MB, free: 6.883 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 7.358e-05/0.4505, allocations: 116.9 kB / 474.7 MB, free: 6.762 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.955e-05/0.4505, allocations: 12.03 kB / 474.7 MB, free: 6.75 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.993e-05/0.4506, allocations: 16.61 kB / 474.7 MB, free: 6.73 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.4506, allocations: 0 / 474.7 MB, free: 6.73 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.4506, allocations: 4 kB / 474.7 MB, free: 6.727 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.4506, allocations: 0 / 474.7 MB, free: 6.727 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004426/0.451, allocations: 410.5 kB / 475.1 MB, free: 6.254 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.4511, allocations: 4 kB / 475.2 MB, free: 6.25 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.715e-05/0.4512, allocations: 24.39 kB / 475.2 MB, free: 6.227 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.4512, allocations: 0 / 475.2 MB, free: 6.227 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.4512, allocations: 4.156 kB / 475.2 MB, free: 6.223 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.4512, allocations: 4 kB / 475.2 MB, free: 6.219 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.4512, allocations: 4 kB / 475.2 MB, free: 6.215 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002596/0.4515, allocations: 292.1 kB / 475.5 MB, free: 5.867 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.968e-05/0.4515, allocations: 81.14 kB / 475.6 MB, free: 5.77 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.928e-05/0.4516, allocations: 8 kB / 475.6 MB, free: 5.762 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.34e-05/0.4516, allocations: 0 / 475.6 MB, free: 5.762 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.512e-05/0.4517, allocations: 15.98 kB / 475.6 MB, free: 5.746 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.851e-06/0.4517, allocations: 4 kB / 475.6 MB, free: 5.742 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.584e-05/0.4517, allocations: 91.28 kB / 475.7 MB, free: 5.652 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4517, allocations: 0 / 475.7 MB, free: 5.652 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002311/0.452, allocations: 19.95 kB / 475.7 MB, free: 5.633 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.0006304/0.4526, allocations: 1.164 MB / 476.9 MB, free: 4.41 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001263/0.4527, allocations: 59.86 kB / 476.9 MB, free: 4.352 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.4528, allocations: 3.938 kB / 476.9 MB, free: 4.348 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.73e-05/0.4528, allocations: 23.94 kB / 476.9 MB, free: 4.324 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000222/0.453, allocations: 12 kB / 476.9 MB, free: 4.312 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006675/0.4537, allocations: 296.6 kB / 477.2 MB, free: 3.977 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003226/0.454, allocations: 0.7004 MB / 477.9 MB, free: 3.25 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.058e-05/0.4541, allocations: 4.438 kB / 477.9 MB, free: 3.246 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.763e-05/0.4541, allocations: 23.42 kB / 478 MB, free: 3.223 MB / 346.7 MB Notification: Performance of SimCode: time 2.71e-07/0.4542, allocations: 3.938 kB / 478 MB, free: 3.219 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01308/0.4672, allocations: 1.619 MB / 479.6 MB, free: 1.727 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002161/0.4675, allocations: 156.9 kB / 479.7 MB, free: 1.504 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.637/2.104, allocations: 4.062 kB / 479.7 MB, free: 1.5 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