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.00108/0.00108, allocations: 174.8 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.397/1.397, allocations: 221.4 MB / 235.5 MB, free: 2.914 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.0008881/0.000888, allocations: 88.09 kB / 286.5 MB, free: 224 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.086e-05/3.097e-05, allocations: 4 kB / 343.9 MB, free: 4.199 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1178, allocations: 50.41 MB / 394.3 MB, free: 1.75 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3583/0.4762, allocations: 77.81 MB / 472.1 MB, free: 9.66 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002617/0.4765, allocations: 75.89 kB / 472.2 MB, free: 9.586 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007089/0.4836, allocations: 2.518 MB / 474.7 MB, free: 7.066 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.186e-06/0.4837, allocations: 0 / 474.7 MB, free: 7.066 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.149e-05/0.4837, allocations: 2.625 kB / 474.7 MB, free: 7.066 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.0004248/0.4841, allocations: 387.5 kB / 475.1 MB, free: 6.641 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.719e-05/0.4842, allocations: 8.031 kB / 475.1 MB, free: 6.633 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.056e-05/0.4842, allocations: 38.56 kB / 475.2 MB, free: 6.586 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001783/0.4844, allocations: 31.83 kB / 475.2 MB, free: 6.555 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002067/0.4846, allocations: 190.8 kB / 475.4 MB, free: 6.328 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.4847, allocations: 4.188 kB / 475.4 MB, free: 6.324 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.709e-05/0.4847, allocations: 8 kB / 475.4 MB, free: 6.316 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001893/0.4849, allocations: 94.17 kB / 475.5 MB, free: 6.223 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.631e-05/0.4849, allocations: 7.875 kB / 475.5 MB, free: 6.215 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.876e-05/0.4849, allocations: 8 kB / 475.5 MB, free: 6.207 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.083e-05/0.485, allocations: 7.938 kB / 475.5 MB, free: 6.199 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001304/0.4851, allocations: 56.55 kB / 475.6 MB, free: 6.145 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00075/0.4859, allocations: 489.9 kB / 476 MB, free: 5.605 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002437/0.4861, allocations: 82.64 kB / 476.1 MB, free: 5.516 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.984e-05/0.4862, allocations: 24.86 kB / 476.1 MB, free: 5.488 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.458e-05/0.4862, allocations: 0 / 476.1 MB, free: 5.488 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.098e-05/0.4862, allocations: 34.5 kB / 476.2 MB, free: 5.445 MB / 346.7 MB Notification: Performance of pre-optimization done (n=8): time 1.162e-06/0.4862, allocations: 0 / 476.2 MB, free: 5.445 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001889/0.4864, allocations: 81.73 kB / 476.3 MB, free: 5.359 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.591e-05/0.4865, allocations: 55.41 kB / 476.3 MB, free: 5.293 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.951e-05/0.4866, allocations: 118.5 kB / 476.4 MB, free: 5.172 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.625e-05/0.4866, allocations: 25.7 kB / 476.5 MB, free: 5.141 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.744e-05/0.4867, allocations: 107.9 kB / 476.6 MB, free: 5.031 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.825e-05/0.4867, allocations: 27.56 kB / 476.6 MB, free: 5.004 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.228e-06/0.4867, allocations: 0 / 476.6 MB, free: 5.004 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.4869, allocations: 322.8 kB / 476.9 MB, free: 4.68 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.212e-05/0.4869, allocations: 24 kB / 476.9 MB, free: 4.656 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.636e-05/0.487, allocations: 55.38 kB / 477 MB, free: 4.59 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.433e-05/0.4871, allocations: 23.98 kB / 477 MB, free: 4.566 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.4871, allocations: 4 kB / 477 MB, free: 4.562 MB / 346.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001672/0.4872, allocations: 109.5 kB / 477.1 MB, free: 4.449 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.4873, allocations: 9.344 kB / 477.1 MB, free: 4.441 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.4873, allocations: 4 kB / 477.1 MB, free: 4.438 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.4873, allocations: 0 / 477.1 MB, free: 4.438 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001117/0.4874, allocations: 24 kB / 477.1 MB, free: 4.414 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.868e-06/0.4874, allocations: 7.984 kB / 477.2 MB, free: 4.406 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.195e-05/0.4875, allocations: 11.94 kB / 477.2 MB, free: 4.395 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.869e-06/0.4875, allocations: 11.94 kB / 477.2 MB, free: 4.383 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 7.087e-05/0.4876, allocations: 108.9 kB / 477.3 MB, free: 4.27 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.832e-05/0.4876, allocations: 4 kB / 477.3 MB, free: 4.266 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.542e-05/0.4877, allocations: 16.62 kB / 477.3 MB, free: 4.25 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.4877, allocations: 4 kB / 477.3 MB, free: 4.246 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.4877, allocations: 0 / 477.3 MB, free: 4.246 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.4877, allocations: 0 / 477.3 MB, free: 4.246 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002128/0.4879, allocations: 205.5 kB / 477.5 MB, free: 3.996 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-06/0.4879, allocations: 0 / 477.5 MB, free: 3.996 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001245/0.4881, allocations: 23.98 kB / 477.5 MB, free: 3.973 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.043e-06/0.4881, allocations: 0 / 477.5 MB, free: 3.973 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.332e-05/0.4881, allocations: 4 kB / 477.5 MB, free: 3.969 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.4881, allocations: 0 / 477.5 MB, free: 3.969 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.4881, allocations: 0 / 477.5 MB, free: 3.969 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000229/0.4883, allocations: 207.4 kB / 477.7 MB, free: 3.75 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.38e-05/0.4884, allocations: 92.94 kB / 477.8 MB, free: 3.641 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.645e-05/0.4884, allocations: 0 / 477.8 MB, free: 3.641 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.34e-05/0.4885, allocations: 0 / 477.8 MB, free: 3.641 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.818e-05/0.4885, allocations: 4.094 kB / 477.8 MB, free: 3.637 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.715e-06/0.4885, allocations: 7.984 kB / 477.8 MB, free: 3.629 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.661e-05/0.4886, allocations: 95.27 kB / 477.9 MB, free: 3.535 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4886, allocations: 4 kB / 477.9 MB, free: 3.531 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002224/0.4888, allocations: 23.94 kB / 478 MB, free: 3.508 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.0004818/0.4893, allocations: 0.7485 MB / 478.7 MB, free: 2.73 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001359/0.4895, allocations: 55.94 kB / 478.8 MB, free: 2.676 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.4895, allocations: 192 / 478.8 MB, free: 2.676 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.077e-05/0.4895, allocations: 28 kB / 478.8 MB, free: 2.648 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002299/0.4898, allocations: 12.03 kB / 478.8 MB, free: 2.637 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007713/0.4905, allocations: 363.8 kB / 479.2 MB, free: 2.242 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003342/0.4909, allocations: 0.7043 MB / 479.9 MB, free: 1.512 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.36e-05/0.491, allocations: 8.438 kB / 479.9 MB, free: 1.504 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.118e-05/0.491, allocations: 27.42 kB / 479.9 MB, free: 1.477 MB / 346.7 MB Notification: Performance of SimCode: time 2.71e-07/0.491, allocations: 192 / 479.9 MB, free: 1.477 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01216/0.5032, allocations: 1.96 MB / 481.9 MB, free: 15.64 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001634/0.5034, allocations: 164.9 kB / 482 MB, free: 15.41 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.536/2.039, allocations: 4 kB / 482 MB, free: 15.41 MB / 362.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