Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001289/0.001289, allocations: 116.9 kB / 18.45 MB, free: 4.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001376/0.001376, allocations: 213.6 kB / 21.42 MB, free: 1.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.469/1.469, allocations: 207.6 MB / 231.8 MB, free: 4.035 MB / 174.1 MB " [Timeout remaining time 178] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001738/0.001738, allocations: 55.92 kB / 342.3 MB, free: 9.996 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1034, allocations: 49.13 MB / 391.4 MB, free: 8.703 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.003275/0.1067, allocations: 1.781 MB / 393.2 MB, free: 6.914 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001185/0.1079, allocations: 0.6901 MB / 393.9 MB, free: 6.215 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.805e-05/0.108, allocations: 3.938 kB / 393.9 MB, free: 6.211 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001274/0.1081, allocations: 15.86 kB / 393.9 MB, free: 6.195 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 8.59e-05/0.1082, allocations: 39.69 kB / 393.9 MB, free: 6.156 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002634/0.1085, allocations: 51.8 kB / 394 MB, free: 6.105 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000201/0.1087, allocations: 119.4 kB / 394.1 MB, free: 5.988 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001253/0.1088, allocations: 21.39 kB / 394.1 MB, free: 5.969 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.603e-05/0.1089, allocations: 51.8 kB / 394.2 MB, free: 5.918 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001059/0.109, allocations: 47.77 kB / 394.2 MB, free: 5.871 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.064e-05/0.109, allocations: 8 kB / 394.2 MB, free: 5.863 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.571e-05/0.1091, allocations: 27.98 kB / 394.3 MB, free: 5.836 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.919e-05/0.1091, allocations: 23.86 kB / 394.3 MB, free: 5.812 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.61e-05/0.1092, allocations: 51.73 kB / 394.3 MB, free: 5.762 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002341/0.1094, allocations: 131.5 kB / 394.5 MB, free: 5.633 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.1094, allocations: 0 / 394.5 MB, free: 5.633 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.1094, allocations: 3.938 kB / 394.5 MB, free: 5.629 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.53e-06/0.1094, allocations: 0 / 394.5 MB, free: 5.629 MB / 318.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.0006475/0.1101, allocations: 415.2 kB / 394.9 MB, free: 5.176 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.1101, allocations: 12.03 kB / 394.9 MB, free: 5.164 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.651e-05/0.1101, allocations: 42.73 kB / 394.9 MB, free: 5.113 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001865/0.1103, allocations: 24.88 kB / 394.9 MB, free: 5.09 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002838/0.1106, allocations: 192.2 kB / 395.1 MB, free: 4.863 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.678e-06/0.1106, allocations: 8.562 kB / 395.1 MB, free: 4.855 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.058e-05/0.1107, allocations: 24.08 kB / 395.2 MB, free: 4.832 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001985/0.1109, allocations: 85.66 kB / 395.2 MB, free: 4.742 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.1109, allocations: 4 kB / 395.2 MB, free: 4.738 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.503e-05/0.1109, allocations: 4 kB / 395.3 MB, free: 4.734 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.1109, allocations: 4 kB / 395.3 MB, free: 4.73 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001386/0.111, allocations: 67.83 kB / 395.3 MB, free: 4.664 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006992/0.1117, allocations: 443.8 kB / 395.8 MB, free: 4.176 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002903/0.112, allocations: 98.58 kB / 395.9 MB, free: 4.07 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.112e-05/0.1121, allocations: 32.84 kB / 395.9 MB, free: 4.035 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.14e-05/0.1121, allocations: 0 / 395.9 MB, free: 4.035 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.511e-05/0.1121, allocations: 34.56 kB / 395.9 MB, free: 3.992 MB / 318.1 MB Notification: Performance of pre-optimization done (n=11): time 9.11e-07/0.1121, allocations: 0 / 395.9 MB, free: 3.992 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.001398/0.1135, allocations: 0.535 MB / 396.5 MB, free: 3.387 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.153e-05/0.1136, allocations: 63.34 kB / 396.5 MB, free: 3.312 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001103/0.1137, allocations: 126 kB / 396.6 MB, free: 3.176 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.661e-05/0.1137, allocations: 25.7 kB / 396.7 MB, free: 3.145 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.132e-05/0.1138, allocations: 108 kB / 396.8 MB, free: 3.035 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.189e-05/0.1138, allocations: 43.59 kB / 396.8 MB, free: 2.992 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.042e-05/0.1139, allocations: 37.7 kB / 396.8 MB, free: 2.949 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.00013/0.114, allocations: 314.8 kB / 397.2 MB, free: 2.633 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.926e-05/0.1141, allocations: 27.98 kB / 397.2 MB, free: 2.605 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.945e-05/0.1141, allocations: 63.33 kB / 397.2 MB, free: 2.531 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001445/0.1143, allocations: 99.34 kB / 397.3 MB, free: 2.422 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.1143, allocations: 0 / 397.3 MB, free: 2.422 MB / 318.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001985/0.1145, allocations: 129.5 kB / 397.5 MB, free: 2.289 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.1145, allocations: 8.062 kB / 397.5 MB, free: 2.281 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.1145, allocations: 4 kB / 397.5 MB, free: 2.277 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.1145, allocations: 3.938 kB / 397.5 MB, free: 2.273 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00015/0.1147, allocations: 39.92 kB / 397.5 MB, free: 2.234 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/0.1147, allocations: 3.938 kB / 397.5 MB, free: 2.23 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.341e-05/0.1147, allocations: 0 / 397.5 MB, free: 2.23 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.698e-06/0.1147, allocations: 4 kB / 397.5 MB, free: 2.227 MB / 318.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 (17): * Single equations (assignments): 17 * 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.631e-05/0.1148, allocations: 125.8 kB / 397.7 MB, free: 2.094 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.244e-05/0.1149, allocations: 7.953 kB / 397.7 MB, free: 2.086 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.672e-05/0.1149, allocations: 20.36 kB / 397.7 MB, free: 2.066 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.1149, allocations: 4 kB / 397.7 MB, free: 2.062 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.802e-06/0.1149, allocations: 3.938 kB / 397.7 MB, free: 2.059 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.1149, allocations: 0 / 397.7 MB, free: 2.059 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005413/0.1155, allocations: 420.1 kB / 398.1 MB, free: 1.586 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.1155, allocations: 0 / 398.1 MB, free: 1.586 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000154/0.1156, allocations: 36.05 kB / 398.1 MB, free: 1.551 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.1156, allocations: 7.938 kB / 398.1 MB, free: 1.543 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.948e-06/0.1156, allocations: 0 / 398.1 MB, free: 1.543 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.1157, allocations: 4 kB / 398.1 MB, free: 1.539 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1157, allocations: 0 / 398.1 MB, free: 1.539 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000298/0.1159, allocations: 257 kB / 398.4 MB, free: 1.266 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.013e-05/0.116, allocations: 89 kB / 398.5 MB, free: 1.16 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.801e-05/0.116, allocations: 4 kB / 398.5 MB, free: 1.156 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.188e-05/0.1161, allocations: 0 / 398.5 MB, free: 1.156 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.553e-05/0.1161, allocations: 12.03 kB / 398.5 MB, free: 1.145 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.421e-06/0.1161, allocations: 4 kB / 398.5 MB, free: 1.141 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.251e-05/0.1162, allocations: 95.27 kB / 398.6 MB, free: 1.047 MB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1162, allocations: 0 / 398.6 MB, free: 1.047 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002481/0.1164, allocations: 24 kB / 398.6 MB, free: 1.023 MB / 318.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 (12): * Single equations (assignments): 12 * 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.0005602/0.117, allocations: 0.7881 MB / 399.4 MB, free: 208 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001897/0.1172, allocations: 80.44 kB / 399.5 MB, free: 128 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1172, allocations: 96 / 399.5 MB, free: 128 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.428e-05/0.1173, allocations: 48.05 kB / 399.5 MB, free: 80 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003504/0.1176, allocations: 16.16 kB / 399.5 MB, free: 64 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001977/0.1196, allocations: 1.82 MB / 401.4 MB, free: 14.14 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003158/0.1199, allocations: 0.7039 MB / 402.1 MB, free: 13.41 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.743e-05/0.12, allocations: 8.891 kB / 402.1 MB, free: 13.39 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.822e-05/0.12, allocations: 35.42 kB / 402.1 MB, free: 13.36 MB / 334.1 MB Notification: Performance of SimCode: time 2.71e-07/0.12, allocations: 0 / 402.1 MB, free: 13.36 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02593/0.146, allocations: 2.601 MB / 404.7 MB, free: 10.71 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.964/8.11, allocations: 3.984 kB / 404.7 MB, free: 10.7 MB / 334.1 MB " [Timeout remaining time 652] (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake.fmu > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Translational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable eddyCurrentForce.lossPower in file Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.csv. Warning: Get data of variable eddyCurrentForce.lossPower from file Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.60938313099905]