Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Translational.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.Translational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Translational_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.001036/0.001037, allocations: 100.4 kB / 16.99 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001113/0.001113, allocations: 201.2 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.462/1.462, allocations: 227.3 MB / 245.9 MB, free: 10.3 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002217/0.0002217, allocations: 4 kB / 306.7 MB, free: 1.277 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.1199, allocations: 51.5 MB / 358.2 MB, free: 13.79 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.0021/0.1221, allocations: 1.621 MB / 359.8 MB, free: 12.16 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009096/0.123, allocations: 0.6395 MB / 360.5 MB, free: 11.52 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.442e-05/0.1231, allocations: 4 kB / 360.5 MB, free: 11.52 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.56e-05/0.1231, allocations: 11.86 kB / 360.5 MB, free: 11.5 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001233/0.1233, allocations: 43.91 kB / 360.5 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002182/0.1235, allocations: 47.86 kB / 360.6 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001724/0.1237, allocations: 107.8 kB / 360.7 MB, free: 11.31 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001182/0.1238, allocations: 25.09 kB / 360.7 MB, free: 11.28 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.612e-05/0.1239, allocations: 43.8 kB / 360.7 MB, free: 11.24 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.529e-05/0.124, allocations: 59.75 kB / 360.8 MB, free: 11.18 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.765e-05/0.124, allocations: 4 kB / 360.8 MB, free: 11.18 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.789e-05/0.1241, allocations: 27.98 kB / 360.8 MB, free: 11.15 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.039e-05/0.1241, allocations: 15.92 kB / 360.8 MB, free: 11.13 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.68e-05/0.1242, allocations: 45.64 kB / 360.9 MB, free: 11.08 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00015/0.1243, allocations: 104 kB / 361 MB, free: 10.98 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1243, allocations: 0 / 361 MB, free: 10.98 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1243, allocations: 0 / 361 MB, free: 10.98 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.324e-06/0.1243, allocations: 0 / 361 MB, free: 10.98 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.0006199/0.125, allocations: 442.7 kB / 361.4 MB, free: 10.5 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.125, allocations: 12.03 kB / 361.4 MB, free: 10.49 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.118e-05/0.1251, allocations: 38.55 kB / 361.5 MB, free: 10.44 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001798/0.1253, allocations: 31.89 kB / 361.5 MB, free: 10.41 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002028/0.1255, allocations: 186.9 kB / 361.7 MB, free: 10.19 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/0.1255, allocations: 11.94 kB / 361.7 MB, free: 10.18 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.363e-05/0.1255, allocations: 15.95 kB / 361.7 MB, free: 10.16 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002849/0.1258, allocations: 118.7 kB / 361.8 MB, free: 10.04 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.1258, allocations: 7.891 kB / 361.8 MB, free: 10.03 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.598e-05/0.1259, allocations: 8 kB / 361.8 MB, free: 10.02 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.1259, allocations: 0 / 361.8 MB, free: 10.02 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002802/0.1262, allocations: 108.6 kB / 361.9 MB, free: 9.918 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000795/0.127, allocations: 499.3 kB / 362.4 MB, free: 9.375 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003376/0.1273, allocations: 122.5 kB / 362.6 MB, free: 9.246 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.449e-05/0.1273, allocations: 0 / 362.6 MB, free: 9.246 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.328e-05/0.1274, allocations: 38.56 kB / 362.6 MB, free: 9.199 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 1.022e-06/0.1274, allocations: 0 / 362.6 MB, free: 9.199 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.001039/0.1284, allocations: 0.498 MB / 363.1 MB, free: 8.648 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.533e-05/0.1285, allocations: 55.41 kB / 363.1 MB, free: 8.582 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001068/0.1286, allocations: 130.1 kB / 363.3 MB, free: 8.441 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.913e-05/0.1286, allocations: 33.7 kB / 363.3 MB, free: 8.402 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.238e-05/0.1287, allocations: 112.2 kB / 363.4 MB, free: 8.289 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.203e-05/0.1287, allocations: 51.28 kB / 363.5 MB, free: 8.238 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.193e-06/0.1287, allocations: 8 kB / 363.5 MB, free: 8.23 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001014/0.1288, allocations: 318.8 kB / 363.8 MB, free: 7.91 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001246/0.129, allocations: 47.97 kB / 363.8 MB, free: 7.863 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001396/0.1291, allocations: 77.91 kB / 363.9 MB, free: 7.777 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001397/0.1293, allocations: 55.92 kB / 364 MB, free: 7.723 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.1293, allocations: 0 / 364 MB, free: 7.723 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003469/0.1296, allocations: 181.1 kB / 364.1 MB, free: 7.543 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.1297, allocations: 11.94 kB / 364.1 MB, free: 7.531 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.1297, allocations: 3.953 kB / 364.2 MB, free: 7.527 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.1297, allocations: 0 / 364.2 MB, free: 7.527 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001802/0.1299, allocations: 47.98 kB / 364.2 MB, free: 7.48 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.1299, allocations: 4 kB / 364.2 MB, free: 7.477 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001042/0.13, allocations: 11.98 kB / 364.2 MB, free: 7.465 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.54e-05/0.13, allocations: 11.98 kB / 364.2 MB, free: 7.453 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 (18): * Single equations (assignments): 18 * 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 9.256e-05/0.1301, allocations: 121.8 kB / 364.3 MB, free: 7.324 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.066e-05/0.1302, allocations: 11.91 kB / 364.4 MB, free: 7.312 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.27e-05/0.1302, allocations: 20.83 kB / 364.4 MB, free: 7.289 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.1302, allocations: 7.953 kB / 364.4 MB, free: 7.281 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.1302, allocations: 3.938 kB / 364.4 MB, free: 7.277 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.1303, allocations: 3.938 kB / 364.4 MB, free: 7.273 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006917/0.1309, allocations: 480.1 kB / 364.9 MB, free: 6.742 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.131, allocations: 0 / 364.9 MB, free: 6.742 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001919/0.1312, allocations: 47.92 kB / 364.9 MB, free: 6.695 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.1312, allocations: 0 / 364.9 MB, free: 6.695 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/0.1312, allocations: 0 / 364.9 MB, free: 6.695 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.1312, allocations: 4 kB / 364.9 MB, free: 6.691 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.1312, allocations: 0 / 364.9 MB, free: 6.691 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004969/0.1317, allocations: 344.5 kB / 365.2 MB, free: 6.32 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.792e-05/0.1318, allocations: 85.02 kB / 365.3 MB, free: 6.219 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.471e-05/0.1318, allocations: 8 kB / 365.3 MB, free: 6.211 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001278/0.1319, allocations: 12.03 kB / 365.4 MB, free: 6.199 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.177e-05/0.132, allocations: 11.92 kB / 365.4 MB, free: 6.188 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.037e-05/0.132, allocations: 8 kB / 365.4 MB, free: 6.18 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.239e-05/0.1321, allocations: 101.8 kB / 365.5 MB, free: 6.082 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1321, allocations: 0 / 365.5 MB, free: 6.082 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002602/0.1323, allocations: 31.95 kB / 365.5 MB, free: 6.051 MB / 302.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0007828/0.1331, allocations: 1.019 MB / 366.5 MB, free: 4.992 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003157/0.1334, allocations: 123.9 kB / 366.6 MB, free: 4.871 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1335, allocations: 0 / 366.6 MB, free: 4.871 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001402/0.1336, allocations: 64.16 kB / 366.7 MB, free: 4.809 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002794/0.1339, allocations: 19.94 kB / 366.7 MB, free: 4.789 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001772/0.1357, allocations: 1.564 MB / 368.3 MB, free: 3.145 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002585/0.1359, allocations: 0.7199 MB / 369 MB, free: 2.398 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.808e-05/0.136, allocations: 8.656 kB / 369 MB, free: 2.391 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.281e-05/0.1361, allocations: 39.42 kB / 369.1 MB, free: 2.352 MB / 302.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1361, allocations: 0 / 369.1 MB, free: 2.352 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1915/0.3276, allocations: 2.6 MB / 371.7 MB, free: 19.21 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001499/0.3278, allocations: 198 kB / 371.8 MB, free: 18.96 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.721/2.049, allocations: 2.531 kB / 371.8 MB, free: 18.96 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake.fmu > Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.mat does not exist to compare? outputFormat=mat