Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Rotational_Examples_EddyCurrentBrake",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Rotational_Examples_EddyCurrentBrake",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001164/0.001164, allocations: 202.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.62/1.62, allocations: 225.6 MB / 234.8 MB, free: 3.309 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008823/0.0008823, allocations: 96.16 kB / 286.7 MB, free: 5.242 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.045e-05/2.059e-05, allocations: 4 kB / 343.8 MB, free: 8.223 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/0.1175, allocations: 51.48 MB / 395.3 MB, free: 4.699 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3756/0.4931, allocations: 78.51 MB / 473.8 MB, free: 13.1 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002141/0.4934, allocations: 69.05 kB / 473.8 MB, free: 13.07 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0077/0.5011, allocations: 2.903 MB / 476.7 MB, free: 11.34 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.5012, allocations: 0 / 476.7 MB, free: 11.34 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.2e-05/0.5012, allocations: 8 kB / 476.7 MB, free: 11.33 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0004738/0.5017, allocations: 410.1 kB / 477.1 MB, free: 10.91 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/0.5017, allocations: 12.03 kB / 477.2 MB, free: 10.9 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001824/0.5019, allocations: 26 kB / 477.2 MB, free: 10.88 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000177/0.5021, allocations: 202.2 kB / 477.4 MB, free: 10.66 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.5021, allocations: 0.8594 kB / 477.4 MB, free: 10.66 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.583e-05/0.5022, allocations: 8 kB / 477.4 MB, free: 10.65 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002084/0.5024, allocations: 59.98 kB / 477.5 MB, free: 10.62 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001634/0.5025, allocations: 84.39 kB / 477.5 MB, free: 10.55 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.5026, allocations: 0 / 477.5 MB, free: 10.55 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.48e-05/0.5026, allocations: 2.062 kB / 477.5 MB, free: 10.55 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.5026, allocations: 7.984 kB / 477.5 MB, free: 10.55 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007626/0.5034, allocations: 0.4922 MB / 478 MB, free: 10.12 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002273/0.5036, allocations: 85.42 kB / 478.1 MB, free: 10.06 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.665e-05/0.5037, allocations: 24.23 kB / 478.1 MB, free: 10.04 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.175e-05/0.5037, allocations: 0 / 478.1 MB, free: 10.04 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.552e-05/0.5037, allocations: 39.48 kB / 478.2 MB, free: 9.996 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 9.62e-07/0.5037, allocations: 0 / 478.2 MB, free: 9.996 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002006/0.5039, allocations: 87.44 kB / 478.3 MB, free: 9.918 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.281e-05/0.504, allocations: 55.22 kB / 478.3 MB, free: 9.855 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.134e-05/0.504, allocations: 118.8 kB / 478.4 MB, free: 9.746 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.181e-05/0.5041, allocations: 29.7 kB / 478.5 MB, free: 9.711 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.161e-05/0.5041, allocations: 118.6 kB / 478.6 MB, free: 9.602 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.416e-05/0.5041, allocations: 29.62 kB / 478.6 MB, free: 9.578 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.042e-06/0.5042, allocations: 0 / 478.6 MB, free: 9.578 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.95e-05/0.5042, allocations: 325.1 kB / 478.9 MB, free: 9.262 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.42e-05/0.5043, allocations: 25.3 kB / 479 MB, free: 9.25 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.709e-05/0.5044, allocations: 57.45 kB / 479 MB, free: 9.195 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.135e-05/0.5044, allocations: 29.31 kB / 479 MB, free: 9.18 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.5044, allocations: 0 / 479 MB, free: 9.18 MB / 346.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001409/0.5046, allocations: 108.3 kB / 479.1 MB, free: 9.094 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.5046, allocations: 11.94 kB / 479.2 MB, free: 9.082 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.5046, allocations: 0 / 479.2 MB, free: 9.082 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.5046, allocations: 0 / 479.2 MB, free: 9.082 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001579/0.5048, allocations: 38.42 kB / 479.2 MB, free: 9.051 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/0.5048, allocations: 7.938 kB / 479.2 MB, free: 9.043 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001028/0.5049, allocations: 14.95 kB / 479.2 MB, free: 9.031 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.111e-05/0.5049, allocations: 7.75 kB / 479.2 MB, free: 9.027 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 (14): * Single equations (assignments): 14 * 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 5.551e-05/0.505, allocations: 101 kB / 479.3 MB, free: 8.922 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001246/0.5051, allocations: 85.12 kB / 479.4 MB, free: 8.848 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.708e-05/0.5052, allocations: 15.09 kB / 479.4 MB, free: 8.836 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.288e-05/0.5052, allocations: 13.58 kB / 479.4 MB, free: 8.832 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.5052, allocations: 7.953 kB / 479.4 MB, free: 8.824 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.5052, allocations: 0 / 479.4 MB, free: 8.824 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.5052, allocations: 1.266 kB / 479.4 MB, free: 8.824 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001661/0.5054, allocations: 182.6 kB / 479.6 MB, free: 8.641 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.5054, allocations: 0 / 479.6 MB, free: 8.641 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001658/0.5056, allocations: 33.09 kB / 479.7 MB, free: 8.617 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.5056, allocations: 0 / 479.7 MB, free: 8.617 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.333e-05/0.5056, allocations: 4 kB / 479.7 MB, free: 8.613 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.5056, allocations: 4 kB / 479.7 MB, free: 8.609 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.5056, allocations: 0 / 479.7 MB, free: 8.609 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001974/0.5058, allocations: 215.8 kB / 479.9 MB, free: 8.418 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.947e-05/0.5059, allocations: 86.47 kB / 480 MB, free: 8.316 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.129e-05/0.5059, allocations: 0 / 480 MB, free: 8.316 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001154/0.506, allocations: 7.375 kB / 480 MB, free: 8.312 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.93e-05/0.5061, allocations: 13.62 kB / 480 MB, free: 8.301 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.063e-06/0.5061, allocations: 7.234 kB / 480 MB, free: 8.297 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.004e-05/0.5061, allocations: 97.61 kB / 480.1 MB, free: 8.211 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5061, allocations: 0 / 480.1 MB, free: 8.211 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002547/0.5064, allocations: 35.8 kB / 480.1 MB, free: 8.176 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 (9): * Single equations (assignments): 9 * 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.0003764/0.5068, allocations: 0.7545 MB / 480.9 MB, free: 7.438 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001397/0.5069, allocations: 65.19 kB / 480.9 MB, free: 7.391 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.5069, allocations: 0 / 480.9 MB, free: 7.391 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.679e-05/0.507, allocations: 37.64 kB / 481 MB, free: 7.367 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002618/0.5073, allocations: 14.17 kB / 481 MB, free: 7.359 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007457/0.508, allocations: 367.9 kB / 481.3 MB, free: 7.02 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001545/0.5082, allocations: 0.7119 MB / 482.1 MB, free: 6.297 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 6.486e-05/0.5082, allocations: 6.953 kB / 482.1 MB, free: 6.293 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.086e-05/0.5083, allocations: 42.48 kB / 482.1 MB, free: 6.273 MB / 346.7 MB Notification: Performance of SimCode: time 2.6e-07/0.5083, allocations: 0 / 482.1 MB, free: 6.273 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02351/0.5318, allocations: 1.972 MB / 484.1 MB, free: 4.75 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002376/0.5322, allocations: 149.2 kB / 484.2 MB, free: 4.555 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.58/2.112, allocations: 0 / 484.2 MB, free: 4.555 MB / 346.7 MB (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_Rotational_Examples_EddyCurrentBrake_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_Rotational_Examples_EddyCurrentBrake.fmu > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.mat does not exist to compare? outputFormat=mat