Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002294/0.002294, allocations: 197.1 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.574/1.574, allocations: 225.4 MB / 240.1 MB, free: 15.09 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008877/0.0008876, allocations: 87.84 kB / 292.1 MB, free: 5.906 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.417e-05/4.419e-05, allocations: 4 kB / 350.6 MB, free: 2.426 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.1328, allocations: 51.48 MB / 402.1 MB, free: 14.9 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3875/0.5203, allocations: 79.28 MB / 481.4 MB, free: 10.15 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002185/0.5206, allocations: 69.19 kB / 481.5 MB, free: 10.12 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007528/0.5281, allocations: 3.015 MB / 484.5 MB, free: 7.613 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.5282, allocations: 0 / 484.5 MB, free: 7.613 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.339e-05/0.5282, allocations: 4 kB / 484.5 MB, free: 7.609 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0004947/0.5287, allocations: 427.2 kB / 484.9 MB, free: 7.168 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/0.5288, allocations: 12.03 kB / 484.9 MB, free: 7.156 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.105e-05/0.5288, allocations: 38.17 kB / 485 MB, free: 7.113 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002061/0.529, allocations: 32.36 kB / 485 MB, free: 7.086 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001956/0.5293, allocations: 194.4 kB / 485.2 MB, free: 6.859 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.426e-05/0.5293, allocations: 12.55 kB / 485.2 MB, free: 6.852 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.521e-05/0.5293, allocations: 8.438 kB / 485.2 MB, free: 6.848 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002024/0.5295, allocations: 103.4 kB / 485.3 MB, free: 6.77 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.036e-05/0.5296, allocations: 11.89 kB / 485.3 MB, free: 6.758 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.597e-05/0.5296, allocations: 3.562 kB / 485.3 MB, free: 6.758 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-06/0.5296, allocations: 4 kB / 485.3 MB, free: 6.754 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001417/0.5297, allocations: 65.69 kB / 485.4 MB, free: 6.711 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007706/0.5305, allocations: 0.4887 MB / 485.9 MB, free: 6.234 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002644/0.5308, allocations: 105 kB / 486 MB, free: 6.148 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.695e-05/0.5309, allocations: 32.42 kB / 486 MB, free: 6.125 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.463e-05/0.5309, allocations: 8 kB / 486 MB, free: 6.117 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.019e-05/0.5309, allocations: 34.22 kB / 486 MB, free: 6.078 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 2.033e-06/0.5309, allocations: 2.953 kB / 486 MB, free: 6.078 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.000616/0.5315, allocations: 399.5 kB / 486.4 MB, free: 5.684 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.895e-05/0.5316, allocations: 51.41 kB / 486.5 MB, free: 5.621 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.454e-05/0.5317, allocations: 126.3 kB / 486.6 MB, free: 5.496 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.339e-05/0.5317, allocations: 29.2 kB / 486.6 MB, free: 5.465 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.797e-05/0.5317, allocations: 111 kB / 486.7 MB, free: 5.359 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.802e-05/0.5318, allocations: 42.61 kB / 486.8 MB, free: 5.324 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.762e-06/0.5318, allocations: 7.781 kB / 486.8 MB, free: 5.32 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.403e-05/0.5319, allocations: 322.5 kB / 487.1 MB, free: 5 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.784e-05/0.5319, allocations: 37.44 kB / 487.2 MB, free: 4.977 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.052e-05/0.532, allocations: 62.45 kB / 487.2 MB, free: 4.918 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.216e-05/0.5321, allocations: 40.8 kB / 487.3 MB, free: 4.891 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.5321, allocations: 0 / 487.3 MB, free: 4.891 MB / 346.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000192/0.5323, allocations: 140.5 kB / 487.4 MB, free: 4.773 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.5323, allocations: 7.938 kB / 487.4 MB, free: 4.766 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.5323, allocations: 4 kB / 487.4 MB, free: 4.762 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.185e-05/0.5324, allocations: 3.953 kB / 487.4 MB, free: 4.758 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000182/0.5325, allocations: 35.98 kB / 487.4 MB, free: 4.723 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/0.5326, allocations: 12.05 kB / 487.5 MB, free: 4.711 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001082/0.5327, allocations: 11.75 kB / 487.5 MB, free: 4.703 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.31e-05/0.5327, allocations: 6.562 kB / 487.5 MB, free: 4.699 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.046e-05/0.5328, allocations: 108.5 kB / 487.6 MB, free: 4.59 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.544e-05/0.5328, allocations: 22.36 kB / 487.6 MB, free: 4.574 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.526e-05/0.5329, allocations: 11.62 kB / 487.6 MB, free: 4.57 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.5329, allocations: 7.953 kB / 487.6 MB, free: 4.562 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.5329, allocations: 4 kB / 487.6 MB, free: 4.559 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.5329, allocations: 0 / 487.6 MB, free: 4.559 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005197/0.5334, allocations: 455.1 kB / 488.1 MB, free: 4.105 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.5334, allocations: 0 / 488.1 MB, free: 4.105 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001924/0.5336, allocations: 35.92 kB / 488.1 MB, free: 4.07 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.542e-06/0.5337, allocations: 12.02 kB / 488.1 MB, free: 4.059 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.408e-05/0.5337, allocations: 3.562 kB / 488.1 MB, free: 4.059 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.5337, allocations: 3.984 kB / 488.1 MB, free: 4.055 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.5337, allocations: 4 kB / 488.1 MB, free: 4.051 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002896/0.534, allocations: 289.2 kB / 488.4 MB, free: 3.777 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.44e-05/0.534, allocations: 85.02 kB / 488.5 MB, free: 3.676 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.27e-05/0.5341, allocations: 7.125 kB / 488.5 MB, free: 3.672 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001274/0.5342, allocations: 12.03 kB / 488.5 MB, free: 3.66 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.139e-05/0.5343, allocations: 11.42 kB / 488.5 MB, free: 3.652 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.305e-06/0.5343, allocations: 4 kB / 488.5 MB, free: 3.648 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.968e-05/0.5343, allocations: 101 kB / 488.6 MB, free: 3.559 MB / 346.7 MB Notification: Performance of sort global known variables: time 2e-07/0.5343, allocations: 0 / 488.6 MB, free: 3.559 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002508/0.5346, allocations: 31.12 kB / 488.7 MB, free: 3.531 MB / 346.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 (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 Backend phase and start with SimCode phase: time 0.0005133/0.5351, allocations: 0.9654 MB / 489.6 MB, free: 2.574 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001826/0.5353, allocations: 86.06 kB / 489.7 MB, free: 2.512 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.5353, allocations: 0 / 489.7 MB, free: 2.512 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.174e-05/0.5354, allocations: 49.83 kB / 489.7 MB, free: 2.477 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002783/0.5357, allocations: 23.36 kB / 489.8 MB, free: 2.461 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008/0.5365, allocations: 412.5 kB / 490.2 MB, free: 2.047 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001799/0.5367, allocations: 0.716 MB / 490.9 MB, free: 1.305 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 8.58e-05/0.5368, allocations: 16.77 kB / 490.9 MB, free: 1.289 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.141e-05/0.5368, allocations: 34.86 kB / 490.9 MB, free: 1.273 MB / 346.7 MB Notification: Performance of SimCode: time 6.92e-07/0.5369, allocations: 0 / 490.9 MB, free: 1.273 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01823/0.5551, allocations: 2.587 MB / 493.5 MB, free: 14.94 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000223/0.5554, allocations: 160.4 kB / 493.7 MB, free: 14.72 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.683/2.239, allocations: 0 / 493.7 MB, free: 14.72 MB / 362.7 MB (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake.fmu > Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.mat does not exist to compare? outputFormat=mat