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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001882/0.001882, allocations: 120 kB / 18.45 MB, free: 4.605 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.002248/0.002248, allocations: 190.9 kB / 21.39 MB, free: 1.672 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.404/1.404, allocations: 207.6 MB / 231.8 MB, free: 4.02 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.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"}) [Timeout 660] "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.001674/0.001674, allocations: 55.92 kB / 342.2 MB, free: 10.05 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09437/0.09605, allocations: 49.13 MB / 391.4 MB, free: 8.758 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.003038/0.09909, allocations: 1.769 MB / 393.1 MB, free: 6.98 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00108/0.1002, allocations: 0.6902 MB / 393.8 MB, free: 6.281 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.355e-05/0.1002, allocations: 3.938 kB / 393.8 MB, free: 6.277 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001165/0.1004, allocations: 11.86 kB / 393.8 MB, free: 6.266 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.912e-05/0.1004, allocations: 47.69 kB / 393.9 MB, free: 6.219 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002098/0.1006, allocations: 39.83 kB / 393.9 MB, free: 6.18 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001735/0.1008, allocations: 119.4 kB / 394 MB, free: 6.062 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.1009, allocations: 24.2 kB / 394.1 MB, free: 6.039 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.6e-05/0.101, allocations: 51.78 kB / 394.1 MB, free: 5.988 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.54e-05/0.1011, allocations: 43.78 kB / 394.2 MB, free: 5.945 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.829e-05/0.1011, allocations: 8 kB / 394.2 MB, free: 5.938 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.096e-05/0.1012, allocations: 27.94 kB / 394.2 MB, free: 5.91 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.91e-05/0.1012, allocations: 11.98 kB / 394.2 MB, free: 5.898 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.013e-05/0.1013, allocations: 63.72 kB / 394.3 MB, free: 5.836 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002088/0.1015, allocations: 127.5 kB / 394.4 MB, free: 5.711 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1015, allocations: 0 / 394.4 MB, free: 5.711 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1015, allocations: 0 / 394.4 MB, free: 5.711 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.1015, allocations: 0 / 394.4 MB, free: 5.711 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.0005647/0.102, allocations: 407.2 kB / 394.8 MB, free: 5.266 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.1021, allocations: 12.03 kB / 394.8 MB, free: 5.254 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.93e-05/0.1021, allocations: 38.73 kB / 394.8 MB, free: 5.207 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001689/0.1023, allocations: 28.88 kB / 394.9 MB, free: 5.18 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002247/0.1025, allocations: 196.2 kB / 395.1 MB, free: 4.949 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.1025, allocations: 8.562 kB / 395.1 MB, free: 4.941 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.731e-05/0.1026, allocations: 12.12 kB / 395.1 MB, free: 4.93 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001755/0.1027, allocations: 93.66 kB / 395.2 MB, free: 4.832 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.53e-05/0.1028, allocations: 7.953 kB / 395.2 MB, free: 4.824 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.1028, allocations: 4 kB / 395.2 MB, free: 4.82 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.1028, allocations: 0 / 395.2 MB, free: 4.82 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001213/0.1029, allocations: 63.84 kB / 395.2 MB, free: 4.758 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007302/0.1036, allocations: 485.4 kB / 395.7 MB, free: 4.223 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002291/0.1039, allocations: 78.59 kB / 395.8 MB, free: 4.137 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.383e-05/0.1039, allocations: 24.89 kB / 395.8 MB, free: 4.109 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.179e-05/0.1039, allocations: 4 kB / 395.8 MB, free: 4.105 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.569e-05/0.1039, allocations: 38.56 kB / 395.9 MB, free: 4.059 MB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 1.242e-06/0.1039, allocations: 3.938 kB / 395.9 MB, free: 4.055 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002183/0.1042, allocations: 97.72 kB / 396 MB, free: 3.953 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.428e-05/0.1042, allocations: 63.33 kB / 396 MB, free: 3.879 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001/0.1043, allocations: 117.8 kB / 396.1 MB, free: 3.754 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.079e-05/0.1043, allocations: 29.7 kB / 396.2 MB, free: 3.719 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.896e-05/0.1044, allocations: 115.9 kB / 396.3 MB, free: 3.602 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.412e-05/0.1044, allocations: 31.73 kB / 396.3 MB, free: 3.57 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.153e-05/0.1045, allocations: 21.72 kB / 396.3 MB, free: 3.543 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.1046, allocations: 318.8 kB / 396.6 MB, free: 3.223 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.16e-05/0.1046, allocations: 20 kB / 396.7 MB, free: 3.203 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.78e-05/0.1047, allocations: 55.41 kB / 396.7 MB, free: 3.137 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001209/0.1048, allocations: 83.3 kB / 396.8 MB, free: 3.043 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.1048, allocations: 0 / 396.8 MB, free: 3.043 MB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001659/0.105, allocations: 113.5 kB / 396.9 MB, free: 2.926 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.105, allocations: 4 kB / 396.9 MB, free: 2.922 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.105, allocations: 0 / 396.9 MB, free: 2.922 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.105, allocations: 4 kB / 396.9 MB, free: 2.918 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001134/0.1051, allocations: 35.95 kB / 396.9 MB, free: 2.883 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.1051, allocations: 0 / 396.9 MB, free: 2.883 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.032e-05/0.1052, allocations: 15.89 kB / 397 MB, free: 2.867 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.885e-06/0.1052, allocations: 4 kB / 397 MB, free: 2.863 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 (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 8.581e-05/0.1053, allocations: 113.8 kB / 397.1 MB, free: 2.742 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.202e-05/0.1053, allocations: 11.94 kB / 397.1 MB, free: 2.73 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.391e-05/0.1054, allocations: 12.38 kB / 397.1 MB, free: 2.719 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.1054, allocations: 7.938 kB / 397.1 MB, free: 2.711 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.1054, allocations: 0 / 397.1 MB, free: 2.711 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.1054, allocations: 4 kB / 397.1 MB, free: 2.707 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002213/0.1056, allocations: 197.6 kB / 397.3 MB, free: 2.465 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.1056, allocations: 0 / 397.3 MB, free: 2.465 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001219/0.1057, allocations: 23.94 kB / 397.3 MB, free: 2.441 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.1057, allocations: 0 / 397.3 MB, free: 2.441 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.337e-05/0.1057, allocations: 7.984 kB / 397.3 MB, free: 2.434 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.1058, allocations: 3.938 kB / 397.3 MB, free: 2.43 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1058, allocations: 3.938 kB / 397.3 MB, free: 2.426 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002396/0.106, allocations: 203.8 kB / 397.5 MB, free: 2.211 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.833e-05/0.1061, allocations: 85 kB / 397.6 MB, free: 2.109 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.049e-05/0.1061, allocations: 8 kB / 397.6 MB, free: 2.102 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.325e-05/0.1061, allocations: 3.938 kB / 397.6 MB, free: 2.098 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.328e-05/0.1062, allocations: 96 / 397.6 MB, free: 2.098 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.694e-06/0.1062, allocations: 11.97 kB / 397.7 MB, free: 2.086 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.884e-05/0.1062, allocations: 91.22 kB / 397.7 MB, free: 1.996 MB / 318.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1062, allocations: 0 / 397.7 MB, free: 1.996 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002302/0.1065, allocations: 27.95 kB / 397.8 MB, free: 1.969 MB / 318.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.0005406/0.107, allocations: 0.7399 MB / 398.5 MB, free: 1.203 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001429/0.1071, allocations: 59.92 kB / 398.6 MB, free: 1.145 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1071, allocations: 0 / 398.6 MB, free: 1.145 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.036e-05/0.1072, allocations: 27.92 kB / 398.6 MB, free: 1.117 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003042/0.1075, allocations: 28.03 kB / 398.6 MB, free: 1.09 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001822/0.1093, allocations: 1.708 MB / 400.3 MB, free: 15.28 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003329/0.1096, allocations: 0.7041 MB / 401 MB, free: 14.55 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.577e-05/0.1097, allocations: 12.41 kB / 401 MB, free: 14.54 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.003e-05/0.1097, allocations: 23.44 kB / 401.1 MB, free: 14.52 MB / 334.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1097, allocations: 0 / 401.1 MB, free: 14.52 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03662/0.1464, allocations: 2.309 MB / 403.4 MB, free: 12.16 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.981/8.127, allocations: 7.969 kB / 403.4 MB, free: 12.15 MB / 334.1 MB " [Timeout remaining time 652] (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/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 --stepSize=0.001 --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) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.Rotational.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.506843590643257]