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.001512/0.001512, allocations: 198.2 kB / 8.768 MB, free: 312 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.604/1.604, allocations: 225.6 MB / 234.8 MB, free: 3.262 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008511/0.0008512, allocations: 103.5 kB / 286.7 MB, free: 5.312 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.031e-05/2.034e-05, allocations: 0 / 343.8 MB, free: 8.172 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1279/0.1279, allocations: 51.46 MB / 395.2 MB, free: 4.668 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4292/0.5571, allocations: 78.63 MB / 473.9 MB, free: 12.92 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000257/0.5575, allocations: 67.53 kB / 473.9 MB, free: 12.89 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008355/0.5658, allocations: 2.996 MB / 476.9 MB, free: 11.12 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.5659, allocations: 4 kB / 476.9 MB, free: 11.11 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.727e-05/0.5659, allocations: 4 kB / 476.9 MB, free: 11.11 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.0005106/0.5664, allocations: 415.7 kB / 477.4 MB, free: 10.69 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/0.5665, allocations: 8.031 kB / 477.4 MB, free: 10.68 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001854/0.5667, allocations: 31 kB / 477.4 MB, free: 10.66 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000194/0.5669, allocations: 198.8 kB / 477.6 MB, free: 10.44 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.538e-06/0.5669, allocations: 4.859 kB / 477.6 MB, free: 10.43 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.33e-05/0.5669, allocations: 8 kB / 477.6 MB, free: 10.43 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001727/0.5671, allocations: 65.36 kB / 477.7 MB, free: 10.39 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001593/0.5673, allocations: 88.23 kB / 477.7 MB, free: 10.32 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.596e-05/0.5673, allocations: 5.359 kB / 477.8 MB, free: 10.32 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.584e-05/0.5673, allocations: 3.984 kB / 477.8 MB, free: 10.32 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.5673, allocations: 4 kB / 477.8 MB, free: 10.31 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000764/0.5681, allocations: 461.4 kB / 478.2 MB, free: 9.934 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002509/0.5684, allocations: 96.95 kB / 478.3 MB, free: 9.859 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.366e-05/0.5684, allocations: 37.56 kB / 478.3 MB, free: 9.832 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.274e-05/0.5684, allocations: 0 / 478.3 MB, free: 9.832 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.837e-05/0.5685, allocations: 35.91 kB / 478.4 MB, free: 9.789 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 2.826e-06/0.5685, allocations: 0 / 478.4 MB, free: 9.789 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006258/0.5691, allocations: 376.5 kB / 478.7 MB, free: 9.43 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.737e-05/0.5691, allocations: 63.34 kB / 478.8 MB, free: 9.355 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.111e-05/0.5692, allocations: 118.1 kB / 478.9 MB, free: 9.242 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.148e-05/0.5693, allocations: 25.7 kB / 478.9 MB, free: 9.211 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.732e-05/0.5693, allocations: 117.9 kB / 479.1 MB, free: 9.109 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.625e-05/0.5693, allocations: 42.41 kB / 479.1 MB, free: 9.078 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.392e-06/0.5694, allocations: 0 / 479.1 MB, free: 9.078 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.867e-05/0.5694, allocations: 322.6 kB / 479.4 MB, free: 8.762 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.997e-05/0.5695, allocations: 26.38 kB / 479.4 MB, free: 8.746 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.71e-05/0.5695, allocations: 60.92 kB / 479.5 MB, free: 8.691 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.102e-05/0.5696, allocations: 31.47 kB / 479.5 MB, free: 8.676 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.5696, allocations: 3.938 kB / 479.5 MB, free: 8.672 MB / 346.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001713/0.5698, allocations: 132.4 kB / 479.7 MB, free: 8.566 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.5698, allocations: 4 kB / 479.7 MB, free: 8.562 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.5698, allocations: 0 / 479.7 MB, free: 8.562 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.5699, allocations: 8.062 kB / 479.7 MB, free: 8.555 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001806/0.57, allocations: 42.08 kB / 479.7 MB, free: 8.52 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.5701, allocations: 3.953 kB / 479.7 MB, free: 8.516 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001064/0.5702, allocations: 11.8 kB / 479.7 MB, free: 8.508 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.139e-05/0.5702, allocations: 7.438 kB / 479.7 MB, free: 8.504 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 5.91e-05/0.5703, allocations: 108.9 kB / 479.9 MB, free: 8.391 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001552/0.5704, allocations: 100.7 kB / 480 MB, free: 8.309 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.876e-05/0.5705, allocations: 7.906 kB / 480 MB, free: 8.301 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.556e-05/0.5705, allocations: 13.28 kB / 480 MB, free: 8.301 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.5705, allocations: 9.828 kB / 480 MB, free: 8.293 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.5705, allocations: 0 / 480 MB, free: 8.293 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.5705, allocations: 1.172 kB / 480 MB, free: 8.293 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004598/0.571, allocations: 411.7 kB / 480.4 MB, free: 7.922 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.571, allocations: 7.984 kB / 480.4 MB, free: 7.914 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002006/0.5712, allocations: 43.23 kB / 480.4 MB, free: 7.879 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.398e-06/0.5712, allocations: 3.953 kB / 480.4 MB, free: 7.875 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.49e-05/0.5713, allocations: 8.781 kB / 480.4 MB, free: 7.871 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.5713, allocations: 0 / 480.4 MB, free: 7.871 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.5713, allocations: 0 / 480.4 MB, free: 7.871 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002744/0.5715, allocations: 279.7 kB / 480.7 MB, free: 7.609 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.118e-05/0.5716, allocations: 84.92 kB / 480.8 MB, free: 7.508 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.404e-05/0.5716, allocations: 5.547 kB / 480.8 MB, free: 7.504 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001276/0.5718, allocations: 9.641 kB / 480.8 MB, free: 7.496 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.679e-05/0.5718, allocations: 19.5 kB / 480.8 MB, free: 7.484 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.147e-06/0.5718, allocations: 4 kB / 480.8 MB, free: 7.48 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.525e-05/0.5719, allocations: 99.25 kB / 480.9 MB, free: 7.395 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5719, allocations: 0 / 480.9 MB, free: 7.395 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002576/0.5721, allocations: 24 kB / 481 MB, free: 7.371 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.0004626/0.5726, allocations: 0.9536 MB / 481.9 MB, free: 6.43 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001779/0.5728, allocations: 74.44 kB / 482 MB, free: 6.379 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.5728, allocations: 0 / 482 MB, free: 6.379 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.99e-05/0.5729, allocations: 46.41 kB / 482 MB, free: 6.348 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002475/0.5731, allocations: 26.86 kB / 482.1 MB, free: 6.328 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007967/0.574, allocations: 397.4 kB / 482.4 MB, free: 5.961 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001565/0.5741, allocations: 0.7137 MB / 483.2 MB, free: 5.238 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 7.842e-05/0.5742, allocations: 11.92 kB / 483.2 MB, free: 5.23 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.105e-05/0.5743, allocations: 39.42 kB / 483.2 MB, free: 5.215 MB / 346.7 MB Notification: Performance of SimCode: time 3.7e-07/0.5743, allocations: 0 / 483.2 MB, free: 5.215 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02206/0.5964, allocations: 2.236 MB / 485.4 MB, free: 3.359 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002022/0.5966, allocations: 155.9 kB / 485.6 MB, free: 3.16 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.634/2.231, allocations: 1.688 kB / 485.6 MB, free: 3.16 MB / 346.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