Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.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.Translational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Mechanics_Translational_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.002299/0.002298, allocations: 180.9 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.191/2.191, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001114/0.001113, allocations: 78.77 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.23e-05/3.244e-05, allocations: 4 kB / 321.6 MB, free: 17.75 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.1206, allocations: 47.57 MB / 369.2 MB, free: 2.109 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4308/0.5515, allocations: 77 MB / 446.2 MB, free: 15.79 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003409/0.5519, allocations: 71.69 kB / 446.2 MB, free: 15.75 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01499/0.5669, allocations: 2.577 MB / 448.8 MB, free: 13.57 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.567, allocations: 0 / 448.8 MB, free: 13.57 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.66e-05/0.567, allocations: 0 / 448.8 MB, free: 13.57 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.0007731/0.5678, allocations: 389.9 kB / 449.2 MB, free: 13.15 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.437e-05/0.5679, allocations: 12.03 kB / 449.2 MB, free: 13.14 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.246e-05/0.568, allocations: 37.31 kB / 449.2 MB, free: 13.1 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003358/0.5683, allocations: 31.8 kB / 449.3 MB, free: 13.07 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003126/0.5687, allocations: 187.6 kB / 449.5 MB, free: 12.85 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.883e-05/0.5687, allocations: 8 kB / 449.5 MB, free: 12.84 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.53e-05/0.5688, allocations: 15.58 kB / 449.5 MB, free: 12.83 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003534/0.5691, allocations: 97.42 kB / 449.6 MB, free: 12.75 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.497e-05/0.5692, allocations: 0 / 449.6 MB, free: 12.75 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.362e-05/0.5692, allocations: 0 / 449.6 MB, free: 12.75 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.202e-05/0.5692, allocations: 6.188 kB / 449.6 MB, free: 12.75 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002746/0.5695, allocations: 59.48 kB / 449.6 MB, free: 12.71 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001263/0.5708, allocations: 457.3 kB / 450.1 MB, free: 12.27 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003982/0.5712, allocations: 93.16 kB / 450.2 MB, free: 12.19 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.199e-05/0.5713, allocations: 40.42 kB / 450.2 MB, free: 12.16 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.928e-05/0.5714, allocations: 0 / 450.2 MB, free: 12.16 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.976e-05/0.5714, allocations: 30.56 kB / 450.3 MB, free: 12.12 MB / 330.7 MB Notification: Performance of pre-optimization done (n=11): time 2.104e-06/0.5714, allocations: 0 / 450.3 MB, free: 12.12 MB / 330.7 MB Notification: Performance of matching and sorting (n=12): time 0.00089/0.5723, allocations: 373.3 kB / 450.6 MB, free: 11.74 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.029e-05/0.5724, allocations: 55.41 kB / 450.7 MB, free: 11.68 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000128/0.5725, allocations: 113.7 kB / 450.8 MB, free: 11.56 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.312e-05/0.5726, allocations: 29.7 kB / 450.8 MB, free: 11.53 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001059/0.5727, allocations: 174.3 kB / 451 MB, free: 11.36 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.073e-05/0.5727, allocations: 47.22 kB / 451 MB, free: 11.32 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.637e-06/0.5728, allocations: 3.812 kB / 451 MB, free: 11.32 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.5729, allocations: 314.8 kB / 451.3 MB, free: 11 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.286e-05/0.573, allocations: 31.62 kB / 451.4 MB, free: 10.98 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001145/0.5731, allocations: 50.81 kB / 451.4 MB, free: 10.93 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000121/0.5733, allocations: 47.03 kB / 451.5 MB, free: 10.9 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.5733, allocations: 0 / 451.5 MB, free: 10.9 MB / 330.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003176/0.5736, allocations: 123.4 kB / 451.6 MB, free: 10.8 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.5737, allocations: 4 kB / 451.6 MB, free: 10.79 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.5737, allocations: 0 / 451.6 MB, free: 10.79 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.166e-05/0.5737, allocations: 4 kB / 451.6 MB, free: 10.79 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002704/0.574, allocations: 31.92 kB / 451.6 MB, free: 10.76 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.419e-05/0.574, allocations: 11.95 kB / 451.6 MB, free: 10.75 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001228/0.5741, allocations: 11.86 kB / 451.6 MB, free: 10.74 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.536e-05/0.5742, allocations: 4 kB / 451.7 MB, free: 10.73 MB / 330.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 0.0001016/0.5743, allocations: 112.8 kB / 451.8 MB, free: 10.62 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.519e-05/0.5743, allocations: 7.906 kB / 451.8 MB, free: 10.61 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.076e-05/0.5744, allocations: 16.12 kB / 451.8 MB, free: 10.61 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.5744, allocations: 0 / 451.8 MB, free: 10.61 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/0.5744, allocations: 0 / 451.8 MB, free: 10.61 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.335e-06/0.5745, allocations: 7.891 kB / 451.8 MB, free: 10.6 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008597/0.5753, allocations: 422.1 kB / 452.2 MB, free: 10.17 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/0.5754, allocations: 4 kB / 452.2 MB, free: 10.16 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002949/0.5757, allocations: 20 kB / 452.2 MB, free: 10.14 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.519e-05/0.5757, allocations: 7.984 kB / 452.2 MB, free: 10.14 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.979e-05/0.5757, allocations: 11.69 kB / 452.2 MB, free: 10.13 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.532e-06/0.5757, allocations: 3.953 kB / 452.3 MB, free: 10.12 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-06/0.5758, allocations: 8.062 kB / 452.3 MB, free: 10.12 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004494/0.5762, allocations: 262.8 kB / 452.5 MB, free: 9.859 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.735e-05/0.5763, allocations: 88.97 kB / 452.6 MB, free: 9.754 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.053e-05/0.5763, allocations: 7.938 kB / 452.6 MB, free: 9.75 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001339/0.5765, allocations: 4 kB / 452.6 MB, free: 9.746 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.314e-05/0.5765, allocations: 12.11 kB / 452.6 MB, free: 9.734 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.384e-05/0.5766, allocations: 4 kB / 452.6 MB, free: 9.73 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.501e-05/0.5767, allocations: 99.16 kB / 452.7 MB, free: 9.641 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5767, allocations: 0 / 452.7 MB, free: 9.641 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003539/0.577, allocations: 23.94 kB / 452.8 MB, free: 9.621 MB / 330.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.0008778/0.5779, allocations: 0.9433 MB / 453.7 MB, free: 8.676 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002668/0.5782, allocations: 75.25 kB / 453.8 MB, free: 8.621 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.5782, allocations: 4 kB / 453.8 MB, free: 8.617 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001015/0.5783, allocations: 39.88 kB / 453.8 MB, free: 8.586 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003894/0.5788, allocations: 19.53 kB / 453.8 MB, free: 8.574 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001231/0.58, allocations: 430.2 kB / 454.3 MB, free: 8.121 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003607/0.5804, allocations: 0.7159 MB / 455 MB, free: 7.379 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.29e-05/0.5805, allocations: 31.36 kB / 455 MB, free: 7.363 MB / 330.7 MB Notification: Performance of SimCode: time 1.143e-06/0.5805, allocations: 0 / 455 MB, free: 7.363 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.54/3.121, allocations: 1.898 MB / 456.9 MB, free: 5.484 MB / 330.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake.fmu > Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.mat does not exist to compare? outputFormat=mat