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/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 3.2.3+maint.om/package.mo", uses=false) 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 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008633/0.0008631, allocations: 98.72 kB / 16.95 MB, free: 6.453 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.0009794/0.0009795, allocations: 183.8 kB / 17.84 MB, free: 6.004 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.442/1.442, allocations: 205.4 MB / 224 MB, free: 13.15 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004652/0.0004655, allocations: 12 kB / 280.9 MB, free: 3.633 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08355/0.08403, allocations: 47.57 MB / 328.4 MB, free: 3.992 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Accelerate): time 0.001399/0.08546, allocations: 1.328 MB / 329.8 MB, free: 2.648 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001705/0.08564, allocations: 63.81 kB / 329.8 MB, free: 2.586 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.221e-05/0.0857, allocations: 7.938 kB / 329.8 MB, free: 2.578 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 6.36e-05/0.08577, allocations: 3.984 kB / 329.8 MB, free: 2.574 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 3.544e-05/0.08581, allocations: 15.84 kB / 329.9 MB, free: 2.559 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.472e-05/0.08591, allocations: 8 kB / 329.9 MB, free: 2.551 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 8.599e-05/0.08601, allocations: 67.72 kB / 329.9 MB, free: 2.484 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.134e-05/0.0861, allocations: 16 kB / 329.9 MB, free: 2.469 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.055e-05/0.08613, allocations: 23.92 kB / 330 MB, free: 2.445 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.165e-05/0.08619, allocations: 27.84 kB / 330 MB, free: 2.418 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.139e-05/0.08621, allocations: 0 / 330 MB, free: 2.418 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.147e-05/0.08623, allocations: 4 kB / 330 MB, free: 2.414 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 1.17e-05/0.08625, allocations: 4 kB / 330 MB, free: 2.41 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 2.567e-05/0.08628, allocations: 37.64 kB / 330 MB, free: 2.367 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 7.339e-05/0.08635, allocations: 44.12 kB / 330.1 MB, free: 2.324 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.08637, allocations: 4 kB / 330.1 MB, free: 2.32 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.08637, allocations: 0 / 330.1 MB, free: 2.32 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.069e-06/0.08638, allocations: 0 / 330.1 MB, free: 2.32 MB / 270.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.0003327/0.08672, allocations: 351.2 kB / 330.4 MB, free: 1.93 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.184e-05/0.08676, allocations: 8.031 kB / 330.4 MB, free: 1.922 MB / 270.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.216e-05/0.08679, allocations: 38.56 kB / 330.5 MB, free: 1.875 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.18e-05/0.08682, allocations: 7.906 kB / 330.5 MB, free: 1.867 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001452/0.08697, allocations: 186.9 kB / 330.7 MB, free: 1.645 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.858e-06/0.08699, allocations: 12 kB / 330.7 MB, free: 1.633 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.276e-05/0.08702, allocations: 4 kB / 330.7 MB, free: 1.629 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001324/0.08715, allocations: 73.61 kB / 330.8 MB, free: 1.551 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.08717, allocations: 7.891 kB / 330.8 MB, free: 1.543 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.334e-06/0.08718, allocations: 0 / 330.8 MB, free: 1.543 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.08719, allocations: 0 / 330.8 MB, free: 1.543 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.852e-05/0.08727, allocations: 39.97 kB / 330.8 MB, free: 1.504 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005244/0.0878, allocations: 375.6 kB / 331.2 MB, free: 1.078 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.065e-05/0.08789, allocations: 54.56 kB / 331.2 MB, free: 1.016 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.063e-05/0.08793, allocations: 20.86 kB / 331.2 MB, free: 0.9922 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.788e-06/0.08794, allocations: 0 / 331.2 MB, free: 0.9922 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.654e-05/0.08796, allocations: 34.5 kB / 331.3 MB, free: 0.9492 MB / 270.1 MB Notification: Performance of pre-optimization done (n=7): time 8.72e-07/0.08797, allocations: 4 kB / 331.3 MB, free: 0.9453 MB / 270.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006129/0.08859, allocations: 0.521 MB / 331.8 MB, free: 340 kB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.76e-05/0.08863, allocations: 51.41 kB / 331.9 MB, free: 276 kB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.053e-05/0.08871, allocations: 118 kB / 332 MB, free: 144 kB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.045e-05/0.08873, allocations: 25.7 kB / 332 MB, free: 112 kB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.069e-05/0.08878, allocations: 95.94 kB / 332.1 MB, free: 12 kB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.266e-05/0.08883, allocations: 39.66 kB / 332.1 MB, free: 15.97 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.647e-06/0.08884, allocations: 8 kB / 332.1 MB, free: 15.96 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 8.998e-05/0.08893, allocations: 314.8 kB / 332.4 MB, free: 15.64 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.058e-05/0.08897, allocations: 19.98 kB / 332.5 MB, free: 15.62 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.301e-05/0.08903, allocations: 61.14 kB / 332.5 MB, free: 15.55 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.451e-05/0.08908, allocations: 27.94 kB / 332.5 MB, free: 15.52 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.08908, allocations: 4 kB / 332.6 MB, free: 15.52 MB / 286.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001415/0.08923, allocations: 105.5 kB / 332.7 MB, free: 15.41 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/0.08925, allocations: 8 kB / 332.7 MB, free: 15.4 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.08926, allocations: 4 kB / 332.7 MB, free: 15.39 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.08928, allocations: 7.984 kB / 332.7 MB, free: 15.39 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.231e-05/0.08935, allocations: 19.78 kB / 332.7 MB, free: 15.37 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.08937, allocations: 4 kB / 332.7 MB, free: 15.37 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.474e-05/0.08941, allocations: 7.938 kB / 332.7 MB, free: 15.36 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.223e-06/0.08942, allocations: 12.08 kB / 332.7 MB, free: 15.35 MB / 286.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 7.111e-05/0.0895, allocations: 113.8 kB / 332.8 MB, free: 15.23 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.367e-05/0.08952, allocations: 4 kB / 332.8 MB, free: 15.22 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.607e-05/0.08956, allocations: 12.38 kB / 332.8 MB, free: 15.21 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.08956, allocations: 0 / 332.8 MB, free: 15.21 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.08957, allocations: 8.359 kB / 332.9 MB, free: 15.2 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.08958, allocations: 144 / 332.9 MB, free: 15.2 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003998/0.08998, allocations: 418.5 kB / 333.3 MB, free: 14.72 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.09, allocations: 3.953 kB / 333.3 MB, free: 14.72 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.868e-05/0.09008, allocations: 19.98 kB / 333.3 MB, free: 14.7 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.596e-06/0.0901, allocations: 7.938 kB / 333.3 MB, free: 14.69 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.897e-06/0.09011, allocations: 4 kB / 333.3 MB, free: 14.69 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.09012, allocations: 4 kB / 333.3 MB, free: 14.68 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.09012, allocations: 4.156 kB / 333.3 MB, free: 14.68 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001863/0.09031, allocations: 227.6 kB / 333.5 MB, free: 14.43 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.331e-05/0.09037, allocations: 88.97 kB / 333.6 MB, free: 14.32 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.356e-05/0.09039, allocations: 4.062 kB / 333.6 MB, free: 14.32 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.327e-05/0.09046, allocations: 8 kB / 333.6 MB, free: 14.31 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.681e-05/0.09048, allocations: 7.984 kB / 333.6 MB, free: 14.3 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.06e-06/0.09049, allocations: 4 kB / 333.6 MB, free: 14.3 MB / 286.1 MB Notification: Performance of sorting global known variables: time 4.136e-05/0.09053, allocations: 91.27 kB / 333.7 MB, free: 14.21 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.09054, allocations: 0 / 333.7 MB, free: 14.21 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002293/0.09077, allocations: 16 kB / 333.7 MB, free: 14.19 MB / 286.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.0003973/0.09118, allocations: 0.7594 MB / 334.5 MB, free: 13.39 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001154/0.0913, allocations: 63.97 kB / 334.6 MB, free: 13.32 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.09131, allocations: 0 / 334.6 MB, free: 13.32 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 3.484e-05/0.09135, allocations: 27.88 kB / 334.6 MB, free: 13.3 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002864/0.09164, allocations: 16.45 kB / 334.6 MB, free: 13.28 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008869/0.09254, allocations: 0.7643 MB / 335.4 MB, free: 12.44 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002092/0.09276, allocations: 0.6887 MB / 336.1 MB, free: 11.73 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 4.072e-05/0.09281, allocations: 16.42 kB / 336.1 MB, free: 11.71 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.457e-05/0.09285, allocations: 19.44 kB / 336.1 MB, free: 11.69 MB / 286.1 MB Notification: Performance of SimCode: time 2.7e-07/0.09285, allocations: 0 / 336.1 MB, free: 11.69 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2776/0.3705, allocations: 1.642 MB / 337.7 MB, free: 10.06 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002934/0.3708, allocations: 190.6 kB / 337.9 MB, free: 9.82 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.914/2.285, allocations: 0 / 337.9 MB, free: 9.82 MB / 286.1 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) Environment - environmentSimulation: 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