Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_EddyCurrentBrake",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_EddyCurrentBrake",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008613/0.0008613, allocations: 99.34 kB / 16.95 MB, free: 6.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000982/0.0009821, allocations: 177.7 kB / 17.84 MB, free: 5.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.515/1.515, allocations: 205.4 MB / 224 MB, free: 13.07 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005001/0.0005002, allocations: 12 kB / 280.9 MB, free: 3.629 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1077, allocations: 47.59 MB / 328.5 MB, free: 3.969 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.002041/0.1098, allocations: 1.439 MB / 329.9 MB, free: 2.52 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001123/0.111, allocations: 0.6324 MB / 330.5 MB, free: 1.879 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001344/0.1112, allocations: 7.938 kB / 330.5 MB, free: 1.871 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001203/0.1113, allocations: 11.92 kB / 330.5 MB, free: 1.859 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 9.51e-05/0.1114, allocations: 39.69 kB / 330.6 MB, free: 1.82 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00024/0.1116, allocations: 31.89 kB / 330.6 MB, free: 1.789 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001754/0.1118, allocations: 111.4 kB / 330.7 MB, free: 1.68 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001269/0.112, allocations: 19.97 kB / 330.7 MB, free: 1.66 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.487e-05/0.1121, allocations: 39.86 kB / 330.8 MB, free: 1.621 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.906e-05/0.1122, allocations: 35.84 kB / 330.8 MB, free: 1.586 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.746e-05/0.1122, allocations: 8 kB / 330.8 MB, free: 1.578 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000118/0.1123, allocations: 23.98 kB / 330.8 MB, free: 1.555 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 2.062e-05/0.1123, allocations: 15.92 kB / 330.9 MB, free: 1.539 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 4.449e-05/0.1124, allocations: 45.64 kB / 330.9 MB, free: 1.488 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001707/0.1126, allocations: 92.06 kB / 331 MB, free: 1.398 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.1126, allocations: 0 / 331 MB, free: 1.398 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.1126, allocations: 0 / 331 MB, free: 1.398 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.1126, allocations: 0 / 331 MB, free: 1.398 MB / 270.1 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.0006212/0.1132, allocations: 387.2 kB / 331.4 MB, free: 0.9727 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.172e-05/0.1133, allocations: 8.031 kB / 331.4 MB, free: 0.9648 MB / 270.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.633e-05/0.1134, allocations: 46.55 kB / 331.4 MB, free: 0.9102 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002113/0.1136, allocations: 27.8 kB / 331.5 MB, free: 0.8828 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002113/0.1138, allocations: 194.9 kB / 331.6 MB, free: 0.6523 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.65e-05/0.1138, allocations: 8.188 kB / 331.7 MB, free: 0.6445 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.138e-05/0.1139, allocations: 8 kB / 331.7 MB, free: 0.6367 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001992/0.1141, allocations: 91.16 kB / 331.8 MB, free: 0.543 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.716e-05/0.1141, allocations: 0 / 331.8 MB, free: 0.543 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.424e-05/0.1141, allocations: 8 kB / 331.8 MB, free: 0.5352 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.1141, allocations: 4 kB / 331.8 MB, free: 0.5312 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001321/0.1143, allocations: 56.47 kB / 331.8 MB, free: 488 kB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008018/0.1151, allocations: 493.9 kB / 332.3 MB, free: 15.93 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002679/0.1154, allocations: 78.59 kB / 332.4 MB, free: 15.84 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.97e-05/0.1154, allocations: 28.84 kB / 332.4 MB, free: 15.81 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.463e-05/0.1154, allocations: 4 kB / 332.4 MB, free: 15.81 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.02e-05/0.1155, allocations: 30.56 kB / 332.4 MB, free: 15.77 MB / 286.1 MB Notification: Performance of pre-optimization done (n=8): time 1.392e-06/0.1155, allocations: 0 / 332.4 MB, free: 15.77 MB / 286.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002294/0.1157, allocations: 93.53 kB / 332.5 MB, free: 15.67 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.083e-05/0.1158, allocations: 63.39 kB / 332.6 MB, free: 15.6 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.291e-05/0.1159, allocations: 113.8 kB / 332.7 MB, free: 15.48 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.414e-05/0.1159, allocations: 29.7 kB / 332.7 MB, free: 15.44 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.947e-05/0.1159, allocations: 115.8 kB / 332.8 MB, free: 15.32 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.862e-05/0.116, allocations: 31.55 kB / 332.9 MB, free: 15.29 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.041e-06/0.116, allocations: 4 kB / 332.9 MB, free: 15.29 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002315/0.1162, allocations: 314.8 kB / 333.2 MB, free: 14.97 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.616e-05/0.1163, allocations: 27.98 kB / 333.2 MB, free: 14.95 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.172e-05/0.1164, allocations: 55.42 kB / 333.3 MB, free: 14.88 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.659e-05/0.1164, allocations: 31.94 kB / 333.3 MB, free: 14.85 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1164, allocations: 0 / 333.3 MB, free: 14.85 MB / 286.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001792/0.1166, allocations: 113.4 kB / 333.4 MB, free: 14.73 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.1167, allocations: 8.078 kB / 333.4 MB, free: 14.72 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.1167, allocations: 8 kB / 333.4 MB, free: 14.71 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.1167, allocations: 0 / 333.4 MB, free: 14.71 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001105/0.1168, allocations: 20 kB / 333.4 MB, free: 14.7 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.1168, allocations: 4 kB / 333.5 MB, free: 14.69 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.723e-05/0.1169, allocations: 11.83 kB / 333.5 MB, free: 14.68 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.488e-06/0.1169, allocations: 8 kB / 333.5 MB, free: 14.67 MB / 286.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 (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 9.584e-05/0.117, allocations: 121.8 kB / 333.6 MB, free: 14.54 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.861e-05/0.117, allocations: 7.859 kB / 333.6 MB, free: 14.54 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.387e-05/0.1171, allocations: 24.36 kB / 333.6 MB, free: 14.51 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.1171, allocations: 0 / 333.6 MB, free: 14.51 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.1171, allocations: 0 / 333.6 MB, free: 14.51 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.1171, allocations: 0 / 333.6 MB, free: 14.51 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002177/0.1174, allocations: 201.8 kB / 333.8 MB, free: 14.27 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.1174, allocations: 3.938 kB / 333.8 MB, free: 14.26 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001195/0.1175, allocations: 19.98 kB / 333.8 MB, free: 14.24 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.031e-06/0.1175, allocations: 4 kB / 333.8 MB, free: 14.24 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.334e-05/0.1175, allocations: 3.953 kB / 333.8 MB, free: 14.23 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.1175, allocations: 4 kB / 333.9 MB, free: 14.23 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1175, allocations: 0 / 333.9 MB, free: 14.23 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002302/0.1178, allocations: 207.4 kB / 334.1 MB, free: 14.01 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.02e-05/0.1178, allocations: 85.11 kB / 334.1 MB, free: 13.91 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.822e-05/0.1178, allocations: 3.938 kB / 334.1 MB, free: 13.91 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.646e-05/0.1179, allocations: 7.953 kB / 334.2 MB, free: 13.9 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.248e-05/0.118, allocations: 8.031 kB / 334.2 MB, free: 13.89 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-06/0.118, allocations: 0 / 334.2 MB, free: 13.89 MB / 286.1 MB Notification: Performance of sorting global known variables: time 5.192e-05/0.118, allocations: 95.27 kB / 334.3 MB, free: 13.8 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.118, allocations: 4 kB / 334.3 MB, free: 13.79 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002493/0.1183, allocations: 27.94 kB / 334.3 MB, free: 13.77 MB / 286.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 (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.0004518/0.1187, allocations: 0.7323 MB / 335 MB, free: 13 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001483/0.1189, allocations: 64.03 kB / 335.1 MB, free: 12.94 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1189, allocations: 4.188 kB / 335.1 MB, free: 12.94 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 4.227e-05/0.119, allocations: 27.98 kB / 335.1 MB, free: 12.91 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003459/0.1193, allocations: 15.94 kB / 335.1 MB, free: 12.89 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001313/0.1206, allocations: 0.892 MB / 336 MB, free: 11.95 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003442/0.121, allocations: 0.7043 MB / 336.7 MB, free: 11.21 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 6.114e-05/0.1211, allocations: 4.438 kB / 336.7 MB, free: 11.21 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.028e-05/0.1211, allocations: 31.48 kB / 336.8 MB, free: 11.18 MB / 286.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1211, allocations: 0 / 336.8 MB, free: 11.18 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01283/0.134, allocations: 1.993 MB / 338.7 MB, free: 9.195 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001917/0.1342, allocations: 206.1 kB / 339 MB, free: 8.941 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.888/2.022, allocations: 7.938 kB / 339 MB, free: 8.934 MB / 286.1 MB (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_EddyCurrentBrake_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_EddyCurrentBrake.fmu > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.mat does not exist to compare? outputFormat=mat