Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_Modelica_Mechanics_Rotational_Examples_EddyCurrentBrake",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_3_2_3_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.0009714/0.0009713, allocations: 172.9 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.515/1.515, allocations: 205.2 MB / 219.8 MB, free: 14.2 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.000863/0.0008632, allocations: 74.73 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.142e-05/3.146e-05, allocations: 0 / 322.5 MB, free: 17.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09007/0.09012, allocations: 47.57 MB / 370.1 MB, free: 1.617 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2941/0.3842, allocations: 76.99 MB / 447.1 MB, free: 272 kB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001828/0.3845, allocations: 71.72 kB / 447.2 MB, free: 236 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006553/0.391, allocations: 2.494 MB / 449.7 MB, free: 14.12 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3911, allocations: 0 / 449.7 MB, free: 14.12 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.088e-05/0.3911, allocations: 8 kB / 449.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.0004217/0.3915, allocations: 377.3 kB / 450 MB, free: 13.7 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.362e-05/0.3916, allocations: 12.03 kB / 450 MB, free: 13.69 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.363e-05/0.3916, allocations: 41 kB / 450.1 MB, free: 13.64 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001584/0.3918, allocations: 27.88 kB / 450.1 MB, free: 13.62 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001951/0.392, allocations: 193 kB / 450.3 MB, free: 13.39 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.392, allocations: 7.375 kB / 450.3 MB, free: 13.39 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.869e-05/0.3921, allocations: 20.34 kB / 450.3 MB, free: 13.38 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001742/0.3922, allocations: 86.73 kB / 450.4 MB, free: 13.3 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.3923, allocations: 4 kB / 450.4 MB, free: 13.3 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.3923, allocations: 3.562 kB / 450.4 MB, free: 13.3 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.3923, allocations: 4 kB / 450.4 MB, free: 13.3 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001094/0.3924, allocations: 53.86 kB / 450.5 MB, free: 13.26 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006817/0.3931, allocations: 498.4 kB / 451 MB, free: 12.77 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000223/0.3933, allocations: 82.58 kB / 451 MB, free: 12.7 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.973e-05/0.3934, allocations: 23.42 kB / 451.1 MB, free: 12.68 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.488e-06/0.3934, allocations: 0 / 451.1 MB, free: 12.68 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.944e-05/0.3934, allocations: 38.56 kB / 451.1 MB, free: 12.63 MB / 330.7 MB Notification: Performance of pre-optimization done (n=8): time 9.21e-07/0.3934, allocations: 0 / 451.1 MB, free: 12.63 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001804/0.3936, allocations: 78.36 kB / 451.2 MB, free: 12.56 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.904e-05/0.3937, allocations: 55.34 kB / 451.2 MB, free: 12.5 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.724e-05/0.3937, allocations: 114.7 kB / 451.4 MB, free: 12.39 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.336e-05/0.3938, allocations: 25.7 kB / 451.4 MB, free: 12.36 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.162e-05/0.3938, allocations: 106.1 kB / 451.5 MB, free: 12.25 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.286e-05/0.3939, allocations: 30.06 kB / 451.5 MB, free: 12.23 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.609e-06/0.3939, allocations: 4 kB / 451.5 MB, free: 12.23 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001026/0.394, allocations: 322.3 kB / 451.8 MB, free: 11.91 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.861e-05/0.394, allocations: 18.5 kB / 451.8 MB, free: 11.89 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.613e-05/0.3941, allocations: 49.31 kB / 451.9 MB, free: 11.84 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.207e-05/0.3941, allocations: 34.36 kB / 451.9 MB, free: 11.82 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.3942, allocations: 4 kB / 451.9 MB, free: 11.82 MB / 330.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001551/0.3943, allocations: 113.2 kB / 452 MB, free: 11.72 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.3943, allocations: 7.984 kB / 452 MB, free: 11.71 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.3943, allocations: 0 / 452 MB, free: 11.71 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.3944, allocations: 4 kB / 452.1 MB, free: 11.71 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001077/0.3945, allocations: 23.94 kB / 452.1 MB, free: 11.68 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.3945, allocations: 3.953 kB / 452.1 MB, free: 11.68 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.252e-05/0.3946, allocations: 15.61 kB / 452.1 MB, free: 11.67 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.195e-06/0.3946, allocations: 4.094 kB / 452.1 MB, free: 11.66 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 6.933e-05/0.3947, allocations: 112.4 kB / 452.2 MB, free: 11.55 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.694e-05/0.3947, allocations: 4 kB / 452.2 MB, free: 11.55 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.904e-05/0.3947, allocations: 16.75 kB / 452.2 MB, free: 11.54 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.3947, allocations: 0 / 452.2 MB, free: 11.54 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.3947, allocations: 0 / 452.2 MB, free: 11.54 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.3948, allocations: 3.953 kB / 452.2 MB, free: 11.54 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001975/0.395, allocations: 199.1 kB / 452.4 MB, free: 11.3 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.395, allocations: 4 kB / 452.4 MB, free: 11.3 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001234/0.3951, allocations: 27.42 kB / 452.5 MB, free: 11.28 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.3951, allocations: 4 kB / 452.5 MB, free: 11.27 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.3951, allocations: 0 / 452.5 MB, free: 11.27 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.3951, allocations: 4 kB / 452.5 MB, free: 11.27 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.3951, allocations: 0 / 452.5 MB, free: 11.27 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002107/0.3954, allocations: 199.5 kB / 452.7 MB, free: 11.08 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.272e-05/0.3954, allocations: 85.05 kB / 452.7 MB, free: 10.98 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.602e-05/0.3954, allocations: 0 / 452.7 MB, free: 10.98 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.597e-05/0.3955, allocations: 7.75 kB / 452.8 MB, free: 10.98 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.749e-05/0.3955, allocations: 4 kB / 452.8 MB, free: 10.97 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.192e-06/0.3956, allocations: 4 kB / 452.8 MB, free: 10.97 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.91e-05/0.3956, allocations: 94.58 kB / 452.9 MB, free: 10.88 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.402e-06/0.3956, allocations: 3.938 kB / 452.9 MB, free: 10.88 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002287/0.3958, allocations: 31.88 kB / 452.9 MB, free: 10.85 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.0004986/0.3964, allocations: 0.7352 MB / 453.6 MB, free: 10.11 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001288/0.3965, allocations: 60.19 kB / 453.7 MB, free: 10.07 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.3965, allocations: 0 / 453.7 MB, free: 10.07 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.306e-05/0.3965, allocations: 26.56 kB / 453.7 MB, free: 10.05 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000232/0.3968, allocations: 20.06 kB / 453.7 MB, free: 10.04 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000708/0.3975, allocations: 360.7 kB / 454.1 MB, free: 9.656 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002666/0.3978, allocations: 0.7082 MB / 454.8 MB, free: 8.922 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.067e-05/0.3978, allocations: 8.422 kB / 454.8 MB, free: 8.914 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.524e-05/0.3979, allocations: 29.11 kB / 454.8 MB, free: 8.898 MB / 330.7 MB Notification: Performance of SimCode: time 2.91e-07/0.3979, allocations: 4 kB / 454.8 MB, free: 8.895 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.013/0.4109, allocations: 1.965 MB / 456.8 MB, free: 6.938 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002186/0.4112, allocations: 161.9 kB / 457 MB, free: 6.711 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.407/1.818, allocations: 0 / 457 MB, free: 6.711 MB / 330.7 MB (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_EddyCurrentBrake_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_EddyCurrentBrake.fmu > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.mat does not exist to compare? outputFormat=mat