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.00141/0.00141, allocations: 180.7 kB / 16.39 MB, free: 5.766 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.367/1.367, allocations: 223.2 MB / 240.3 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009484/0.0009481, allocations: 89.7 kB / 291.5 MB, free: 10.9 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002847/0.0002847, allocations: 8 kB / 351.2 MB, free: 15.21 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2976/0.2979, allocations: 50.41 MB / 401.6 MB, free: 32.56 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0929/0.3908, allocations: 77.98 MB / 479.6 MB, free: 2.473 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002314/0.3911, allocations: 71.97 kB / 479.6 MB, free: 2.402 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007148/0.3983, allocations: 2.636 MB / 482.3 MB, free: 15.76 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.138e-06/0.3984, allocations: 0 / 482.3 MB, free: 15.76 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.422e-05/0.3984, allocations: 0 / 482.3 MB, free: 15.76 MB / 362.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.0005815/0.399, allocations: 395.6 kB / 482.7 MB, free: 15.32 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.305e-05/0.3991, allocations: 12.03 kB / 482.7 MB, free: 15.31 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.363e-05/0.3991, allocations: 46.45 kB / 482.7 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000212/0.3994, allocations: 23.89 kB / 482.7 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002248/0.3996, allocations: 198.8 kB / 482.9 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.3996, allocations: 4.188 kB / 482.9 MB, free: 14.99 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.256e-05/0.3997, allocations: 12 kB / 482.9 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002023/0.3999, allocations: 91.16 kB / 483 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.3999, allocations: 0 / 483 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.3999, allocations: 4 kB / 483 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.134e-05/0.3999, allocations: 7.953 kB / 483 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001483/0.4001, allocations: 64.52 kB / 483.1 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006767/0.4008, allocations: 440.4 kB / 483.5 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002639/0.401, allocations: 102.6 kB / 483.6 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.15e-05/0.4011, allocations: 0 / 483.6 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.071e-05/0.4011, allocations: 34.56 kB / 483.7 MB, free: 14.17 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.112e-06/0.4011, allocations: 4 kB / 483.7 MB, free: 14.17 MB / 362.7 MB Notification: Performance of matching and sorting (n=12): time 0.001261/0.4024, allocations: 0.5265 MB / 484.2 MB, free: 13.57 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.892e-05/0.4024, allocations: 55.41 kB / 484.3 MB, free: 13.5 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.731e-05/0.4025, allocations: 105.7 kB / 484.4 MB, free: 13.39 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.816e-05/0.4025, allocations: 37.7 kB / 484.4 MB, free: 13.35 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.508e-05/0.4026, allocations: 107.7 kB / 484.5 MB, free: 13.24 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.743e-05/0.4026, allocations: 47.3 kB / 484.5 MB, free: 13.19 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.26e-06/0.4027, allocations: 0 / 484.5 MB, free: 13.19 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001053/0.4028, allocations: 326.8 kB / 484.9 MB, free: 12.86 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.354e-05/0.4028, allocations: 35.92 kB / 484.9 MB, free: 12.83 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.096e-05/0.4029, allocations: 58.02 kB / 485 MB, free: 12.76 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.785e-05/0.403, allocations: 40.81 kB / 485 MB, free: 12.72 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.403, allocations: 0 / 485 MB, free: 12.72 MB / 362.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001782/0.4032, allocations: 129.5 kB / 485.1 MB, free: 12.59 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.4032, allocations: 4 kB / 485.1 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.4032, allocations: 4 kB / 485.1 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.4032, allocations: 0 / 485.1 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001418/0.4034, allocations: 35.97 kB / 485.2 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.4034, allocations: 4 kB / 485.2 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.853e-05/0.4035, allocations: 12.05 kB / 485.2 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.367e-05/0.4035, allocations: 8 kB / 485.2 MB, free: 12.52 MB / 362.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 (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 8.879e-05/0.4036, allocations: 129.7 kB / 485.3 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.907e-05/0.4036, allocations: 7.906 kB / 485.3 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.147e-05/0.4037, allocations: 16.38 kB / 485.3 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.4037, allocations: 4 kB / 485.3 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.4037, allocations: 0 / 485.3 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.4037, allocations: 0 / 485.3 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004952/0.4042, allocations: 432 kB / 485.8 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.4042, allocations: 3.984 kB / 485.8 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000149/0.4044, allocations: 27.94 kB / 485.8 MB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.4044, allocations: 0 / 485.8 MB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.315e-05/0.4044, allocations: 7.984 kB / 485.8 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.4044, allocations: 0 / 485.8 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.4044, allocations: 64 / 485.8 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002792/0.4047, allocations: 276.4 kB / 486.1 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.94e-05/0.4047, allocations: 85.02 kB / 486.2 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.188e-05/0.4048, allocations: 8.031 kB / 486.2 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.11e-05/0.4049, allocations: 8 kB / 486.2 MB, free: 11.42 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.233e-05/0.4049, allocations: 7.953 kB / 486.2 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.953e-06/0.4049, allocations: 4 kB / 486.2 MB, free: 11.41 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.176e-05/0.405, allocations: 98.52 kB / 486.3 MB, free: 11.31 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.405, allocations: 0 / 486.3 MB, free: 11.31 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002441/0.4052, allocations: 28 kB / 486.3 MB, free: 11.29 MB / 362.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 () * Number of clocked 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.0005479/0.4058, allocations: 0.9525 MB / 487.3 MB, free: 10.29 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001583/0.4059, allocations: 79.86 kB / 487.3 MB, free: 10.21 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.4059, allocations: 0 / 487.3 MB, free: 10.21 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.452e-05/0.406, allocations: 44.05 kB / 487.4 MB, free: 10.17 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002846/0.4063, allocations: 18.91 kB / 487.4 MB, free: 10.15 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001354/0.4077, allocations: 1.419 MB / 488.8 MB, free: 8.676 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002309/0.4079, allocations: 0.7082 MB / 489.5 MB, free: 7.941 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.673e-05/0.408, allocations: 16.86 kB / 489.5 MB, free: 7.922 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.487e-05/0.408, allocations: 27.42 kB / 489.6 MB, free: 7.895 MB / 362.7 MB Notification: Performance of SimCode: time 6.51e-07/0.408, allocations: 4 kB / 489.6 MB, free: 7.891 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01172/0.4198, allocations: 2.239 MB / 491.8 MB, free: 5.805 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001641/0.42, allocations: 198.1 kB / 492 MB, free: 5.559 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.558/1.978, allocations: 0 / 492 MB, free: 5.559 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