Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Rotational.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.Rotational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_EddyCurrentBrake",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Rotational_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.000997/0.0009968, allocations: 177.1 kB / 8.35 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.426/1.426, allocations: 221.5 MB / 230.3 MB, free: 7.586 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.000914/0.0009139, allocations: 89.89 kB / 281.2 MB, free: 5.332 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.735e-05/1.737e-05, allocations: 0 / 337.1 MB, free: 9.941 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.1111, allocations: 50.42 MB / 387.6 MB, free: 7.492 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3549/0.4661, allocations: 77.13 MB / 464.7 MB, free: 1.621 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002683/0.4664, allocations: 71.95 kB / 464.8 MB, free: 1.551 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007234/0.4736, allocations: 2.51 MB / 467.3 MB, free: 15.04 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.4737, allocations: 2.625 kB / 467.3 MB, free: 15.04 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.428e-06/0.4737, allocations: 4 kB / 467.3 MB, free: 15.04 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.000425/0.4741, allocations: 379.5 kB / 467.6 MB, free: 14.62 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.4742, allocations: 8.031 kB / 467.7 MB, free: 14.61 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001711/0.4744, allocations: 31.84 kB / 467.7 MB, free: 14.58 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002108/0.4746, allocations: 194.8 kB / 467.9 MB, free: 14.35 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.11e-05/0.4746, allocations: 4 kB / 467.9 MB, free: 14.35 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.615e-05/0.4746, allocations: 8 kB / 467.9 MB, free: 14.34 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001516/0.4748, allocations: 49.3 kB / 467.9 MB, free: 14.29 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001405/0.4749, allocations: 74.98 kB / 468 MB, free: 14.21 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.475, allocations: 0 / 468 MB, free: 14.21 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/0.475, allocations: 0 / 468 MB, free: 14.21 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.998e-06/0.475, allocations: 7.953 kB / 468 MB, free: 14.21 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007123/0.4757, allocations: 462.1 kB / 468.5 MB, free: 13.71 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002433/0.476, allocations: 82.47 kB / 468.5 MB, free: 13.62 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.407e-05/0.476, allocations: 28.86 kB / 468.6 MB, free: 13.59 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.919e-06/0.476, allocations: 0 / 468.6 MB, free: 13.59 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.522e-05/0.4761, allocations: 42.59 kB / 468.6 MB, free: 13.54 MB / 346.7 MB Notification: Performance of pre-optimization done (n=8): time 9.72e-07/0.4761, allocations: 0 / 468.6 MB, free: 13.54 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001799/0.4763, allocations: 61.61 kB / 468.7 MB, free: 13.47 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.116e-05/0.4763, allocations: 59.39 kB / 468.7 MB, free: 13.4 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.569e-05/0.4764, allocations: 108.9 kB / 468.8 MB, free: 13.29 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.678e-05/0.4764, allocations: 29.64 kB / 468.9 MB, free: 13.25 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.914e-05/0.4765, allocations: 111.9 kB / 469 MB, free: 13.14 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.532e-05/0.4765, allocations: 31.55 kB / 469 MB, free: 13.11 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.749e-06/0.4765, allocations: 0 / 469 MB, free: 13.11 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000118/0.4767, allocations: 314.8 kB / 469.3 MB, free: 12.79 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.131e-05/0.4767, allocations: 20 kB / 469.3 MB, free: 12.77 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.94e-05/0.4768, allocations: 47.44 kB / 469.4 MB, free: 12.71 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.012e-05/0.4768, allocations: 27.98 kB / 469.4 MB, free: 12.68 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.4768, allocations: 3.953 kB / 469.4 MB, free: 12.68 MB / 346.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001515/0.477, allocations: 97.47 kB / 469.5 MB, free: 12.58 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.477, allocations: 8 kB / 469.5 MB, free: 12.57 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-06/0.477, allocations: 0 / 469.5 MB, free: 12.57 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.4771, allocations: 0 / 469.5 MB, free: 12.57 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000113/0.4772, allocations: 23.98 kB / 469.5 MB, free: 12.55 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.4772, allocations: 4 kB / 469.5 MB, free: 12.54 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.384e-05/0.4773, allocations: 15.94 kB / 469.6 MB, free: 12.53 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.4773, allocations: 0 / 469.6 MB, free: 12.53 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 (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 8.697e-05/0.4774, allocations: 108.9 kB / 469.7 MB, free: 12.41 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00012/0.4775, allocations: 77.78 kB / 469.7 MB, free: 12.33 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.768e-05/0.4775, allocations: 11.89 kB / 469.8 MB, free: 12.32 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.142e-05/0.4776, allocations: 8.625 kB / 469.8 MB, free: 12.31 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.4776, allocations: 0 / 469.8 MB, free: 12.31 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.4776, allocations: 4.094 kB / 469.8 MB, free: 12.31 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.4776, allocations: 3.938 kB / 469.8 MB, free: 12.3 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001892/0.4778, allocations: 174.2 kB / 469.9 MB, free: 12.1 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.4778, allocations: 0 / 469.9 MB, free: 12.1 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001253/0.4779, allocations: 23.92 kB / 470 MB, free: 12.07 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.618e-06/0.478, allocations: 4 kB / 470 MB, free: 12.07 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.989e-06/0.478, allocations: 0 / 470 MB, free: 12.07 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.478, allocations: 0 / 470 MB, free: 12.07 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.478, allocations: 0 / 470 MB, free: 12.07 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002276/0.4782, allocations: 207.3 kB / 470.2 MB, free: 11.85 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.085e-05/0.4783, allocations: 85.06 kB / 470.3 MB, free: 11.75 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.101e-05/0.4783, allocations: 4 kB / 470.3 MB, free: 11.75 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.404e-05/0.4784, allocations: 0 / 470.3 MB, free: 11.75 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.188e-05/0.4784, allocations: 4 kB / 470.3 MB, free: 11.74 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.479e-06/0.4784, allocations: 0 / 470.3 MB, free: 11.74 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.127e-05/0.4785, allocations: 92.8 kB / 470.4 MB, free: 11.65 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4785, allocations: 0 / 470.4 MB, free: 11.65 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002364/0.4788, allocations: 27.84 kB / 470.4 MB, free: 11.62 MB / 346.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.0005025/0.4793, allocations: 0.7399 MB / 471.1 MB, free: 10.86 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001276/0.4794, allocations: 51.94 kB / 471.2 MB, free: 10.81 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.4794, allocations: 0 / 471.2 MB, free: 10.81 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.403e-05/0.4794, allocations: 20 kB / 471.2 MB, free: 10.79 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002534/0.4797, allocations: 16.22 kB / 471.2 MB, free: 10.77 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007534/0.4805, allocations: 354.6 kB / 471.5 MB, free: 10.38 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002937/0.4808, allocations: 0.7041 MB / 472.3 MB, free: 9.652 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.314e-05/0.4808, allocations: 8.438 kB / 472.3 MB, free: 9.645 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.226e-05/0.4809, allocations: 27.42 kB / 472.3 MB, free: 9.617 MB / 346.7 MB Notification: Performance of SimCode: time 2.7e-07/0.4809, allocations: 0 / 472.3 MB, free: 9.617 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01923/0.5001, allocations: 1.644 MB / 473.9 MB, free: 7.996 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000187/0.5004, allocations: 140.4 kB / 474.1 MB, free: 7.809 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.697/2.197, allocations: 7.969 kB / 474.1 MB, free: 7.801 MB / 346.7 MB (rm -f Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_EddyCurrentBrake_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Mechanics_Rotational_Examples_EddyCurrentBrake.fmu > Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.mat does not exist to compare? outputFormat=mat