Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001452/0.001452, allocations: 174.8 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.579/1.579, allocations: 221.3 MB / 235.5 MB, free: 2.945 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001087/0.001087, allocations: 79.62 kB / 286.5 MB, free: 248 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.461e-05/3.465e-05, allocations: 0 / 343.9 MB, free: 4.227 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1395/0.1395, allocations: 50.41 MB / 394.3 MB, free: 1.773 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4199/0.5594, allocations: 77.92 MB / 472.3 MB, free: 9.57 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002392/0.5597, allocations: 67.97 kB / 472.3 MB, free: 9.504 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007263/0.567, allocations: 2.618 MB / 474.9 MB, free: 6.887 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.29e-05/0.5671, allocations: 8 kB / 474.9 MB, free: 6.879 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.476e-05/0.5671, allocations: 3.938 kB / 475 MB, free: 6.875 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0005128/0.5676, allocations: 375.6 kB / 475.3 MB, free: 6.461 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.191e-05/0.5677, allocations: 12.03 kB / 475.3 MB, free: 6.449 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.883e-05/0.5678, allocations: 42.52 kB / 475.4 MB, free: 6.398 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002049/0.568, allocations: 27.8 kB / 475.4 MB, free: 6.371 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002356/0.5683, allocations: 190.9 kB / 475.6 MB, free: 6.145 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.609e-05/0.5683, allocations: 12.19 kB / 475.6 MB, free: 6.133 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.64e-05/0.5683, allocations: 12 kB / 475.6 MB, free: 6.121 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002199/0.5685, allocations: 90.17 kB / 475.7 MB, free: 6.031 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.54e-05/0.5686, allocations: 0 / 475.7 MB, free: 6.031 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.684e-05/0.5686, allocations: 4 kB / 475.7 MB, free: 6.027 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.091e-05/0.5686, allocations: 11.94 kB / 475.7 MB, free: 6.016 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001418/0.5688, allocations: 56.55 kB / 475.8 MB, free: 5.961 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007107/0.5695, allocations: 448.4 kB / 476.2 MB, free: 5.469 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002762/0.5698, allocations: 106.5 kB / 476.3 MB, free: 5.355 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.277e-05/0.5698, allocations: 28.86 kB / 476.3 MB, free: 5.324 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.447e-05/0.5699, allocations: 4 kB / 476.3 MB, free: 5.32 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.5699, allocations: 34.56 kB / 476.4 MB, free: 5.277 MB / 346.7 MB Notification: Performance of pre-optimization done (n=11): time 1.262e-06/0.5699, allocations: 0 / 476.4 MB, free: 5.277 MB / 346.7 MB Notification: Performance of matching and sorting (n=12): time 0.0006456/0.5706, allocations: 371.8 kB / 476.7 MB, free: 4.863 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.672e-05/0.5706, allocations: 55.41 kB / 476.8 MB, free: 4.797 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.228e-05/0.5707, allocations: 105.2 kB / 476.9 MB, free: 4.684 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.848e-05/0.5707, allocations: 33.7 kB / 476.9 MB, free: 4.645 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.38e-05/0.5708, allocations: 111.7 kB / 477 MB, free: 4.531 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.808e-05/0.5708, allocations: 43.36 kB / 477.1 MB, free: 4.488 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.929e-06/0.5709, allocations: 0 / 477.1 MB, free: 4.488 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001365/0.571, allocations: 322.8 kB / 477.4 MB, free: 4.164 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.198e-05/0.5711, allocations: 28 kB / 477.4 MB, free: 4.137 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.848e-05/0.5711, allocations: 59.36 kB / 477.5 MB, free: 4.066 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.981e-05/0.5712, allocations: 37.3 kB / 477.5 MB, free: 4.031 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.5712, allocations: 0 / 477.5 MB, free: 4.031 MB / 346.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001815/0.5714, allocations: 126 kB / 477.6 MB, free: 3.902 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.5714, allocations: 9.562 kB / 477.6 MB, free: 3.895 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.5715, allocations: 0 / 477.6 MB, free: 3.895 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.5715, allocations: 4 kB / 477.7 MB, free: 3.891 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001354/0.5716, allocations: 39.92 kB / 477.7 MB, free: 3.852 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.5716, allocations: 0 / 477.7 MB, free: 3.852 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.817e-05/0.5717, allocations: 7.938 kB / 477.7 MB, free: 3.844 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.307e-05/0.5717, allocations: 12.06 kB / 477.7 MB, free: 3.832 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 (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 7.827e-05/0.5718, allocations: 120.9 kB / 477.8 MB, free: 3.707 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.97e-05/0.5718, allocations: 7.906 kB / 477.8 MB, free: 3.699 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.075e-05/0.5719, allocations: 16.61 kB / 477.9 MB, free: 3.68 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.229e-06/0.5719, allocations: 4 kB / 477.9 MB, free: 3.676 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.5719, allocations: 3.938 kB / 477.9 MB, free: 3.672 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.5719, allocations: 0 / 477.9 MB, free: 3.672 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005547/0.5725, allocations: 424 kB / 478.3 MB, free: 3.195 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.5725, allocations: 0 / 478.3 MB, free: 3.195 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000149/0.5727, allocations: 31.97 kB / 478.3 MB, free: 3.164 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.5727, allocations: 3.984 kB / 478.3 MB, free: 3.16 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.409e-05/0.5727, allocations: 8 kB / 478.3 MB, free: 3.152 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.5727, allocations: 0 / 478.3 MB, free: 3.152 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.5727, allocations: 0 / 478.3 MB, free: 3.152 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003466/0.5731, allocations: 281.7 kB / 478.6 MB, free: 2.844 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.107e-05/0.5731, allocations: 85.02 kB / 478.7 MB, free: 2.742 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.371e-05/0.5731, allocations: 4.031 kB / 478.7 MB, free: 2.738 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.709e-05/0.5732, allocations: 8 kB / 478.7 MB, free: 2.73 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.67e-05/0.5733, allocations: 11.95 kB / 478.7 MB, free: 2.719 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.014e-06/0.5733, allocations: 4 kB / 478.7 MB, free: 2.715 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.862e-05/0.5734, allocations: 92.14 kB / 478.8 MB, free: 2.625 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5734, allocations: 0 / 478.8 MB, free: 2.625 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000232/0.5736, allocations: 28 kB / 478.8 MB, free: 2.598 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 (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.0006371/0.5742, allocations: 0.9447 MB / 479.8 MB, free: 1.613 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001787/0.5744, allocations: 79.97 kB / 479.8 MB, free: 1.535 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.5744, allocations: 0 / 479.8 MB, free: 1.535 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.679e-05/0.5745, allocations: 35.94 kB / 479.9 MB, free: 1.5 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002667/0.5748, allocations: 20.52 kB / 479.9 MB, free: 1.48 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008337/0.5756, allocations: 397 kB / 480.3 MB, free: 1.051 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002902/0.5759, allocations: 0.7043 MB / 481 MB, free: 328 kB / 346.7 MB Notification: Performance of simCode: alias equations: time 7.553e-05/0.576, allocations: 16.88 kB / 481 MB, free: 308 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.918e-05/0.5761, allocations: 23.44 kB / 481 MB, free: 284 kB / 346.7 MB Notification: Performance of SimCode: time 4.91e-07/0.5761, allocations: 0 / 481 MB, free: 284 kB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0147/0.5908, allocations: 2.236 MB / 483.3 MB, free: 14.17 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001977/0.591, allocations: 164.2 kB / 483.4 MB, free: 13.95 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.485/2.076, allocations: 0 / 483.4 MB, free: 13.95 MB / 362.7 MB (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake.fmu > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.mat does not exist to compare? outputFormat=mat