Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001564/0.001564, allocations: 119.9 kB / 17.79 MB, free: 5.137 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00186/0.00186, allocations: 185.2 kB / 20.73 MB, free: 2.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.397/1.397, allocations: 225.6 MB / 249.1 MB, free: 3.621 MB / 190.1 MB " [Timeout remaining time 178] 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.Translational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001448/0.001448, allocations: 55.91 kB / 365.6 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09688/0.09833, allocations: 52.13 MB / 417.8 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.EddyCurrentBrake): time 0.00303/0.1014, allocations: 1.795 MB / 419.6 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00106/0.1024, allocations: 0.6505 MB / 420.2 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.47e-05/0.1025, allocations: 0 / 420.2 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001176/0.1026, allocations: 15.86 kB / 420.2 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.797e-05/0.1027, allocations: 39.64 kB / 420.3 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002191/0.1029, allocations: 47.88 kB / 420.3 MB, free: 10.06 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001919/0.1031, allocations: 127.4 kB / 420.4 MB, free: 9.934 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001178/0.1032, allocations: 13.41 kB / 420.4 MB, free: 9.918 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.192e-05/0.1033, allocations: 55.77 kB / 420.5 MB, free: 9.863 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.488e-05/0.1034, allocations: 47.78 kB / 420.5 MB, free: 9.816 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.861e-05/0.1034, allocations: 8 kB / 420.6 MB, free: 9.809 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.681e-05/0.1035, allocations: 24 kB / 420.6 MB, free: 9.785 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.26e-05/0.1035, allocations: 15.92 kB / 420.6 MB, free: 9.77 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.406e-05/0.1036, allocations: 55.73 kB / 420.7 MB, free: 9.715 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002239/0.1038, allocations: 131.5 kB / 420.8 MB, free: 9.586 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.1038, allocations: 3.938 kB / 420.8 MB, free: 9.582 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1038, allocations: 0 / 420.8 MB, free: 9.582 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.1038, allocations: 0 / 420.8 MB, free: 9.582 MB / 350.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.0006088/0.1044, allocations: 419.1 kB / 421.2 MB, free: 9.125 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.1044, allocations: 8.031 kB / 421.2 MB, free: 9.117 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.686e-05/0.1045, allocations: 38.75 kB / 421.2 MB, free: 9.07 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001853/0.1047, allocations: 32.83 kB / 421.3 MB, free: 9.039 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002804/0.105, allocations: 192.2 kB / 421.5 MB, free: 8.812 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.937e-05/0.105, allocations: 8.562 kB / 421.5 MB, free: 8.805 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.304e-05/0.105, allocations: 16.12 kB / 421.5 MB, free: 8.789 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002151/0.1052, allocations: 93.58 kB / 421.6 MB, free: 8.691 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.1052, allocations: 0 / 421.6 MB, free: 8.691 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.452e-05/0.1053, allocations: 8 kB / 421.6 MB, free: 8.684 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.1053, allocations: 0 / 421.6 MB, free: 8.684 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001479/0.1054, allocations: 71.91 kB / 421.7 MB, free: 8.613 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007401/0.1062, allocations: 447.7 kB / 422.1 MB, free: 8.121 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003109/0.1065, allocations: 90.64 kB / 422.2 MB, free: 8.023 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.043e-05/0.1065, allocations: 28.86 kB / 422.2 MB, free: 7.992 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.702e-05/0.1065, allocations: 11.92 kB / 422.2 MB, free: 7.98 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.678e-05/0.1066, allocations: 34.56 kB / 422.2 MB, free: 7.938 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.112e-06/0.1066, allocations: 0 / 422.2 MB, free: 7.938 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.001364/0.1079, allocations: 0.5344 MB / 422.8 MB, free: 7.332 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/0.108, allocations: 55.41 kB / 422.8 MB, free: 7.266 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000112/0.1081, allocations: 126 kB / 423 MB, free: 7.129 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.887e-05/0.1081, allocations: 29.7 kB / 423 MB, free: 7.094 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.472e-05/0.1082, allocations: 99.98 kB / 423.1 MB, free: 6.992 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.037e-05/0.1082, allocations: 51.58 kB / 423.1 MB, free: 6.941 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.841e-05/0.1083, allocations: 37.7 kB / 423.2 MB, free: 6.898 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.1084, allocations: 318.8 kB / 423.5 MB, free: 6.578 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.608e-05/0.1085, allocations: 27.98 kB / 423.5 MB, free: 6.551 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.268e-05/0.1085, allocations: 59.33 kB / 423.6 MB, free: 6.48 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001441/0.1087, allocations: 96.25 kB / 423.7 MB, free: 6.375 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.1087, allocations: 4 kB / 423.7 MB, free: 6.371 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002082/0.1089, allocations: 141.4 kB / 423.8 MB, free: 6.227 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.1089, allocations: 4 kB / 423.8 MB, free: 6.223 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.1089, allocations: 0 / 423.8 MB, free: 6.223 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.615e-05/0.109, allocations: 4 kB / 423.8 MB, free: 6.219 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001365/0.1091, allocations: 27.98 kB / 423.8 MB, free: 6.191 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/0.1091, allocations: 7.938 kB / 423.9 MB, free: 6.184 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.888e-05/0.1092, allocations: 8.047 kB / 423.9 MB, free: 6.176 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.488e-06/0.1092, allocations: 8 kB / 423.9 MB, free: 6.168 MB / 350.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.897e-05/0.1093, allocations: 126.4 kB / 424 MB, free: 6.035 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.187e-05/0.1093, allocations: 11.95 kB / 424 MB, free: 6.023 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.369e-05/0.1093, allocations: 12.38 kB / 424 MB, free: 6.012 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.1093, allocations: 0 / 424 MB, free: 6.012 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.738e-06/0.1094, allocations: 7.938 kB / 424 MB, free: 6.004 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.1094, allocations: 3.938 kB / 424 MB, free: 6 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005477/0.1099, allocations: 424.1 kB / 424.4 MB, free: 5.523 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.1099, allocations: 4 kB / 424.4 MB, free: 5.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001464/0.1101, allocations: 23.98 kB / 424.5 MB, free: 5.496 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.444e-06/0.1101, allocations: 7.938 kB / 424.5 MB, free: 5.488 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.1101, allocations: 0 / 424.5 MB, free: 5.488 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.1101, allocations: 0 / 424.5 MB, free: 5.488 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.1101, allocations: 7.938 kB / 424.5 MB, free: 5.48 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002953/0.1104, allocations: 253.2 kB / 424.7 MB, free: 5.211 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.298e-05/0.1104, allocations: 89.03 kB / 424.8 MB, free: 5.105 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.081e-05/0.1104, allocations: 4 kB / 424.8 MB, free: 5.102 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.472e-05/0.1105, allocations: 4 kB / 424.8 MB, free: 5.098 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.144e-05/0.1105, allocations: 4 kB / 424.8 MB, free: 5.094 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.346e-06/0.1106, allocations: 7.984 kB / 424.8 MB, free: 5.086 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6e-05/0.1106, allocations: 102.1 kB / 424.9 MB, free: 4.988 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1106, allocations: 0 / 424.9 MB, free: 4.988 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002471/0.1109, allocations: 27.94 kB / 425 MB, free: 4.961 MB / 350.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.0005757/0.1114, allocations: 0.7842 MB / 425.7 MB, free: 4.145 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001767/0.1116, allocations: 79.95 kB / 425.8 MB, free: 4.066 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1116, allocations: 0 / 425.8 MB, free: 4.066 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.64e-05/0.1117, allocations: 35.92 kB / 425.9 MB, free: 4.031 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003234/0.112, allocations: 25.5 kB / 425.9 MB, free: 4.012 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00201/0.114, allocations: 1.826 MB / 427.7 MB, free: 2.082 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003321/0.1143, allocations: 0.708 MB / 428.4 MB, free: 1.348 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.788e-05/0.1144, allocations: 8.875 kB / 428.4 MB, free: 1.336 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.343e-05/0.1145, allocations: 31.42 kB / 428.5 MB, free: 1.305 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1145, allocations: 0 / 428.5 MB, free: 1.305 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02478/0.1392, allocations: 2.607 MB / 431.1 MB, free: 14.81 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.043/8.183, allocations: 11.2 kB / 431.1 MB, free: 14.8 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_EddyCurrentBrake.fmu > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/Translational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.EddyCurrentBrake.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.586919908877462]