Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.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.Translational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_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.00164/0.00164, allocations: 177 kB / 8.348 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.52/1.52, allocations: 221.5 MB / 230.3 MB, free: 7.562 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.001065/0.001065, allocations: 91.55 kB / 281.2 MB, free: 5.312 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.971e-05/1.971e-05, allocations: 4 kB / 337.1 MB, free: 9.926 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1401/0.1402, allocations: 50.41 MB / 387.6 MB, free: 7.469 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4088/0.5491, allocations: 77.25 MB / 464.8 MB, free: 1.445 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003088/0.5494, allocations: 67.97 kB / 464.9 MB, free: 1.379 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007698/0.5572, allocations: 2.598 MB / 467.5 MB, free: 14.78 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.5572, allocations: 2.625 kB / 467.5 MB, free: 14.78 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.284e-05/0.5572, allocations: 4 kB / 467.5 MB, free: 14.78 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.0005114/0.5577, allocations: 383.5 kB / 467.8 MB, free: 14.36 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.635e-05/0.5578, allocations: 8.031 kB / 467.9 MB, free: 14.35 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00021/0.558, allocations: 39.73 kB / 467.9 MB, free: 14.31 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000215/0.5582, allocations: 182.9 kB / 468.1 MB, free: 14.09 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/0.5583, allocations: 4 kB / 468.1 MB, free: 14.09 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.974e-05/0.5583, allocations: 8 kB / 468.1 MB, free: 14.08 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000166/0.5585, allocations: 55.23 kB / 468.1 MB, free: 14.03 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001798/0.5587, allocations: 82.92 kB / 468.2 MB, free: 13.94 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.467e-05/0.5587, allocations: 4 kB / 468.2 MB, free: 13.94 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.84e-05/0.5587, allocations: 3.953 kB / 468.2 MB, free: 13.93 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/0.5587, allocations: 0 / 468.2 MB, free: 13.93 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007075/0.5594, allocations: 412.6 kB / 468.6 MB, free: 13.49 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002502/0.5597, allocations: 90.59 kB / 468.7 MB, free: 13.39 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.715e-05/0.5598, allocations: 33.08 kB / 468.8 MB, free: 13.36 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.163e-05/0.5598, allocations: 3.938 kB / 468.8 MB, free: 13.35 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.19e-05/0.5599, allocations: 38.55 kB / 468.8 MB, free: 13.3 MB / 346.7 MB Notification: Performance of pre-optimization done (n=11): time 1.262e-06/0.5599, allocations: 0 / 468.8 MB, free: 13.3 MB / 346.7 MB Notification: Performance of matching and sorting (n=12): time 0.0006275/0.5605, allocations: 347.2 kB / 469.1 MB, free: 12.91 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.468e-05/0.5606, allocations: 51.41 kB / 469.2 MB, free: 12.85 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.348e-05/0.5607, allocations: 114.2 kB / 469.3 MB, free: 12.73 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.739e-05/0.5607, allocations: 25.7 kB / 469.3 MB, free: 12.7 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.006e-05/0.5608, allocations: 111.7 kB / 469.4 MB, free: 12.59 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.747e-05/0.5608, allocations: 39.36 kB / 469.5 MB, free: 12.55 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.691e-06/0.5608, allocations: 0 / 469.5 MB, free: 12.55 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.561, allocations: 322.8 kB / 469.8 MB, free: 12.22 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.794e-05/0.561, allocations: 24 kB / 469.8 MB, free: 12.2 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.92e-05/0.5611, allocations: 56.52 kB / 469.9 MB, free: 12.13 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.278e-05/0.5612, allocations: 35.92 kB / 469.9 MB, free: 12.1 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.5612, allocations: 0 / 469.9 MB, free: 12.1 MB / 346.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001813/0.5614, allocations: 122 kB / 470 MB, free: 11.97 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.5614, allocations: 4 kB / 470 MB, free: 11.97 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.5614, allocations: 4.062 kB / 470 MB, free: 11.96 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.5614, allocations: 4 kB / 470 MB, free: 11.96 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001335/0.5616, allocations: 27.98 kB / 470.1 MB, free: 11.93 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.149e-05/0.5616, allocations: 7.938 kB / 470.1 MB, free: 11.93 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.362e-05/0.5616, allocations: 3.938 kB / 470.1 MB, free: 11.92 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.216e-05/0.5617, allocations: 8 kB / 470.1 MB, free: 11.91 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 (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 8.952e-05/0.5618, allocations: 109 kB / 470.2 MB, free: 11.8 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001419/0.5619, allocations: 93.58 kB / 470.3 MB, free: 11.7 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.684e-05/0.5619, allocations: 7.906 kB / 470.3 MB, free: 11.7 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.1e-05/0.562, allocations: 24.56 kB / 470.3 MB, free: 11.67 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.562, allocations: 7.875 kB / 470.3 MB, free: 11.66 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.562, allocations: 0 / 470.3 MB, free: 11.66 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.562, allocations: 3.984 kB / 470.3 MB, free: 11.66 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004893/0.5625, allocations: 380.6 kB / 470.7 MB, free: 11.24 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.5625, allocations: 4 kB / 470.7 MB, free: 11.23 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000153/0.5627, allocations: 35.98 kB / 470.7 MB, free: 11.2 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.5627, allocations: 4 kB / 470.7 MB, free: 11.2 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.5627, allocations: 0 / 470.7 MB, free: 11.2 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.5627, allocations: 4 kB / 470.7 MB, free: 11.19 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.5627, allocations: 0 / 470.7 MB, free: 11.19 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002838/0.563, allocations: 256.5 kB / 471 MB, free: 10.91 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.319e-05/0.5631, allocations: 85.02 kB / 471.1 MB, free: 10.8 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.481e-05/0.5631, allocations: 4.031 kB / 471.1 MB, free: 10.8 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.279e-05/0.5632, allocations: 3.938 kB / 471.1 MB, free: 10.8 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.818e-05/0.5632, allocations: 11.89 kB / 471.1 MB, free: 10.79 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.566e-06/0.5633, allocations: 8 kB / 471.1 MB, free: 10.78 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.41e-05/0.5633, allocations: 94.02 kB / 471.2 MB, free: 10.69 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5633, allocations: 0 / 471.2 MB, free: 10.69 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002443/0.5636, allocations: 28 kB / 471.2 MB, free: 10.66 MB / 346.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.0006458/0.5642, allocations: 0.9252 MB / 472.1 MB, free: 9.695 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001592/0.5644, allocations: 75.91 kB / 472.2 MB, free: 9.621 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.5644, allocations: 0 / 472.2 MB, free: 9.621 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.45e-05/0.5645, allocations: 35.94 kB / 472.2 MB, free: 9.586 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002714/0.5648, allocations: 11.98 kB / 472.3 MB, free: 9.574 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008144/0.5656, allocations: 376.8 kB / 472.6 MB, free: 9.164 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003298/0.5659, allocations: 0.7119 MB / 473.3 MB, free: 8.426 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 6.665e-05/0.566, allocations: 12.86 kB / 473.4 MB, free: 8.41 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.134e-05/0.5661, allocations: 35.38 kB / 473.4 MB, free: 8.375 MB / 346.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5661, allocations: 3.938 kB / 473.4 MB, free: 8.371 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02414/0.5902, allocations: 1.902 MB / 475.3 MB, free: 6.496 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003172/0.5907, allocations: 156.1 kB / 475.4 MB, free: 6.297 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.57/2.161, allocations: 0 / 475.4 MB, free: 6.297 MB / 346.7 MB (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake.fmu > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.mat does not exist to compare? outputFormat=mat