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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001746/0.001746, allocations: 92.53 kB / 16.3 MB, free: 5.547 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00177/0.00177, allocations: 187.4 kB / 17.2 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.358/1.358, allocations: 223.2 MB / 241.1 MB, free: 14.57 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002537/0.0002539, allocations: 8.688 kB / 300.8 MB, free: 6.148 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0882/0.08847, allocations: 50.42 MB / 351.2 MB, free: 3.719 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.001729/0.09026, allocations: 1.308 MB / 352.5 MB, free: 2.398 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001849/0.09046, allocations: 67.81 kB / 352.6 MB, free: 2.332 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.547e-05/0.09052, allocations: 0 / 352.6 MB, free: 2.332 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.563e-05/0.09055, allocations: 7.938 kB / 352.6 MB, free: 2.324 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 7.502e-05/0.09063, allocations: 23.94 kB / 352.6 MB, free: 2.301 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.332e-05/0.09073, allocations: 11.98 kB / 352.7 MB, free: 2.289 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001062/0.09085, allocations: 51.88 kB / 352.7 MB, free: 2.238 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.757e-05/0.09094, allocations: 15.95 kB / 352.7 MB, free: 2.223 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.824e-05/0.09098, allocations: 15.92 kB / 352.7 MB, free: 2.207 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.665e-05/0.09104, allocations: 31.84 kB / 352.8 MB, free: 2.176 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.266e-05/0.09106, allocations: 4 kB / 352.8 MB, free: 2.172 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.232e-05/0.09108, allocations: 4 kB / 352.8 MB, free: 2.168 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.01e-05/0.09109, allocations: 0 / 352.8 MB, free: 2.168 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 2.974e-05/0.09113, allocations: 41.64 kB / 352.8 MB, free: 2.121 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 6.689e-05/0.0912, allocations: 44.12 kB / 352.9 MB, free: 2.078 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.09121, allocations: 4 kB / 352.9 MB, free: 2.074 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.09121, allocations: 0 / 352.9 MB, free: 2.074 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.62e-06/0.09122, allocations: 0 / 352.9 MB, free: 2.074 MB / 286.1 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.000352/0.09158, allocations: 352 kB / 353.2 MB, free: 1.684 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.09163, allocations: 15.97 kB / 353.2 MB, free: 1.668 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.312e-05/0.09166, allocations: 34.56 kB / 353.3 MB, free: 1.625 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.257e-05/0.09169, allocations: 4 kB / 353.3 MB, free: 1.621 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001445/0.09184, allocations: 190.8 kB / 353.4 MB, free: 1.395 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.149e-05/0.09186, allocations: 12 kB / 353.5 MB, free: 1.383 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.11e-05/0.09189, allocations: 7.938 kB / 353.5 MB, free: 1.375 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001308/0.09202, allocations: 69.67 kB / 353.5 MB, free: 1.301 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.09204, allocations: 0 / 353.5 MB, free: 1.301 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.09206, allocations: 3.953 kB / 353.5 MB, free: 1.297 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.09207, allocations: 4 kB / 353.5 MB, free: 1.293 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.894e-05/0.09214, allocations: 35.97 kB / 353.6 MB, free: 1.258 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006408/0.09279, allocations: 379.5 kB / 353.9 MB, free: 0.832 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.212e-05/0.09289, allocations: 54.56 kB / 354 MB, free: 0.7695 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.037e-06/0.09291, allocations: 4 kB / 354 MB, free: 0.7656 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.064e-05/0.09293, allocations: 34.56 kB / 354 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.09294, allocations: 0 / 354 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006627/0.09361, allocations: 0.5053 MB / 354.5 MB, free: 128 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.414e-05/0.09365, allocations: 55.41 kB / 354.6 MB, free: 60 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000119/0.09378, allocations: 121.9 kB / 354.7 MB, free: 15.93 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.0938, allocations: 25.7 kB / 354.7 MB, free: 15.89 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.038e-05/0.09386, allocations: 96.03 kB / 354.8 MB, free: 15.8 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.897e-05/0.09396, allocations: 27.56 kB / 354.9 MB, free: 15.77 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.61e-06/0.09397, allocations: 4 kB / 354.9 MB, free: 15.77 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001701/0.09415, allocations: 326.8 kB / 355.2 MB, free: 15.44 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.333e-05/0.09419, allocations: 16 kB / 355.2 MB, free: 15.42 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.708e-05/0.09425, allocations: 53.14 kB / 355.3 MB, free: 15.35 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.719e-05/0.09431, allocations: 36.44 kB / 355.3 MB, free: 15.32 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.09432, allocations: 4 kB / 355.3 MB, free: 15.31 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.00016/0.09448, allocations: 105.5 kB / 355.4 MB, free: 15.2 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.09451, allocations: 8 kB / 355.4 MB, free: 15.2 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.09452, allocations: 0 / 355.4 MB, free: 15.2 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.09454, allocations: 7.938 kB / 355.4 MB, free: 15.19 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.88e-05/0.09463, allocations: 27.92 kB / 355.4 MB, free: 15.16 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.09464, allocations: 0 / 355.4 MB, free: 15.16 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.172e-05/0.09469, allocations: 4 kB / 355.4 MB, free: 15.16 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-06/0.09471, allocations: 7.938 kB / 355.4 MB, free: 15.15 MB / 302.1 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 9.638e-05/0.09481, allocations: 133.8 kB / 355.6 MB, free: 15.01 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.714e-05/0.09484, allocations: 7.906 kB / 355.6 MB, free: 15 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.331e-05/0.09488, allocations: 12.36 kB / 355.6 MB, free: 14.98 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.09489, allocations: 0 / 355.6 MB, free: 14.98 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.0949, allocations: 0 / 355.6 MB, free: 14.98 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.776e-06/0.0949, allocations: 0 / 355.6 MB, free: 14.98 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005004/0.09541, allocations: 414.6 kB / 356 MB, free: 14.51 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.09542, allocations: 0 / 356 MB, free: 14.51 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.871e-05/0.09552, allocations: 19.94 kB / 356 MB, free: 14.49 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.09553, allocations: 4 kB / 356 MB, free: 14.48 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/0.09554, allocations: 0 / 356 MB, free: 14.48 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/0.09555, allocations: 7.984 kB / 356 MB, free: 14.48 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.09556, allocations: 0 / 356 MB, free: 14.48 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002784/0.09584, allocations: 296.3 kB / 356.3 MB, free: 14.12 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.457e-05/0.0959, allocations: 81.14 kB / 356.4 MB, free: 14.03 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.911e-05/0.09592, allocations: 4 kB / 356.4 MB, free: 14.02 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.83e-05/0.09599, allocations: 4 kB / 356.4 MB, free: 14.02 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.443e-05/0.09602, allocations: 15.92 kB / 356.4 MB, free: 14 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.823e-06/0.09604, allocations: 7.953 kB / 356.4 MB, free: 14 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.51e-05/0.0961, allocations: 91.27 kB / 356.5 MB, free: 13.91 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.0961, allocations: 4.062 kB / 356.5 MB, free: 13.9 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.00025/0.09636, allocations: 20 kB / 356.5 MB, free: 13.88 MB / 302.1 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.0006264/0.09699, allocations: 1.159 MB / 357.7 MB, free: 12.66 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001225/0.09712, allocations: 64.03 kB / 357.8 MB, free: 12.6 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.09713, allocations: 4.062 kB / 357.8 MB, free: 12.6 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.798e-05/0.09718, allocations: 27.92 kB / 357.8 MB, free: 12.57 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002627/0.09744, allocations: 8 kB / 357.8 MB, free: 12.56 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001349/0.0988, allocations: 1.508 MB / 359.3 MB, free: 10.96 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000283/0.0991, allocations: 0.6965 MB / 360 MB, free: 10.24 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.718e-05/0.09914, allocations: 8.422 kB / 360 MB, free: 10.23 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.882e-05/0.0992, allocations: 23.44 kB / 360 MB, free: 10.21 MB / 302.1 MB Notification: Performance of SimCode: time 1.523e-06/0.09921, allocations: 0 / 360 MB, free: 10.21 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01172/0.1109, allocations: 1.631 MB / 361.7 MB, free: 8.715 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002021/0.1112, allocations: 190.1 kB / 361.9 MB, free: 8.469 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.659/1.77, allocations: 0 / 361.9 MB, free: 8.469 MB / 302.1 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