Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.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.Rotational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Mechanics_Rotational_Examples_EddyCurrentBrake",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Mechanics_Rotational_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.001551/0.001551, allocations: 182.1 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.307/2.307, allocations: 205.2 MB / 219.4 MB, free: 14.29 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.001615/0.001615, allocations: 86.69 kB / 267.5 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.55e-05/3.582e-05, allocations: 4 kB / 321.6 MB, free: 17.76 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1122, allocations: 47.57 MB / 369.2 MB, free: 2.117 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4718/0.5841, allocations: 76.99 MB / 446.2 MB, free: 252 kB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002906/0.5845, allocations: 71.16 kB / 446.2 MB, free: 216 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01114/0.5957, allocations: 2.491 MB / 448.7 MB, free: 14.11 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.5957, allocations: 0 / 448.7 MB, free: 14.11 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.288e-05/0.5958, allocations: 0 / 448.7 MB, free: 14.11 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.000662/0.5964, allocations: 383.4 kB / 449.1 MB, free: 13.69 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.232e-05/0.5965, allocations: 8.031 kB / 449.1 MB, free: 13.68 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.18e-05/0.5966, allocations: 46.3 kB / 449.2 MB, free: 13.63 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002388/0.5968, allocations: 23.89 kB / 449.2 MB, free: 13.61 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002618/0.5971, allocations: 190.5 kB / 449.4 MB, free: 13.39 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.523e-05/0.5971, allocations: 12 kB / 449.4 MB, free: 13.38 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.353e-05/0.5972, allocations: 11.89 kB / 449.4 MB, free: 13.37 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002648/0.5975, allocations: 98.81 kB / 449.5 MB, free: 13.29 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.981e-05/0.5975, allocations: 3.984 kB / 449.5 MB, free: 13.29 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.954e-05/0.5975, allocations: 4 kB / 449.5 MB, free: 13.29 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.123e-05/0.5975, allocations: 0 / 449.5 MB, free: 13.29 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001864/0.5977, allocations: 59.88 kB / 449.6 MB, free: 13.25 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001072/0.5988, allocations: 491.8 kB / 450 MB, free: 12.76 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003383/0.5992, allocations: 79.47 kB / 450.1 MB, free: 12.69 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.249e-05/0.5993, allocations: 24.67 kB / 450.1 MB, free: 12.67 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.436e-05/0.5993, allocations: 0 / 450.1 MB, free: 12.67 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.397e-05/0.5993, allocations: 34.5 kB / 450.2 MB, free: 12.63 MB / 330.7 MB Notification: Performance of pre-optimization done (n=8): time 2.023e-06/0.5994, allocations: 4 kB / 450.2 MB, free: 12.62 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002727/0.5996, allocations: 88.92 kB / 450.3 MB, free: 12.55 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.148e-05/0.5997, allocations: 51.41 kB / 450.3 MB, free: 12.48 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001198/0.5998, allocations: 104.8 kB / 450.4 MB, free: 12.38 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.175e-05/0.5999, allocations: 33.58 kB / 450.4 MB, free: 12.34 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001077/0.6, allocations: 174.2 kB / 450.6 MB, free: 12.18 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.417e-05/0.6, allocations: 23.38 kB / 450.6 MB, free: 12.16 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.386e-06/0.6001, allocations: 7.625 kB / 450.6 MB, free: 12.15 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001418/0.6002, allocations: 314.8 kB / 451 MB, free: 11.84 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.084e-05/0.6003, allocations: 23.81 kB / 451 MB, free: 11.82 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001006/0.6004, allocations: 51 kB / 451 MB, free: 11.77 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.415e-05/0.6005, allocations: 31.61 kB / 451.1 MB, free: 11.75 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.08e-06/0.6005, allocations: 0 / 451.1 MB, free: 11.75 MB / 330.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002675/0.6008, allocations: 112.5 kB / 451.2 MB, free: 11.65 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.6009, allocations: 8 kB / 451.2 MB, free: 11.64 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.609e-06/0.6009, allocations: 4.078 kB / 451.2 MB, free: 11.64 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/0.6009, allocations: 7.938 kB / 451.2 MB, free: 11.63 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002172/0.6011, allocations: 20 kB / 451.2 MB, free: 11.61 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.248e-05/0.6012, allocations: 3.953 kB / 451.2 MB, free: 11.61 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001198/0.6013, allocations: 12.83 kB / 451.2 MB, free: 11.6 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.449e-05/0.6013, allocations: 4 kB / 451.2 MB, free: 11.59 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 (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 prepare postOptimizeDAE: time 0.0001011/0.6014, allocations: 116.8 kB / 451.3 MB, free: 11.48 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.243e-05/0.6015, allocations: 7.906 kB / 451.3 MB, free: 11.47 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.241e-05/0.6015, allocations: 16.31 kB / 451.4 MB, free: 11.46 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.6016, allocations: 0 / 451.4 MB, free: 11.46 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.6016, allocations: 0 / 451.4 MB, free: 11.46 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.144e-06/0.6016, allocations: 3.953 kB / 451.4 MB, free: 11.46 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003153/0.6019, allocations: 196.9 kB / 451.6 MB, free: 11.23 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.6019, allocations: 0 / 451.6 MB, free: 11.23 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002495/0.6022, allocations: 23.98 kB / 451.6 MB, free: 11.21 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.6022, allocations: 0 / 451.6 MB, free: 11.21 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.448e-05/0.6022, allocations: 0 / 451.6 MB, free: 11.21 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.6022, allocations: 4 kB / 451.6 MB, free: 11.2 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.6023, allocations: 4 kB / 451.6 MB, free: 11.2 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003562/0.6026, allocations: 206.3 kB / 451.8 MB, free: 11.01 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.663e-05/0.6027, allocations: 89.05 kB / 451.9 MB, free: 10.9 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.41e-05/0.6027, allocations: 0 / 451.9 MB, free: 10.9 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001208/0.6029, allocations: 8 kB / 451.9 MB, free: 10.89 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.678e-05/0.6029, allocations: 3.812 kB / 451.9 MB, free: 10.89 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.075e-05/0.6029, allocations: 8 kB / 451.9 MB, free: 10.89 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.586e-05/0.603, allocations: 91.81 kB / 452 MB, free: 10.8 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.603, allocations: 0 / 452 MB, free: 10.8 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003457/0.6034, allocations: 35.78 kB / 452 MB, free: 10.77 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (eddyCurrentTorque.phi,inertia.w,heatCapacitor.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0006872/0.6041, allocations: 0.7354 MB / 452.8 MB, free: 10.03 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002343/0.6043, allocations: 62.81 kB / 452.8 MB, free: 9.984 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.6043, allocations: 0 / 452.8 MB, free: 9.984 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.648e-05/0.6044, allocations: 23.81 kB / 452.8 MB, free: 9.969 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003605/0.6048, allocations: 19.8 kB / 452.9 MB, free: 9.953 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001204/0.606, allocations: 392.4 kB / 453.2 MB, free: 9.539 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003866/0.6064, allocations: 0.7082 MB / 454 MB, free: 8.805 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.571e-05/0.6066, allocations: 22.81 kB / 454 MB, free: 8.793 MB / 330.7 MB Notification: Performance of SimCode: time 1.723e-06/0.6066, allocations: 0 / 454 MB, free: 8.793 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.439/3.046, allocations: 1.772 MB / 455.7 MB, free: 7.039 MB / 330.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Mechanics_Rotational_Examples_EddyCurrentBrake_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Mechanics_Rotational_Examples_EddyCurrentBrake.fmu > Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.mat does not exist to compare? outputFormat=mat