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/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 4.0.0+maint.om/package.mo", uses=false) 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) 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001301/0.001301, allocations: 117.9 kB / 16.63 MB, free: 6.812 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.001379/0.001379, allocations: 189.8 kB / 17.55 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.267/1.267, allocations: 222.9 MB / 241.2 MB, free: 15.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001159/0.001159, allocations: 51.45 kB / 300.2 MB, free: 6.117 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1019, allocations: 49.44 MB / 349.7 MB, free: 4.664 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.003611/0.1056, allocations: 1.828 MB / 351.5 MB, free: 2.824 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001341/0.107, allocations: 0.627 MB / 352.1 MB, free: 2.191 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001351/0.1071, allocations: 4 kB / 352.1 MB, free: 2.188 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001397/0.1073, allocations: 11.86 kB / 352.1 MB, free: 2.176 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001462/0.1075, allocations: 27.77 kB / 352.2 MB, free: 2.148 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003379/0.1078, allocations: 55.88 kB / 352.2 MB, free: 2.094 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001973/0.108, allocations: 115.4 kB / 352.3 MB, free: 1.98 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001346/0.1082, allocations: 23.98 kB / 352.4 MB, free: 1.957 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.359e-05/0.1083, allocations: 43.8 kB / 352.4 MB, free: 1.914 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.713e-05/0.1084, allocations: 51.77 kB / 352.5 MB, free: 1.863 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.09e-05/0.1084, allocations: 8 kB / 352.5 MB, free: 1.855 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.999e-05/0.1085, allocations: 27.98 kB / 352.5 MB, free: 1.828 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.393e-05/0.1085, allocations: 15.94 kB / 352.5 MB, free: 1.812 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.211e-05/0.1086, allocations: 51.73 kB / 352.6 MB, free: 1.762 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000214/0.1088, allocations: 119.9 kB / 352.7 MB, free: 1.645 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.1088, allocations: 4 kB / 352.7 MB, free: 1.641 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.226e-06/0.1088, allocations: 0 / 352.7 MB, free: 1.641 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.087e-06/0.1088, allocations: 0 / 352.7 MB, free: 1.641 MB / 286.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.0007196/0.1096, allocations: 413.7 kB / 353.1 MB, free: 1.191 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.848e-05/0.1096, allocations: 12.03 kB / 353.1 MB, free: 1.18 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.649e-05/0.1097, allocations: 46.67 kB / 353.1 MB, free: 1.125 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000222/0.1099, allocations: 20.83 kB / 353.2 MB, free: 1.105 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002205/0.1101, allocations: 200.1 kB / 353.4 MB, free: 0.8711 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.1102, allocations: 8.547 kB / 353.4 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.481e-05/0.1102, allocations: 16.12 kB / 353.4 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002079/0.1104, allocations: 93.59 kB / 353.5 MB, free: 0.75 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.63e-05/0.1104, allocations: 7.906 kB / 353.5 MB, free: 0.7422 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.1105, allocations: 0 / 353.5 MB, free: 0.7422 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.1105, allocations: 0 / 353.5 MB, free: 0.7422 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001276/0.1106, allocations: 63.91 kB / 353.5 MB, free: 0.6797 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008167/0.1114, allocations: 481.3 kB / 354 MB, free: 148 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000246/0.1117, allocations: 78.59 kB / 354.1 MB, free: 60 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.832e-05/0.1117, allocations: 28.83 kB / 354.1 MB, free: 28 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.149e-05/0.1118, allocations: 4 kB / 354.1 MB, free: 24 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.328e-05/0.1118, allocations: 42.56 kB / 354.2 MB, free: 15.97 MB / 302.1 MB Notification: Performance of pre-optimization done (n=8): time 1.603e-06/0.1118, allocations: 0 / 354.2 MB, free: 15.97 MB / 302.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002405/0.1121, allocations: 93.58 kB / 354.3 MB, free: 15.88 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.323e-05/0.1121, allocations: 59.34 kB / 354.3 MB, free: 15.8 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.636e-05/0.1122, allocations: 117.8 kB / 354.4 MB, free: 15.68 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.686e-05/0.1122, allocations: 25.7 kB / 354.5 MB, free: 15.65 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.717e-05/0.1123, allocations: 111.9 kB / 354.6 MB, free: 15.54 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.075e-05/0.1124, allocations: 39.69 kB / 354.6 MB, free: 15.5 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.369e-05/0.1124, allocations: 25.72 kB / 354.6 MB, free: 15.46 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001142/0.1125, allocations: 314.8 kB / 354.9 MB, free: 15.15 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.06e-05/0.1126, allocations: 23.94 kB / 355 MB, free: 15.12 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.43e-05/0.1127, allocations: 55.42 kB / 355 MB, free: 15.06 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001079/0.1128, allocations: 79.36 kB / 355.1 MB, free: 14.97 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.1128, allocations: 0 / 355.1 MB, free: 14.97 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001989/0.113, allocations: 117.4 kB / 355.2 MB, free: 14.85 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.269e-05/0.113, allocations: 7.938 kB / 355.2 MB, free: 14.84 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/0.113, allocations: 0 / 355.2 MB, free: 14.84 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.113, allocations: 4 kB / 355.2 MB, free: 14.84 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/0.1132, allocations: 27.92 kB / 355.2 MB, free: 14.81 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.822e-06/0.1132, allocations: 4.094 kB / 355.2 MB, free: 14.8 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.955e-05/0.1133, allocations: 15.84 kB / 355.3 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.1133, allocations: 4 kB / 355.3 MB, free: 14.79 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 (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.155e-05/0.1134, allocations: 121.8 kB / 355.4 MB, free: 14.66 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.337e-05/0.1134, allocations: 7.906 kB / 355.4 MB, free: 14.65 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.531e-05/0.1134, allocations: 12.38 kB / 355.4 MB, free: 14.63 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.1135, allocations: 7.938 kB / 355.4 MB, free: 14.62 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.1135, allocations: 0 / 355.4 MB, free: 14.62 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.1135, allocations: 4 kB / 355.4 MB, free: 14.62 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002032/0.1137, allocations: 193.6 kB / 355.6 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1137, allocations: 0 / 355.6 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001287/0.1138, allocations: 23.98 kB / 355.6 MB, free: 14.36 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.1138, allocations: 3.984 kB / 355.6 MB, free: 14.36 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.291e-05/0.1139, allocations: 4 kB / 355.6 MB, free: 14.35 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.1139, allocations: 3.938 kB / 355.6 MB, free: 14.35 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1139, allocations: 0 / 355.6 MB, free: 14.35 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002324/0.1141, allocations: 211.4 kB / 355.8 MB, free: 14.12 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.216e-05/0.1142, allocations: 81.02 kB / 355.9 MB, free: 14.03 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.137e-05/0.1142, allocations: 8 kB / 355.9 MB, free: 14.02 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.176e-05/0.1143, allocations: 3.938 kB / 355.9 MB, free: 14.02 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.153e-05/0.1143, allocations: 8.031 kB / 355.9 MB, free: 14.01 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.469e-06/0.1143, allocations: 0 / 355.9 MB, free: 14.01 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.324e-05/0.1144, allocations: 91.27 kB / 356 MB, free: 13.92 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1144, allocations: 0 / 356 MB, free: 13.92 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002536/0.1146, allocations: 31.94 kB / 356.1 MB, free: 13.89 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000498/0.1151, allocations: 0.7396 MB / 356.8 MB, free: 13.12 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001537/0.1153, allocations: 63.97 kB / 356.9 MB, free: 13.06 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.1153, allocations: 0 / 356.9 MB, free: 13.06 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.1e-05/0.1154, allocations: 31.98 kB / 356.9 MB, free: 13.03 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003688/0.1157, allocations: 28.95 kB / 356.9 MB, free: 13 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001737/0.1175, allocations: 1.752 MB / 358.7 MB, free: 11.15 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002487/0.1177, allocations: 0.7002 MB / 359.4 MB, free: 10.42 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.606e-05/0.1178, allocations: 8.438 kB / 359.4 MB, free: 10.41 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.553e-05/0.1179, allocations: 27.42 kB / 359.4 MB, free: 10.39 MB / 302.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1179, allocations: 0 / 359.4 MB, free: 10.39 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1309/0.2487, allocations: 2.159 MB / 361.6 MB, free: 8.363 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001973/0.249, allocations: 202.2 kB / 361.8 MB, free: 8.113 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.684/1.933, allocations: 0 / 361.8 MB, free: 8.113 MB / 302.1 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/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) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Rotational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches