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.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.001405/0.001405, allocations: 121.5 kB / 19.17 MB, free: 3.898 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.001498/0.001498, allocations: 203.9 kB / 22.12 MB, free: 0.9609 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.358/1.358, allocations: 207.6 MB / 232.5 MB, free: 3.949 MB / 174.1 MB " [Timeout remaining time 179] 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.Rotational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_EddyCurrentBrake",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_EddyCurrentBrake",fmuType="cs",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.0018/0.0018, allocations: 60.3 kB / 343 MB, free: 9.984 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09392/0.09572, allocations: 49.13 MB / 392.1 MB, free: 8.691 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.003072/0.09879, allocations: 1.763 MB / 393.9 MB, free: 6.922 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001121/0.09991, allocations: 0.6901 MB / 394.6 MB, free: 6.223 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.577e-05/0.1, allocations: 7.938 kB / 394.6 MB, free: 6.215 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001159/0.1001, allocations: 15.8 kB / 394.6 MB, free: 6.199 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.975e-05/0.1002, allocations: 39.69 kB / 394.6 MB, free: 6.16 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002387/0.1004, allocations: 43.83 kB / 394.7 MB, free: 6.117 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001897/0.1006, allocations: 123.4 kB / 394.8 MB, free: 5.996 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.1007, allocations: 28.2 kB / 394.8 MB, free: 5.969 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.592e-05/0.1008, allocations: 43.84 kB / 394.9 MB, free: 5.926 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.775e-05/0.1009, allocations: 43.84 kB / 394.9 MB, free: 5.883 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.1009, allocations: 11.94 kB / 394.9 MB, free: 5.871 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.952e-05/0.101, allocations: 24 kB / 394.9 MB, free: 5.848 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.067e-05/0.101, allocations: 11.98 kB / 395 MB, free: 5.836 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.342e-05/0.1011, allocations: 55.67 kB / 395 MB, free: 5.781 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002156/0.1013, allocations: 135.5 kB / 395.1 MB, free: 5.648 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.1013, allocations: 0 / 395.1 MB, free: 5.648 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1013, allocations: 0 / 395.1 MB, free: 5.648 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.348e-06/0.1013, allocations: 0 / 395.1 MB, free: 5.648 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.0005646/0.1019, allocations: 407.2 kB / 395.5 MB, free: 5.203 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.1019, allocations: 12.03 kB / 395.5 MB, free: 5.191 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.501e-05/0.1019, allocations: 4.375 kB / 395.6 MB, free: 5.188 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.219e-05/0.102, allocations: 46.73 kB / 395.6 MB, free: 5.133 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001691/0.1021, allocations: 24.88 kB / 395.6 MB, free: 5.109 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002543/0.1024, allocations: 192.2 kB / 395.8 MB, free: 4.883 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.677e-05/0.1024, allocations: 16.31 kB / 395.8 MB, free: 4.867 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.261e-05/0.1024, allocations: 12 kB / 395.8 MB, free: 4.855 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001981/0.1026, allocations: 89.66 kB / 395.9 MB, free: 4.762 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.416e-05/0.1027, allocations: 3.953 kB / 395.9 MB, free: 4.758 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.655e-05/0.1027, allocations: 8 kB / 395.9 MB, free: 4.75 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-06/0.1027, allocations: 0 / 395.9 MB, free: 4.75 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001245/0.1028, allocations: 59.91 kB / 396 MB, free: 4.691 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007431/0.1035, allocations: 485.2 kB / 396.5 MB, free: 4.156 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002622/0.1038, allocations: 78.53 kB / 396.5 MB, free: 4.07 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.082e-05/0.1039, allocations: 28.89 kB / 396.6 MB, free: 4.039 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.001e-05/0.1039, allocations: 3.938 kB / 396.6 MB, free: 4.035 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.728e-05/0.1039, allocations: 34.56 kB / 396.6 MB, free: 3.992 MB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 1.232e-06/0.1039, allocations: 0 / 396.6 MB, free: 3.992 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002521/0.1042, allocations: 109.8 kB / 396.7 MB, free: 3.879 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.644e-05/0.1042, allocations: 51.41 kB / 396.8 MB, free: 3.816 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00011/0.1043, allocations: 125.7 kB / 396.9 MB, free: 3.684 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.809e-05/0.1043, allocations: 25.7 kB / 396.9 MB, free: 3.652 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.313e-05/0.1044, allocations: 111.9 kB / 397 MB, free: 3.539 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.868e-05/0.1044, allocations: 31.73 kB / 397.1 MB, free: 3.508 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.879e-05/0.1045, allocations: 25.72 kB / 397.1 MB, free: 3.477 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.1046, allocations: 326.8 kB / 397.4 MB, free: 3.148 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.038e-05/0.1047, allocations: 20 kB / 397.4 MB, free: 3.129 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.881e-05/0.1047, allocations: 47.42 kB / 397.5 MB, free: 3.07 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000129/0.1049, allocations: 83.36 kB / 397.5 MB, free: 2.977 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.1049, allocations: 0 / 397.5 MB, free: 2.977 MB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001689/0.105, allocations: 105.5 kB / 397.7 MB, free: 2.867 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.1051, allocations: 8 kB / 397.7 MB, free: 2.859 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.1051, allocations: 320 / 397.7 MB, free: 2.859 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.1051, allocations: 3.938 kB / 397.7 MB, free: 2.855 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001196/0.1052, allocations: 35.92 kB / 397.7 MB, free: 2.82 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.1052, allocations: 0 / 397.7 MB, free: 2.82 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.696e-05/0.1053, allocations: 11.89 kB / 397.7 MB, free: 2.809 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.824e-06/0.1053, allocations: 8.078 kB / 397.7 MB, free: 2.801 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 0.0001047/0.1054, allocations: 125.8 kB / 397.8 MB, free: 2.668 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.355e-05/0.1054, allocations: 11.94 kB / 397.9 MB, free: 2.656 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.968e-05/0.1054, allocations: 12.31 kB / 397.9 MB, free: 2.645 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.1054, allocations: 0 / 397.9 MB, free: 2.645 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.1054, allocations: 0 / 397.9 MB, free: 2.645 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.1055, allocations: 0 / 397.9 MB, free: 2.645 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002291/0.1057, allocations: 201.6 kB / 398.1 MB, free: 2.398 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.1057, allocations: 0 / 398.1 MB, free: 2.398 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001308/0.1058, allocations: 28.03 kB / 398.1 MB, free: 2.371 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.1058, allocations: 7.938 kB / 398.1 MB, free: 2.363 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.503e-05/0.1058, allocations: 15.86 kB / 398.1 MB, free: 2.348 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.1058, allocations: 0 / 398.1 MB, free: 2.348 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1058, allocations: 0 / 398.1 MB, free: 2.348 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002494/0.1061, allocations: 199.5 kB / 398.3 MB, free: 2.137 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.982e-05/0.1061, allocations: 89 kB / 398.4 MB, free: 2.031 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.831e-05/0.1062, allocations: 3.938 kB / 398.4 MB, free: 2.027 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.179e-05/0.1062, allocations: 0 / 398.4 MB, free: 2.027 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.722e-05/0.1062, allocations: 8 kB / 398.4 MB, free: 2.02 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.412e-06/0.1063, allocations: 4.031 kB / 398.4 MB, free: 2.016 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.281e-05/0.1063, allocations: 95.28 kB / 398.5 MB, free: 1.922 MB / 318.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1063, allocations: 0 / 398.5 MB, free: 1.922 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002402/0.1066, allocations: 23.95 kB / 398.5 MB, free: 1.898 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.0005451/0.1071, allocations: 0.7398 MB / 399.3 MB, free: 1.133 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001567/0.1073, allocations: 59.86 kB / 399.3 MB, free: 1.074 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1073, allocations: 0 / 399.3 MB, free: 1.074 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.676e-05/0.1073, allocations: 31.92 kB / 399.4 MB, free: 1.043 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003123/0.1076, allocations: 12 kB / 399.4 MB, free: 1.031 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001975/0.1096, allocations: 1.716 MB / 401.1 MB, free: 15.21 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003441/0.1099, allocations: 0.7002 MB / 401.8 MB, free: 14.49 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.954e-05/0.11, allocations: 12.42 kB / 401.8 MB, free: 14.48 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.877e-05/0.1101, allocations: 27.44 kB / 401.8 MB, free: 14.45 MB / 334.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1101, allocations: 0 / 401.8 MB, free: 14.45 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02008/0.1301, allocations: 2.35 MB / 404.2 MB, free: 12.05 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.925/8.055, allocations: 15.86 kB / 404.2 MB, free: 12.04 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/Rotational/Examples/EddyCurrentBrake/EddyCurrentBrake.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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.342239255958702]