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) 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 3.2.3+maint.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00141/0.00141, allocations: 114.5 kB / 17.73 MB, free: 5.34 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.001465/0.001465, allocations: 183 kB / 18.66 MB, free: 4.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.402/1.402, allocations: 205.1 MB / 224.5 MB, free: 12.23 MB / 190.1 MB 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.001359/0.001359, allocations: 52.34 kB / 328 MB, free: 3.816 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09648/0.09786, allocations: 46.63 MB / 374.6 MB, free: 5.078 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.003467/0.1014, allocations: 1.755 MB / 376.4 MB, free: 3.312 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001264/0.1027, allocations: 0.6901 MB / 377.1 MB, free: 2.613 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001233/0.1028, allocations: 0 / 377.1 MB, free: 2.613 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001422/0.103, allocations: 19.86 kB / 377.1 MB, free: 2.594 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.716e-05/0.1031, allocations: 35.64 kB / 377.1 MB, free: 2.559 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002884/0.1034, allocations: 39.88 kB / 377.2 MB, free: 2.52 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000194/0.1036, allocations: 123.4 kB / 377.3 MB, free: 2.398 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001291/0.1037, allocations: 24 kB / 377.3 MB, free: 2.375 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.275e-05/0.1038, allocations: 51.78 kB / 377.4 MB, free: 2.324 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001062/0.104, allocations: 47.78 kB / 377.4 MB, free: 2.277 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.952e-05/0.104, allocations: 8 kB / 377.4 MB, free: 2.27 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.963e-05/0.1041, allocations: 27.98 kB / 377.4 MB, free: 2.242 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.137e-05/0.1041, allocations: 19.92 kB / 377.5 MB, free: 2.223 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.102e-05/0.1042, allocations: 47.8 kB / 377.5 MB, free: 2.176 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002208/0.1044, allocations: 127.9 kB / 377.6 MB, free: 2.051 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.1044, allocations: 0 / 377.6 MB, free: 2.051 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1044, allocations: 0 / 377.6 MB, free: 2.051 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.427e-05/0.1044, allocations: 3.984 kB / 377.6 MB, free: 2.047 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.0006423/0.1051, allocations: 407.3 kB / 378 MB, free: 1.602 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.1051, allocations: 8.031 kB / 378.1 MB, free: 1.594 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.336e-05/0.1052, allocations: 46.73 kB / 378.1 MB, free: 1.539 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002169/0.1054, allocations: 28.73 kB / 378.1 MB, free: 1.512 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003568/0.1058, allocations: 192.1 kB / 378.3 MB, free: 1.285 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.674e-05/0.1058, allocations: 8.562 kB / 378.3 MB, free: 1.277 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.806e-05/0.1059, allocations: 20.06 kB / 378.3 MB, free: 1.258 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002089/0.1061, allocations: 89.66 kB / 378.4 MB, free: 1.164 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.549e-05/0.1061, allocations: 3.984 kB / 378.4 MB, free: 1.16 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/0.1061, allocations: 4 kB / 378.4 MB, free: 1.156 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.461e-06/0.1061, allocations: 4 kB / 378.4 MB, free: 1.152 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001347/0.1063, allocations: 59.91 kB / 378.5 MB, free: 1.094 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007958/0.1071, allocations: 481.2 kB / 379 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002582/0.1074, allocations: 94.45 kB / 379.1 MB, free: 472 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.986e-05/0.1074, allocations: 32.89 kB / 379.1 MB, free: 436 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.391e-05/0.1074, allocations: 0 / 379.1 MB, free: 436 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.217e-05/0.1075, allocations: 30.56 kB / 379.1 MB, free: 396 kB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 1.022e-06/0.1075, allocations: 0 / 379.1 MB, free: 396 kB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002537/0.1077, allocations: 93.83 kB / 379.2 MB, free: 296 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.115e-05/0.1078, allocations: 59.34 kB / 379.3 MB, free: 224 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.606e-05/0.1079, allocations: 125.8 kB / 379.4 MB, free: 88 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.659e-05/0.1079, allocations: 29.7 kB / 379.4 MB, free: 52 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.1976/0.3055, allocations: 107.2 kB / 379.5 MB, free: 12.89 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.928e-05/0.3056, allocations: 28.11 kB / 379.6 MB, free: 12.88 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.907e-05/0.3056, allocations: 25.19 kB / 379.6 MB, free: 12.86 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.686e-05/0.3057, allocations: 322.8 kB / 379.9 MB, free: 12.55 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.489e-05/0.3058, allocations: 21.69 kB / 379.9 MB, free: 12.55 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.433e-05/0.3058, allocations: 47.77 kB / 380 MB, free: 12.52 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001166/0.306, allocations: 80.34 kB / 380 MB, free: 12.49 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.306, allocations: 3.594 kB / 380 MB, free: 12.49 MB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002085/0.3062, allocations: 111.9 kB / 380.2 MB, free: 12.45 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/0.3062, allocations: 6.344 kB / 380.2 MB, free: 12.45 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.3062, allocations: 1.094 kB / 380.2 MB, free: 12.45 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.39e-05/0.3063, allocations: 2.75 kB / 380.2 MB, free: 12.45 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000163/0.3064, allocations: 29.44 kB / 380.2 MB, free: 12.45 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.059e-05/0.3065, allocations: 2.172 kB / 380.2 MB, free: 12.45 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.82e-05/0.3066, allocations: 12.34 kB / 380.2 MB, free: 12.45 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.268e-05/0.3066, allocations: 2.75 kB / 380.2 MB, free: 12.45 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.0001123/0.3067, allocations: 127 kB / 380.3 MB, free: 12.33 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.567e-05/0.3067, allocations: 3.453 kB / 380.3 MB, free: 12.33 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.559e-05/0.3068, allocations: 16.75 kB / 380.4 MB, free: 12.32 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.3068, allocations: 2.125 kB / 380.4 MB, free: 12.32 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.305e-06/0.3068, allocations: 4 kB / 380.4 MB, free: 12.32 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/0.3068, allocations: 0.9844 kB / 380.4 MB, free: 12.32 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002101/0.307, allocations: 197.8 kB / 380.6 MB, free: 12.13 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.195e-06/0.307, allocations: 2.062 kB / 380.6 MB, free: 12.13 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001406/0.3072, allocations: 27.09 kB / 380.6 MB, free: 12.13 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.077e-06/0.3072, allocations: 1.375 kB / 380.6 MB, free: 12.13 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.224e-05/0.3072, allocations: 3.938 kB / 380.6 MB, free: 12.13 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.3072, allocations: 4.906 kB / 380.6 MB, free: 12.13 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.3072, allocations: 1.594 kB / 380.6 MB, free: 12.13 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002193/0.3075, allocations: 204.2 kB / 380.8 MB, free: 12 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.94e-05/0.3075, allocations: 87.06 kB / 380.9 MB, free: 11.89 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.877e-05/0.3075, allocations: 5.25 kB / 380.9 MB, free: 11.89 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.94e-05/0.3076, allocations: 5.375 kB / 380.9 MB, free: 11.89 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.17e-05/0.3076, allocations: 7.297 kB / 380.9 MB, free: 11.89 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.991e-06/0.3076, allocations: 1.844 kB / 380.9 MB, free: 11.89 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.464e-05/0.3077, allocations: 94.03 kB / 381 MB, free: 11.82 MB / 318.1 MB Notification: Performance of sort global known variables: time 6.11e-07/0.3077, allocations: 0 / 381 MB, free: 11.82 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002652/0.308, allocations: 25.92 kB / 381 MB, free: 11.82 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.0003518/0.3083, allocations: 0.7322 MB / 381.7 MB, free: 11.16 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001615/0.3085, allocations: 69.25 kB / 381.8 MB, free: 11.16 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.3085, allocations: 3.938 kB / 381.8 MB, free: 11.16 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.165e-05/0.3086, allocations: 28.12 kB / 381.8 MB, free: 11.16 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003406/0.3089, allocations: 21.06 kB / 381.9 MB, free: 11.15 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001497/0.3104, allocations: 1.704 MB / 383.6 MB, free: 9.793 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001367/0.3106, allocations: 0.6984 MB / 384.3 MB, free: 9.098 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.67e-05/0.3106, allocations: 11.52 kB / 384.3 MB, free: 9.094 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.05e-05/0.3107, allocations: 27.56 kB / 384.3 MB, free: 9.086 MB / 318.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3107, allocations: 3.938 kB / 384.3 MB, free: 9.082 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02201/0.3327, allocations: 2.316 MB / 386.6 MB, free: 8.52 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.668/8.001, allocations: 9.281 kB / 386.6 MB, free: 8.512 MB / 318.1 MB (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 --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) 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) Reference file matches