Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.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.EddyCurrentBrake,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake",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.0009975/0.0009976, allocations: 172.4 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.474/1.474, allocations: 205.2 MB / 219.8 MB, free: 14.2 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.0007796/0.0007797, allocations: 86.7 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.111e-05/3.115e-05, allocations: 7.938 kB / 322.5 MB, free: 17.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08901/0.08906, allocations: 47.57 MB / 370.1 MB, free: 1.621 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.314/0.4031, allocations: 76.99 MB / 447.1 MB, free: 296 kB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002056/0.4033, allocations: 65.88 kB / 447.2 MB, free: 264 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006626/0.41, allocations: 2.576 MB / 449.7 MB, free: 14.07 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.41, allocations: 0 / 449.7 MB, free: 14.07 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.053e-05/0.41, allocations: 4 kB / 449.7 MB, free: 14.07 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0003901/0.4104, allocations: 391.1 kB / 450.1 MB, free: 13.65 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.4105, allocations: 8.031 kB / 450.1 MB, free: 13.64 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.197e-05/0.4105, allocations: 45.94 kB / 450.2 MB, free: 13.59 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001605/0.4107, allocations: 27.8 kB / 450.2 MB, free: 13.56 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001687/0.4109, allocations: 196.4 kB / 450.4 MB, free: 13.34 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.4109, allocations: 8 kB / 450.4 MB, free: 13.34 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.783e-05/0.4109, allocations: 7.953 kB / 450.4 MB, free: 13.33 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001653/0.4111, allocations: 94.42 kB / 450.5 MB, free: 13.25 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.4111, allocations: 4 kB / 450.5 MB, free: 13.25 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.4111, allocations: 3.875 kB / 450.5 MB, free: 13.25 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.187e-06/0.4111, allocations: 7.938 kB / 450.5 MB, free: 13.24 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001181/0.4113, allocations: 59.67 kB / 450.6 MB, free: 13.2 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005927/0.4119, allocations: 445.7 kB / 451 MB, free: 12.77 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002365/0.4121, allocations: 101.8 kB / 451.1 MB, free: 12.68 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.447e-05/0.4122, allocations: 32.67 kB / 451.1 MB, free: 12.66 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.222e-05/0.4122, allocations: 0.875 kB / 451.2 MB, free: 12.66 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.611e-05/0.4122, allocations: 34.56 kB / 451.2 MB, free: 12.61 MB / 330.7 MB Notification: Performance of pre-optimization done (n=11): time 1.323e-06/0.4122, allocations: 0 / 451.2 MB, free: 12.61 MB / 330.7 MB Notification: Performance of matching and sorting (n=12): time 0.0005378/0.4128, allocations: 373.4 kB / 451.5 MB, free: 12.24 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.666e-05/0.4128, allocations: 59.34 kB / 451.6 MB, free: 12.17 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001004/0.4129, allocations: 117.7 kB / 451.7 MB, free: 12.05 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.336e-05/0.413, allocations: 25.7 kB / 451.7 MB, free: 12.02 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.193e-05/0.413, allocations: 104.3 kB / 451.8 MB, free: 11.92 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.941e-05/0.4131, allocations: 47.23 kB / 451.9 MB, free: 11.88 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.889e-06/0.4131, allocations: 0 / 451.9 MB, free: 11.88 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.607e-05/0.4132, allocations: 318.7 kB / 452.2 MB, free: 11.57 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.688e-05/0.4132, allocations: 31.62 kB / 452.2 MB, free: 11.55 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.535e-05/0.4133, allocations: 58.98 kB / 452.3 MB, free: 11.49 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.909e-05/0.4134, allocations: 31.84 kB / 452.3 MB, free: 11.47 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.4134, allocations: 4 kB / 452.3 MB, free: 11.46 MB / 330.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001646/0.4135, allocations: 125.2 kB / 452.5 MB, free: 11.36 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.4136, allocations: 4 kB / 452.5 MB, free: 11.36 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.4136, allocations: 7.938 kB / 452.5 MB, free: 11.35 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.4136, allocations: 4.062 kB / 452.5 MB, free: 11.34 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001234/0.4137, allocations: 31.98 kB / 452.5 MB, free: 11.31 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.215e-06/0.4137, allocations: 3.953 kB / 452.5 MB, free: 11.31 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.155e-05/0.4138, allocations: 7.812 kB / 452.5 MB, free: 11.3 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.4138, allocations: 4 kB / 452.5 MB, free: 11.3 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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 6.282e-05/0.4139, allocations: 112.7 kB / 452.6 MB, free: 11.19 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.811e-05/0.4139, allocations: 7.906 kB / 452.6 MB, free: 11.18 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.101e-05/0.414, allocations: 20.06 kB / 452.7 MB, free: 11.17 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.414, allocations: 3.938 kB / 452.7 MB, free: 11.17 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.414, allocations: 7.984 kB / 452.7 MB, free: 11.16 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.269e-06/0.414, allocations: 3.953 kB / 452.7 MB, free: 11.16 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004586/0.4145, allocations: 426.2 kB / 453.1 MB, free: 10.72 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.4145, allocations: 0 / 453.1 MB, free: 10.72 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001423/0.4146, allocations: 31.92 kB / 453.1 MB, free: 10.69 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.4146, allocations: 0 / 453.1 MB, free: 10.69 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.4146, allocations: 8.062 kB / 453.1 MB, free: 10.68 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.4147, allocations: 3.953 kB / 453.1 MB, free: 10.68 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.4147, allocations: 0 / 453.1 MB, free: 10.68 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000255/0.4149, allocations: 267.5 kB / 453.4 MB, free: 10.42 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.982e-05/0.415, allocations: 92.84 kB / 453.5 MB, free: 10.31 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.769e-05/0.415, allocations: 4 kB / 453.5 MB, free: 10.31 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.202e-05/0.4151, allocations: 4.031 kB / 453.5 MB, free: 10.3 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.346e-05/0.4151, allocations: 7.562 kB / 453.5 MB, free: 10.3 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.249e-05/0.4151, allocations: 4 kB / 453.5 MB, free: 10.3 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.688e-05/0.4152, allocations: 99.64 kB / 453.6 MB, free: 10.2 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4152, allocations: 0 / 453.6 MB, free: 10.2 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002234/0.4154, allocations: 27.94 kB / 453.6 MB, free: 10.18 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (mass.s,mass.v,heatCapacitor.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * 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.0005288/0.416, allocations: 0.9402 MB / 454.6 MB, free: 9.238 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001433/0.4161, allocations: 91.14 kB / 454.7 MB, free: 9.168 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.4161, allocations: 0 / 454.7 MB, free: 9.168 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.985e-05/0.4162, allocations: 39.56 kB / 454.7 MB, free: 9.141 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002285/0.4164, allocations: 11.81 kB / 454.7 MB, free: 9.133 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007167/0.4171, allocations: 405.2 kB / 455.1 MB, free: 8.711 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002283/0.4174, allocations: 0.7121 MB / 455.8 MB, free: 7.973 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.194e-05/0.4174, allocations: 12.88 kB / 455.8 MB, free: 7.957 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.953e-05/0.4175, allocations: 25.94 kB / 455.8 MB, free: 7.945 MB / 330.7 MB Notification: Performance of SimCode: time 3.01e-07/0.4175, allocations: 4 kB / 455.9 MB, free: 7.941 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01351/0.431, allocations: 2.225 MB / 458.1 MB, free: 5.723 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001801/0.4313, allocations: 173 kB / 458.2 MB, free: 5.488 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.493/1.924, allocations: 0 / 458.2 MB, free: 5.488 MB / 330.7 MB (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake.fmu > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.mat does not exist to compare? outputFormat=mat