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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.0009918/0.0009917, allocations: 96.86 kB / 16.98 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001052/0.001052, allocations: 198.1 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.285/1.285, allocations: 227.3 MB / 245.9 MB, free: 10.31 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002624/0.0002624, allocations: 4 kB / 306.7 MB, free: 1.293 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1425, allocations: 51.49 MB / 358.2 MB, free: 13.8 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.00251/0.1451, allocations: 1.609 MB / 359.8 MB, free: 12.18 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001272/0.1464, allocations: 0.6357 MB / 360.4 MB, free: 11.54 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.879e-05/0.1465, allocations: 4 kB / 360.4 MB, free: 11.54 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.246e-05/0.1465, allocations: 7.922 kB / 360.4 MB, free: 11.53 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001461/0.1467, allocations: 55.83 kB / 360.5 MB, free: 11.48 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002537/0.147, allocations: 43.88 kB / 360.5 MB, free: 11.43 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002065/0.1472, allocations: 99.8 kB / 360.6 MB, free: 11.34 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001351/0.1473, allocations: 29.08 kB / 360.7 MB, free: 11.3 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.667e-05/0.1474, allocations: 47.78 kB / 360.7 MB, free: 11.26 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001012/0.1475, allocations: 51.77 kB / 360.8 MB, free: 11.21 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.986e-05/0.1476, allocations: 4 kB / 360.8 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.32e-05/0.1477, allocations: 23.98 kB / 360.8 MB, free: 11.18 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.717e-05/0.1477, allocations: 27.91 kB / 360.8 MB, free: 11.15 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.563e-05/0.1478, allocations: 45.64 kB / 360.9 MB, free: 11.1 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001775/0.1479, allocations: 100 kB / 361 MB, free: 11 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.1479, allocations: 0 / 361 MB, free: 11 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.148, allocations: 0 / 361 MB, free: 11 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.177e-06/0.148, allocations: 0 / 361 MB, free: 11 MB / 302.1 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.0008388/0.1488, allocations: 419 kB / 361.4 MB, free: 10.55 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.606e-05/0.1489, allocations: 12.03 kB / 361.4 MB, free: 10.54 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.125e-05/0.149, allocations: 38.55 kB / 361.4 MB, free: 10.49 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002297/0.1492, allocations: 31.8 kB / 361.5 MB, free: 10.46 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002283/0.1495, allocations: 205.1 kB / 361.7 MB, free: 10.22 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.572e-05/0.1495, allocations: 8 kB / 361.7 MB, free: 10.21 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.648e-05/0.1495, allocations: 15.95 kB / 361.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003082/0.1498, allocations: 118.7 kB / 361.8 MB, free: 10.07 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.1499, allocations: 0 / 361.8 MB, free: 10.07 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.822e-05/0.1499, allocations: 8 kB / 361.8 MB, free: 10.07 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.1499, allocations: 0 / 361.8 MB, free: 10.07 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003026/0.1502, allocations: 104.5 kB / 361.9 MB, free: 9.965 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009667/0.1512, allocations: 0.5282 MB / 362.4 MB, free: 9.375 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003584/0.1515, allocations: 114.5 kB / 362.5 MB, free: 9.254 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.38e-05/0.1516, allocations: 0 / 362.5 MB, free: 9.254 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.926e-05/0.1516, allocations: 34.56 kB / 362.6 MB, free: 9.211 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.403e-06/0.1516, allocations: 4 kB / 362.6 MB, free: 9.207 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004955/0.1521, allocations: 161.6 kB / 362.7 MB, free: 9.043 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.145e-05/0.1522, allocations: 55.34 kB / 362.8 MB, free: 8.977 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001274/0.1523, allocations: 144.4 kB / 362.9 MB, free: 8.828 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.81e-05/0.1523, allocations: 25.7 kB / 363 MB, free: 8.797 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.449e-05/0.1524, allocations: 116.1 kB / 363.1 MB, free: 8.676 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.468e-05/0.1525, allocations: 31.55 kB / 363.1 MB, free: 8.645 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.392e-06/0.1525, allocations: 4 kB / 363.1 MB, free: 8.641 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002484/0.1527, allocations: 318.8 kB / 363.4 MB, free: 8.32 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001266/0.1529, allocations: 47.97 kB / 363.5 MB, free: 8.273 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001402/0.153, allocations: 67.41 kB / 363.5 MB, free: 8.195 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001463/0.1532, allocations: 47.98 kB / 363.6 MB, free: 8.148 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.1532, allocations: 0 / 363.6 MB, free: 8.148 MB / 302.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003441/0.1535, allocations: 165.3 kB / 363.7 MB, free: 7.98 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.275e-05/0.1536, allocations: 4.094 kB / 363.7 MB, free: 7.977 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.1536, allocations: 4 kB / 363.7 MB, free: 7.973 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.055e-05/0.1536, allocations: 7.953 kB / 363.8 MB, free: 7.965 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001689/0.1538, allocations: 35.97 kB / 363.8 MB, free: 7.93 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.1538, allocations: 0 / 363.8 MB, free: 7.93 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001155/0.1539, allocations: 11.94 kB / 363.8 MB, free: 7.918 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.478e-05/0.1539, allocations: 8 kB / 363.8 MB, free: 7.91 MB / 302.1 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 (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 0.000156/0.1541, allocations: 129.8 kB / 363.9 MB, free: 7.773 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.864e-05/0.1541, allocations: 7.906 kB / 363.9 MB, free: 7.766 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.941e-05/0.1542, allocations: 16.7 kB / 364 MB, free: 7.742 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.565e-06/0.1542, allocations: 7.953 kB / 364 MB, free: 7.734 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.1542, allocations: 4 kB / 364 MB, free: 7.73 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.1542, allocations: 0 / 364 MB, free: 7.73 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000282/0.1545, allocations: 213.5 kB / 364.2 MB, free: 7.473 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.1545, allocations: 0 / 364.2 MB, free: 7.473 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001848/0.1547, allocations: 27.98 kB / 364.2 MB, free: 7.445 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.1547, allocations: 4.375 kB / 364.2 MB, free: 7.441 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.298e-05/0.1548, allocations: 4 kB / 364.2 MB, free: 7.438 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.1548, allocations: 0 / 364.2 MB, free: 7.438 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.155e-06/0.1548, allocations: 7.938 kB / 364.2 MB, free: 7.43 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005508/0.1553, allocations: 279.2 kB / 364.5 MB, free: 7.141 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.558e-05/0.1554, allocations: 88.95 kB / 364.6 MB, free: 7.035 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.441e-05/0.1554, allocations: 0 / 364.6 MB, free: 7.035 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001208/0.1556, allocations: 16.03 kB / 364.6 MB, free: 7.02 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.935e-05/0.1556, allocations: 3.984 kB / 364.6 MB, free: 7.016 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.206e-05/0.1556, allocations: 11.95 kB / 364.6 MB, free: 7.004 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.762e-05/0.1557, allocations: 103.2 kB / 364.7 MB, free: 6.902 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1558, allocations: 0 / 364.7 MB, free: 6.902 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002605/0.156, allocations: 27.91 kB / 364.7 MB, free: 6.875 MB / 302.1 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 (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.0008666/0.1569, allocations: 0.8061 MB / 365.5 MB, free: 6.043 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003367/0.1572, allocations: 99.94 kB / 365.6 MB, free: 5.945 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1573, allocations: 0 / 365.6 MB, free: 5.945 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000133/0.1574, allocations: 55.91 kB / 365.7 MB, free: 5.891 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003019/0.1577, allocations: 20.3 kB / 365.7 MB, free: 5.875 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002025/0.1597, allocations: 1.505 MB / 367.2 MB, free: 4.309 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003651/0.1601, allocations: 0.7121 MB / 367.9 MB, free: 3.57 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.075e-05/0.1602, allocations: 16.41 kB / 368 MB, free: 3.555 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.018e-05/0.1603, allocations: 31.42 kB / 368 MB, free: 3.523 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1603, allocations: 4 kB / 368 MB, free: 3.52 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1477/0.308, allocations: 2.319 MB / 370.3 MB, free: 1.348 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002445/0.3083, allocations: 188 kB / 370.5 MB, free: 1.109 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.781/2.089, allocations: 3.938 kB / 370.5 MB, free: 1.105 MB / 302.1 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