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.001086/0.001086, allocations: 180.6 kB / 16.39 MB, free: 5.762 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.366/1.366, allocations: 223.2 MB / 240.3 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008823/0.0008826, allocations: 102.2 kB / 291.5 MB, free: 10.9 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002617/0.0002617, allocations: 12 kB / 351.2 MB, free: 15.21 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2457/0.246, allocations: 50.4 MB / 401.6 MB, free: 32.57 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09561/0.3416, allocations: 77.86 MB / 479.4 MB, free: 2.605 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002426/0.3419, allocations: 75.97 kB / 479.5 MB, free: 2.531 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006488/0.3484, allocations: 2.53 MB / 482 MB, free: 4 kB / 346.7 MB Notification: Performance of FrontEnd: time 2.756e-06/0.3485, allocations: 4 kB / 482 MB, free: 0 / 346.7 MB Notification: Performance of Transformations before backend: time 3.677e-05/0.3485, allocations: 8.125 kB / 482.1 MB, free: 15.99 MB / 362.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.0004995/0.349, allocations: 391.4 kB / 482.4 MB, free: 15.56 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/0.3491, allocations: 8.031 kB / 482.4 MB, free: 15.55 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.978e-05/0.3491, allocations: 46.48 kB / 482.5 MB, free: 15.5 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001771/0.3493, allocations: 31.84 kB / 482.5 MB, free: 15.46 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001977/0.3495, allocations: 194.8 kB / 482.7 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.3495, allocations: 4.188 kB / 482.7 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.713e-05/0.3496, allocations: 12 kB / 482.7 MB, free: 15.22 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002218/0.3498, allocations: 91.16 kB / 482.8 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.651e-05/0.3498, allocations: 0 / 482.8 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.3499, allocations: 3.938 kB / 482.8 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.062e-05/0.3499, allocations: 7.953 kB / 482.8 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001272/0.35, allocations: 56.53 kB / 482.9 MB, free: 15.06 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007413/0.3507, allocations: 489.9 kB / 483.4 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002383/0.351, allocations: 90.52 kB / 483.4 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.113e-05/0.351, allocations: 4 kB / 483.5 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.442e-05/0.3511, allocations: 30.56 kB / 483.5 MB, free: 14.38 MB / 362.7 MB Notification: Performance of pre-optimization done (n=8): time 1.232e-06/0.3511, allocations: 3.938 kB / 483.5 MB, free: 14.37 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002309/0.3513, allocations: 93.88 kB / 483.6 MB, free: 14.27 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.039e-05/0.3513, allocations: 55.39 kB / 483.6 MB, free: 14.21 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.735e-05/0.3515, allocations: 108.9 kB / 483.7 MB, free: 14.09 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.157e-05/0.3515, allocations: 29.7 kB / 483.8 MB, free: 14.06 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.21e-05/0.3516, allocations: 107.9 kB / 483.9 MB, free: 13.95 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.067e-05/0.3516, allocations: 35.55 kB / 483.9 MB, free: 13.91 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.619e-06/0.3516, allocations: 4 kB / 483.9 MB, free: 13.91 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001248/0.3517, allocations: 322.8 kB / 484.2 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.106e-05/0.3518, allocations: 20 kB / 484.2 MB, free: 13.57 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.969e-05/0.3519, allocations: 51.36 kB / 484.3 MB, free: 13.5 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.541e-05/0.3519, allocations: 28 kB / 484.3 MB, free: 13.48 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.3519, allocations: 4 kB / 484.3 MB, free: 13.47 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001609/0.3521, allocations: 113.5 kB / 484.4 MB, free: 13.36 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.3521, allocations: 4 kB / 484.4 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.3521, allocations: 0 / 484.4 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/0.3522, allocations: 4 kB / 484.4 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001211/0.3523, allocations: 23.98 kB / 484.5 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.3523, allocations: 3.938 kB / 484.5 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.77e-05/0.3524, allocations: 12.03 kB / 484.5 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.125e-05/0.3524, allocations: 8 kB / 484.5 MB, free: 13.3 MB / 362.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 () * Number of clocked 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 0.0001003/0.3525, allocations: 121.7 kB / 484.6 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.754e-05/0.3525, allocations: 7.906 kB / 484.6 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.368e-05/0.3526, allocations: 16.38 kB / 484.6 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.015e-06/0.3526, allocations: 3.984 kB / 484.6 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.3526, allocations: 0 / 484.6 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.3526, allocations: 3.984 kB / 484.6 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002064/0.3528, allocations: 197.7 kB / 484.8 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-06/0.3528, allocations: 7.938 kB / 484.8 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001273/0.353, allocations: 23.98 kB / 484.9 MB, free: 12.87 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.353, allocations: 0 / 484.9 MB, free: 12.87 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/0.353, allocations: 0 / 484.9 MB, free: 12.87 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.353, allocations: 0 / 484.9 MB, free: 12.87 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.353, allocations: 4 kB / 484.9 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002277/0.3532, allocations: 211.3 kB / 485.1 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.422e-05/0.3533, allocations: 85 kB / 485.2 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.985e-05/0.3533, allocations: 4 kB / 485.2 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.344e-05/0.3534, allocations: 12.03 kB / 485.2 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.564e-05/0.3534, allocations: 4 kB / 485.2 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.408e-06/0.3534, allocations: 0 / 485.2 MB, free: 12.52 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.14e-05/0.3535, allocations: 91.27 kB / 485.3 MB, free: 12.43 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3535, allocations: 0 / 485.3 MB, free: 12.43 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002449/0.3538, allocations: 31.91 kB / 485.3 MB, free: 12.4 MB / 362.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 () * Number of clocked 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.0005509/0.3543, allocations: 0.7405 MB / 486 MB, free: 11.63 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001556/0.3545, allocations: 63.94 kB / 486.1 MB, free: 11.57 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.3545, allocations: 0 / 486.1 MB, free: 11.57 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.986e-05/0.3546, allocations: 23.94 kB / 486.1 MB, free: 11.55 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002752/0.3548, allocations: 20.12 kB / 486.1 MB, free: 11.53 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001416/0.3563, allocations: 1.35 MB / 487.5 MB, free: 10.11 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002697/0.3565, allocations: 0.7082 MB / 488.2 MB, free: 9.379 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.221e-05/0.3566, allocations: 4.438 kB / 488.2 MB, free: 9.375 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.372e-05/0.3567, allocations: 31.42 kB / 488.2 MB, free: 9.344 MB / 362.7 MB Notification: Performance of SimCode: time 3.31e-07/0.3567, allocations: 0 / 488.2 MB, free: 9.344 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01243/0.3691, allocations: 1.995 MB / 490.2 MB, free: 7.496 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001735/0.3693, allocations: 190.8 kB / 490.4 MB, free: 7.25 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.492/1.861, allocations: 0 / 490.4 MB, free: 7.25 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