Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Rotational.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.Rotational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_EddyCurrentBrake",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Rotational_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.0009417/0.0009417, allocations: 180 kB / 17.01 MB, free: 5.125 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.486/1.486, allocations: 205.4 MB / 223.1 MB, free: 9.098 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.0009672/0.0009672, allocations: 96.11 kB / 271.5 MB, free: 8.359 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002682/0.0002683, allocations: 8 kB / 328.3 MB, free: 15.44 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.259/0.2593, allocations: 47.57 MB / 375.9 MB, free: 45.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09253/0.3518, allocations: 77.09 MB / 453 MB, free: 3.547 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002366/0.3521, allocations: 71.97 kB / 453.1 MB, free: 3.477 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006738/0.3589, allocations: 2.51 MB / 455.6 MB, free: 0.9609 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3589, allocations: 0 / 455.6 MB, free: 0.9609 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.087e-05/0.3589, allocations: 4 kB / 455.6 MB, free: 0.957 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.0004406/0.3594, allocations: 387.5 kB / 456 MB, free: 0.5273 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.3594, allocations: 8.031 kB / 456 MB, free: 0.5195 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.376e-05/0.3595, allocations: 46.55 kB / 456 MB, free: 476 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001634/0.3597, allocations: 23.89 kB / 456 MB, free: 452 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001645/0.3598, allocations: 194.8 kB / 456.2 MB, free: 216 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.3599, allocations: 4.188 kB / 456.2 MB, free: 212 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.837e-05/0.3599, allocations: 15.95 kB / 456.2 MB, free: 196 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000175/0.3601, allocations: 87.72 kB / 456.3 MB, free: 104 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.3601, allocations: 0 / 456.3 MB, free: 104 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/0.3601, allocations: 8 kB / 456.3 MB, free: 96 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.077e-06/0.3601, allocations: 0 / 456.3 MB, free: 96 kB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001144/0.3602, allocations: 64.03 kB / 456.4 MB, free: 36 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006846/0.3609, allocations: 490 kB / 456.9 MB, free: 15.49 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000248/0.3612, allocations: 74.59 kB / 456.9 MB, free: 15.41 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.553e-05/0.3612, allocations: 4.031 kB / 457 MB, free: 15.41 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.359e-05/0.3613, allocations: 46.5 kB / 457 MB, free: 15.35 MB / 346.7 MB Notification: Performance of pre-optimization done (n=8): time 1.543e-06/0.3613, allocations: 0 / 457 MB, free: 15.35 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002383/0.3615, allocations: 97.72 kB / 457.1 MB, free: 15.25 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.631e-05/0.3616, allocations: 59.41 kB / 457.2 MB, free: 15.18 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.932e-05/0.3617, allocations: 111.5 kB / 457.3 MB, free: 15.07 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.773e-05/0.3617, allocations: 25.7 kB / 457.3 MB, free: 15.04 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.405e-05/0.3618, allocations: 107.9 kB / 457.4 MB, free: 14.93 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.202e-05/0.3618, allocations: 35.55 kB / 457.4 MB, free: 14.89 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.784e-06/0.3618, allocations: 4 kB / 457.4 MB, free: 14.89 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001416/0.362, allocations: 318.8 kB / 457.7 MB, free: 14.57 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.618e-05/0.362, allocations: 20 kB / 457.8 MB, free: 14.55 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.299e-05/0.3621, allocations: 55.41 kB / 457.8 MB, free: 14.48 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.582e-05/0.3622, allocations: 31.94 kB / 457.8 MB, free: 14.45 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.3622, allocations: 4 kB / 457.8 MB, free: 14.45 MB / 346.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001587/0.3623, allocations: 109.5 kB / 458 MB, free: 14.33 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.3624, allocations: 8 kB / 458 MB, free: 14.32 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.3624, allocations: 0 / 458 MB, free: 14.32 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.3624, allocations: 0 / 458 MB, free: 14.32 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001178/0.3625, allocations: 35.92 kB / 458 MB, free: 14.29 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.3625, allocations: 3.953 kB / 458 MB, free: 14.29 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.361e-05/0.3626, allocations: 7.938 kB / 458 MB, free: 14.28 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.358e-06/0.3626, allocations: 8.094 kB / 458 MB, free: 14.27 MB / 346.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 () * 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 0.000105/0.3627, allocations: 121.8 kB / 458.1 MB, free: 14.14 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.054e-05/0.3628, allocations: 7.906 kB / 458.1 MB, free: 14.13 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.086e-05/0.3628, allocations: 12.36 kB / 458.2 MB, free: 14.12 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.3628, allocations: 0 / 458.2 MB, free: 14.12 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.3629, allocations: 4 kB / 458.2 MB, free: 14.12 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/0.3629, allocations: 3.953 kB / 458.2 MB, free: 14.12 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002434/0.3631, allocations: 201.5 kB / 458.4 MB, free: 13.87 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.3631, allocations: 0 / 458.4 MB, free: 13.87 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001317/0.3633, allocations: 23.98 kB / 458.4 MB, free: 13.85 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.3633, allocations: 4 kB / 458.4 MB, free: 13.84 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.307e-05/0.3633, allocations: 0 / 458.4 MB, free: 13.84 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.3633, allocations: 3.938 kB / 458.4 MB, free: 13.84 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.3633, allocations: 0 / 458.4 MB, free: 13.84 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002679/0.3636, allocations: 207.3 kB / 458.6 MB, free: 13.62 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.483e-05/0.3636, allocations: 81.11 kB / 458.7 MB, free: 13.52 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.083e-05/0.3637, allocations: 4.031 kB / 458.7 MB, free: 13.52 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.018e-05/0.3638, allocations: 8 kB / 458.7 MB, free: 13.51 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.652e-05/0.3638, allocations: 0 / 458.7 MB, free: 13.51 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.005e-06/0.3638, allocations: 8 kB / 458.7 MB, free: 13.5 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.712e-05/0.3639, allocations: 91.27 kB / 458.8 MB, free: 13.41 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3639, allocations: 0 / 458.8 MB, free: 13.41 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002466/0.3641, allocations: 27.84 kB / 458.8 MB, free: 13.39 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (eddyCurrentTorque.phi,inertia.w,heatCapacitor.T) * 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 (8): * Single equations (assignments): 8 * 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.000545/0.3647, allocations: 0.7436 MB / 459.6 MB, free: 12.61 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001621/0.3649, allocations: 56.02 kB / 459.6 MB, free: 12.56 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.3649, allocations: 192 / 459.6 MB, free: 12.56 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.933e-05/0.3649, allocations: 27.94 kB / 459.6 MB, free: 12.53 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002881/0.3652, allocations: 20.69 kB / 459.7 MB, free: 12.51 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001428/0.3666, allocations: 1.355 MB / 461 MB, free: 11.1 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00028/0.3669, allocations: 0.7043 MB / 461.7 MB, free: 10.37 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.685e-05/0.367, allocations: 17.47 kB / 461.7 MB, free: 10.35 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.943e-05/0.3671, allocations: 27.5 kB / 461.8 MB, free: 10.32 MB / 346.7 MB Notification: Performance of SimCode: time 2.1e-07/0.3671, allocations: 4 kB / 461.8 MB, free: 10.32 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01245/0.3795, allocations: 1.988 MB / 463.8 MB, free: 8.367 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001668/0.3797, allocations: 190.2 kB / 463.9 MB, free: 8.121 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.419/1.799, allocations: 0 / 463.9 MB, free: 8.121 MB / 346.7 MB (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_EddyCurrentBrake_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_EddyCurrentBrake.fmu > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.mat does not exist to compare? outputFormat=mat