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.001347/0.001347, allocations: 111.7 kB / 17.73 MB, free: 5.312 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.001378/0.001378, allocations: 188.2 kB / 18.67 MB, free: 4.387 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.422/1.422, allocations: 205.1 MB / 224.5 MB, free: 12.22 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.001846/0.001846, allocations: 55.92 kB / 328 MB, free: 3.805 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09774/0.0996, allocations: 46.62 MB / 374.6 MB, free: 5.074 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.EddyCurrentBrake): time 0.00358/0.1032, allocations: 1.759 MB / 376.4 MB, free: 3.305 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001336/0.1046, allocations: 0.694 MB / 377.1 MB, free: 2.602 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000129/0.1047, allocations: 0 / 377.1 MB, free: 2.602 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000147/0.1049, allocations: 15.8 kB / 377.1 MB, free: 2.586 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001101/0.1051, allocations: 31.7 kB / 377.1 MB, free: 2.555 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003338/0.1054, allocations: 51.81 kB / 377.2 MB, free: 2.504 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002543/0.1057, allocations: 119.4 kB / 377.3 MB, free: 2.387 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001602/0.1058, allocations: 31.97 kB / 377.3 MB, free: 2.355 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001047/0.106, allocations: 43.84 kB / 377.4 MB, free: 2.312 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001221/0.1061, allocations: 43.8 kB / 377.4 MB, free: 2.27 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.379e-05/0.1061, allocations: 8 kB / 377.4 MB, free: 2.262 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001191/0.1062, allocations: 27.98 kB / 377.5 MB, free: 2.234 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.215e-05/0.1063, allocations: 15.92 kB / 377.5 MB, free: 2.219 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.312e-05/0.1064, allocations: 55.72 kB / 377.5 MB, free: 2.164 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002994/0.1067, allocations: 131.5 kB / 377.7 MB, free: 2.035 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1067, allocations: 0 / 377.7 MB, free: 2.035 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1067, allocations: 0 / 377.7 MB, free: 2.035 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.536e-06/0.1067, allocations: 4 kB / 377.7 MB, free: 2.031 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.0006791/0.1074, allocations: 411.1 kB / 378.1 MB, free: 1.582 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/0.1075, allocations: 12.03 kB / 378.1 MB, free: 1.57 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.523e-05/0.1075, allocations: 38.75 kB / 378.1 MB, free: 1.523 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002296/0.1078, allocations: 24.86 kB / 378.1 MB, free: 1.5 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003291/0.1081, allocations: 192.2 kB / 378.3 MB, free: 1.273 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.037e-05/0.1081, allocations: 12.56 kB / 378.3 MB, free: 1.262 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.676e-05/0.1082, allocations: 16.11 kB / 378.3 MB, free: 1.246 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000217/0.1084, allocations: 89.66 kB / 378.4 MB, free: 1.152 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/0.1084, allocations: 3.953 kB / 378.4 MB, free: 1.148 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.419e-05/0.1084, allocations: 4 kB / 378.4 MB, free: 1.145 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.1084, allocations: 4 kB / 378.4 MB, free: 1.141 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001442/0.1086, allocations: 55.91 kB / 378.5 MB, free: 1.086 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008586/0.1095, allocations: 489.3 kB / 379 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002836/0.1098, allocations: 86.52 kB / 379.1 MB, free: 464 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.532e-05/0.1098, allocations: 24.89 kB / 379.1 MB, free: 436 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.436e-05/0.1098, allocations: 4 kB / 379.1 MB, free: 432 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.1e-05/0.1099, allocations: 34.56 kB / 379.1 MB, free: 388 kB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 1.763e-06/0.1099, allocations: 4 kB / 379.1 MB, free: 384 kB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002675/0.1102, allocations: 93.72 kB / 379.2 MB, free: 284 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.672e-05/0.1102, allocations: 63.34 kB / 379.3 MB, free: 208 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001312/0.1104, allocations: 117.8 kB / 379.4 MB, free: 80 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.875e-05/0.1104, allocations: 33.7 kB / 379.4 MB, free: 40 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.1872/0.2976, allocations: 99.56 kB / 379.5 MB, free: 12.91 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.498e-05/0.2977, allocations: 35.84 kB / 379.6 MB, free: 12.9 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.886e-05/0.2978, allocations: 25.77 kB / 379.6 MB, free: 12.89 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.115e-05/0.2978, allocations: 320.4 kB / 379.9 MB, free: 12.57 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.756e-05/0.2979, allocations: 20.22 kB / 379.9 MB, free: 12.57 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.582e-05/0.298, allocations: 50.5 kB / 380 MB, free: 12.54 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001091/0.2981, allocations: 85.73 kB / 380.1 MB, free: 12.51 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.2981, allocations: 0 / 380.1 MB, free: 12.51 MB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001915/0.2983, allocations: 108.7 kB / 380.2 MB, free: 12.48 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.2983, allocations: 6.672 kB / 380.2 MB, free: 12.48 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/0.2983, allocations: 1.375 kB / 380.2 MB, free: 12.48 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.941e-05/0.2984, allocations: 7.312 kB / 380.2 MB, free: 12.48 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001448/0.2985, allocations: 29.69 kB / 380.2 MB, free: 12.48 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.2985, allocations: 2.625 kB / 380.2 MB, free: 12.48 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.184e-05/0.2986, allocations: 9.078 kB / 380.2 MB, free: 12.47 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.045e-05/0.2986, allocations: 8.672 kB / 380.2 MB, free: 12.47 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 7.056e-05/0.2987, allocations: 126.6 kB / 380.3 MB, free: 12.36 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.779e-05/0.2987, allocations: 7.078 kB / 380.4 MB, free: 12.35 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.786e-05/0.2988, allocations: 18.58 kB / 380.4 MB, free: 12.34 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.2988, allocations: 4.047 kB / 380.4 MB, free: 12.34 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.2988, allocations: 0 / 380.4 MB, free: 12.34 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.2988, allocations: 0.6094 kB / 380.4 MB, free: 12.34 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002107/0.299, allocations: 197.8 kB / 380.6 MB, free: 12.16 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.299, allocations: 5.031 kB / 380.6 MB, free: 12.16 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001291/0.2992, allocations: 22.72 kB / 380.6 MB, free: 12.16 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.2992, allocations: 5.406 kB / 380.6 MB, free: 12.16 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.2992, allocations: 3.938 kB / 380.6 MB, free: 12.15 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.2992, allocations: 2.062 kB / 380.6 MB, free: 12.15 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.2992, allocations: 0 / 380.6 MB, free: 12.15 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002121/0.2994, allocations: 202.1 kB / 380.8 MB, free: 12.02 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.575e-05/0.2995, allocations: 85.44 kB / 380.9 MB, free: 11.92 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.918e-05/0.2995, allocations: 9.484 kB / 380.9 MB, free: 11.92 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.968e-05/0.2996, allocations: 1.5 kB / 380.9 MB, free: 11.92 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.057e-05/0.2996, allocations: 6.75 kB / 380.9 MB, free: 11.92 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-06/0.2996, allocations: 2.594 kB / 380.9 MB, free: 11.92 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.374e-05/0.2997, allocations: 99.73 kB / 381 MB, free: 11.84 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2997, allocations: 3.391 kB / 381 MB, free: 11.84 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000248/0.2999, allocations: 26.31 kB / 381 MB, free: 11.84 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.0003567/0.3003, allocations: 0.7341 MB / 381.8 MB, free: 11.18 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001648/0.3005, allocations: 68.77 kB / 381.8 MB, free: 11.18 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.3005, allocations: 0 / 381.8 MB, free: 11.18 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.805e-05/0.3005, allocations: 33.53 kB / 381.9 MB, free: 11.18 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003235/0.3008, allocations: 16.95 kB / 381.9 MB, free: 11.18 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001423/0.3023, allocations: 1.703 MB / 383.6 MB, free: 9.812 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001502/0.3024, allocations: 0.7019 MB / 384.3 MB, free: 9.113 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 5.577e-05/0.3025, allocations: 11.88 kB / 384.3 MB, free: 9.109 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.672e-05/0.3026, allocations: 26.19 kB / 384.3 MB, free: 9.102 MB / 318.1 MB Notification: Performance of SimCode: time 3.8e-07/0.3026, allocations: 0 / 384.3 MB, free: 9.102 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02489/0.3275, allocations: 2.297 MB / 386.6 MB, free: 8.523 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.122/8.45, allocations: 13.64 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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Mechanics.Rotational.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_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.csv","/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