Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_Modelica_Mechanics_Translational_Examples_Accelerate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Accelerate,fileNamePrefix="Modelica_3_2_3_cpp_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.001621/0.001621, allocations: 181.4 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.065/2.065, allocations: 205.2 MB / 219.4 MB, free: 14.21 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001137/0.001137, allocations: 82.7 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.46e-05/3.478e-05, allocations: 4 kB / 321.6 MB, free: 17.75 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.104, allocations: 47.58 MB / 369.2 MB, free: 2.102 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4045/0.5085, allocations: 75.18 MB / 444.4 MB, free: 1.57 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002636/0.5089, allocations: 66.72 kB / 444.4 MB, free: 1.535 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0059/0.5148, allocations: 1.344 MB / 445.8 MB, free: 392 kB / 314.7 MB Notification: Performance of FrontEnd: time 2.255e-06/0.5149, allocations: 0 / 445.8 MB, free: 392 kB / 314.7 MB Notification: Performance of Transformations before backend: time 1.21e-05/0.5149, allocations: 0 / 445.8 MB, free: 392 kB / 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.0005485/0.5154, allocations: 347.1 kB / 446.1 MB, free: 4 kB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.429e-05/0.5155, allocations: 8.078 kB / 446.1 MB, free: 15.99 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.169e-05/0.5156, allocations: 38.44 kB / 446.2 MB, free: 15.95 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.856e-05/0.5157, allocations: 8 kB / 446.2 MB, free: 15.94 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002488/0.5159, allocations: 182.5 kB / 446.3 MB, free: 15.73 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.516, allocations: 4 kB / 446.3 MB, free: 15.73 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.049e-05/0.516, allocations: 11.83 kB / 446.4 MB, free: 15.72 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002137/0.5162, allocations: 61.75 kB / 446.4 MB, free: 15.66 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.091e-05/0.5163, allocations: 3.984 kB / 446.4 MB, free: 15.66 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.546e-05/0.5163, allocations: 3.938 kB / 446.4 MB, free: 15.66 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.082e-05/0.5163, allocations: 4.875 kB / 446.4 MB, free: 15.66 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001312/0.5165, allocations: 28.5 kB / 446.5 MB, free: 15.64 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001036/0.5175, allocations: 389.4 kB / 446.8 MB, free: 15.23 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001546/0.5177, allocations: 54.27 kB / 446.9 MB, free: 15.18 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.746e-05/0.5178, allocations: 20.72 kB / 446.9 MB, free: 15.16 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.34e-05/0.5178, allocations: 3.812 kB / 446.9 MB, free: 15.16 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.95e-05/0.5179, allocations: 38.5 kB / 447 MB, free: 15.11 MB / 330.7 MB Notification: Performance of pre-optimization done (n=7): time 3.636e-06/0.5179, allocations: 0.7656 kB / 447 MB, free: 15.11 MB / 330.7 MB Notification: Performance of matching and sorting (n=9): time 0.001002/0.5189, allocations: 0.492 MB / 447.4 MB, free: 14.57 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.782e-05/0.519, allocations: 59.36 kB / 447.5 MB, free: 14.5 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000119/0.5191, allocations: 104.8 kB / 447.6 MB, free: 14.39 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.112e-05/0.5191, allocations: 33.58 kB / 447.6 MB, free: 14.35 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.466e-05/0.5192, allocations: 166.4 kB / 447.8 MB, free: 14.19 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.33e-05/0.5193, allocations: 33.67 kB / 447.8 MB, free: 14.16 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.342e-06/0.5193, allocations: 0 / 447.8 MB, free: 14.16 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.5195, allocations: 314.7 kB / 448.1 MB, free: 13.85 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.4e-05/0.5195, allocations: 15.88 kB / 448.2 MB, free: 13.84 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001034/0.5196, allocations: 68.52 kB / 448.2 MB, free: 13.77 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.916e-05/0.5197, allocations: 23.8 kB / 448.2 MB, free: 13.75 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.5198, allocations: 0 / 448.2 MB, free: 13.75 MB / 330.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002526/0.52, allocations: 112.7 kB / 448.4 MB, free: 13.65 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.349e-05/0.5201, allocations: 4 kB / 448.4 MB, free: 13.64 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.5201, allocations: 4 kB / 448.4 MB, free: 13.64 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/0.5201, allocations: 4.094 kB / 448.4 MB, free: 13.64 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001841/0.5203, allocations: 23.98 kB / 448.4 MB, free: 13.61 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.36e-05/0.5203, allocations: 4 kB / 448.4 MB, free: 13.61 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.731e-05/0.5204, allocations: 3.953 kB / 448.4 MB, free: 13.61 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.381e-05/0.5204, allocations: 7.75 kB / 448.4 MB, free: 13.6 MB / 330.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 0.0001008/0.5205, allocations: 112.9 kB / 448.5 MB, free: 13.49 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.797e-05/0.5206, allocations: 4 kB / 448.5 MB, free: 13.48 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.714e-05/0.5206, allocations: 12.48 kB / 448.5 MB, free: 13.48 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.5207, allocations: 0 / 448.5 MB, free: 13.48 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/0.5207, allocations: 4.469 kB / 448.5 MB, free: 13.47 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.5207, allocations: 3.938 kB / 448.5 MB, free: 13.47 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008067/0.5215, allocations: 408.9 kB / 448.9 MB, free: 13.03 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.605e-06/0.5215, allocations: 4 kB / 448.9 MB, free: 13.02 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001752/0.5217, allocations: 20.28 kB / 449 MB, free: 13.01 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.234e-06/0.5218, allocations: 7.938 kB / 449 MB, free: 13 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.928e-05/0.5218, allocations: 7.953 kB / 449 MB, free: 12.99 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.709e-06/0.5218, allocations: 3.984 kB / 449 MB, free: 12.99 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.314e-06/0.5218, allocations: 7.984 kB / 449 MB, free: 12.98 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003923/0.5222, allocations: 283 kB / 449.3 MB, free: 12.67 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.047e-05/0.5223, allocations: 89.03 kB / 449.4 MB, free: 12.56 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.579e-05/0.5224, allocations: 3.812 kB / 449.4 MB, free: 12.56 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/0.5225, allocations: 8.062 kB / 449.4 MB, free: 12.55 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.326e-05/0.5225, allocations: 7.953 kB / 449.4 MB, free: 12.55 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.189e-05/0.5225, allocations: 4 kB / 449.4 MB, free: 12.54 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.575e-05/0.5226, allocations: 94.7 kB / 449.5 MB, free: 12.46 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.5226, allocations: 0 / 449.5 MB, free: 12.46 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003479/0.523, allocations: 16 kB / 449.5 MB, free: 12.44 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.0008504/0.5239, allocations: 1.161 MB / 450.7 MB, free: 11.25 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001994/0.5241, allocations: 55.12 kB / 450.7 MB, free: 11.21 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.5241, allocations: 0 / 450.7 MB, free: 11.21 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.94e-05/0.5242, allocations: 31.67 kB / 450.7 MB, free: 11.18 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003179/0.5245, allocations: 16.86 kB / 450.8 MB, free: 11.17 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009303/0.5255, allocations: 329.4 kB / 451.1 MB, free: 10.8 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000342/0.5258, allocations: 0.6965 MB / 451.8 MB, free: 10.08 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.625e-05/0.5259, allocations: 26.92 kB / 451.8 MB, free: 10.06 MB / 330.7 MB Notification: Performance of SimCode: time 1.282e-06/0.5259, allocations: 0 / 451.8 MB, free: 10.06 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.517/3.043, allocations: 1.348 MB / 453.1 MB, free: 8.73 MB / 330.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Accelerate.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Accelerate.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Accelerate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Accelerate_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Mechanics_Translational_Examples_Accelerate_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Mechanics_Translational_Examples_Accelerate.fmu > Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Accelerate.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Accelerate_res.mat does not exist to compare? outputFormat=mat