Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.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.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses",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.001382/0.001382, allocations: 114.4 kB / 17.74 MB, free: 5.355 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.001278/0.001277, allocations: 183.1 kB / 18.66 MB, free: 4.434 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.524/1.524, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.002028/0.002028, allocations: 47.92 kB / 328 MB, free: 3.805 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1138/0.1158, allocations: 46.62 MB / 374.7 MB, free: 5.078 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.2625/0.3784, allocations: 16.54 MB / 391.2 MB, free: 3.422 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01268/0.3911, allocations: 4.661 MB / 395.9 MB, free: 388 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005138/0.3963, allocations: 111.7 kB / 396 MB, free: 368 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01977/0.4161, allocations: 7.167 MB / 403.1 MB, free: 12.04 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009645/0.4258, allocations: 1.867 MB / 405 MB, free: 10.9 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006088/0.4319, allocations: 1.619 MB / 406.6 MB, free: 9.914 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01671/0.4486, allocations: 9.399 MB / 416 MB, free: 4.344 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04154/0.4902, allocations: 20.84 MB / 436.9 MB, free: 1.672 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01151/0.5018, allocations: 5.237 MB / 442.1 MB, free: 12.42 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01278/0.5146, allocations: 5.86 MB / 448 MB, free: 6.543 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005217/0.5199, allocations: 1.359 MB / 449.3 MB, free: 5.184 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007759/0.5277, allocations: 1.652 MB / 451 MB, free: 3.531 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005796/0.5335, allocations: 2.79 MB / 453.8 MB, free: 0.7344 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01417/0.5477, allocations: 5.354 MB / 459.1 MB, free: 11.36 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03041/0.5781, allocations: 18.23 MB / 477.3 MB, free: 9.074 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.5782, allocations: 4 kB / 477.3 MB, free: 9.07 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.5782, allocations: 0 / 477.3 MB, free: 9.07 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0006094/0.5788, allocations: 0 / 477.3 MB, free: 9.07 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2497 * Number of variables: 2497 Notification: Performance of Generate backend data structure: time 0.04483/0.6236, allocations: 12.32 MB / 489.7 MB, free: 12.65 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.915e-05/0.6237, allocations: 12.02 kB / 489.7 MB, free: 12.64 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006441/0.6302, allocations: 1.513 MB / 491.2 MB, free: 11.12 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03898/0.6692, allocations: 6.284 MB / 497.5 MB, free: 4.82 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0153/0.6846, allocations: 5.185 MB / 0.4909 GB, free: 15.57 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009149/0.6855, allocations: 0.6742 MB / 0.4915 GB, free: 14.9 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004858/0.6904, allocations: 0.8749 MB / 0.4924 GB, free: 14.02 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04484/0.7353, allocations: 14.71 MB / 0.5068 GB, free: 15.26 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004659/0.7358, allocations: 11.95 kB / 0.5068 GB, free: 15.25 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002967/0.7388, allocations: 376 kB / 0.5071 GB, free: 14.88 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005866/0.7394, allocations: 499.2 kB / 0.5076 GB, free: 14.39 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03381/0.7732, allocations: 13.53 MB / 0.5208 GB, free: 0.832 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5378/1.311, allocations: 44.21 MB / 0.564 GB, free: 120.6 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01355/1.325, allocations: 11.65 MB / 0.5754 GB, free: 113.8 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005548/1.33, allocations: 3.17 MB / 0.5785 GB, free: 113.8 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005006/1.331, allocations: 169.6 kB / 0.5786 GB, free: 113.7 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.641e-05/1.331, allocations: 76.09 kB / 0.5787 GB, free: 113.7 MB / 478.1 MB Notification: Performance of pre-optimization done (n=409): time 6.692e-06/1.331, allocations: 1.25 kB / 0.5787 GB, free: 113.7 MB / 478.1 MB Notification: Performance of matching and sorting (n=409): time 0.02226/1.353, allocations: 9.614 MB / 0.5881 GB, free: 111.7 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.281e-05/1.353, allocations: 119 kB / 0.5882 GB, free: 111.6 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004945/1.358, allocations: 3.161 MB / 0.5913 GB, free: 110.6 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006695/1.359, allocations: 93.05 kB / 0.5914 GB, free: 110.5 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002219/1.361, allocations: 3.827 MB / 0.5951 GB, free: 108.2 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001504/1.363, allocations: 1.467 MB / 0.5965 GB, free: 107.3 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001547/1.364, allocations: 1.13 MB / 0.5976 GB, free: 106.7 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 5.216e-05/1.364, allocations: 314.8 kB / 0.5979 GB, free: 106.4 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003717/1.368, allocations: 2.837 MB / 0.6007 GB, free: 105.4 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004597/1.373, allocations: 4.895 MB / 0.6055 GB, free: 101.8 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008861/1.381, allocations: 8.257 MB / 0.6136 GB, free: 96.3 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.218e-05/1.382, allocations: 20.78 kB / 0.6136 GB, free: 96.3 MB / 478.1 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.01658/1.398, allocations: 9.114 MB / 0.6225 GB, free: 90.76 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.674e-05/1.398, allocations: 32 kB / 0.6225 GB, free: 90.73 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001154/1.398, allocations: 68 kB / 0.6226 GB, free: 90.66 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003334/1.402, allocations: 1.151 MB / 0.6237 GB, free: 89.51 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004698/1.406, allocations: 1.287 MB / 0.625 GB, free: 88.22 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01316/1.42, allocations: 10.83 MB / 0.6355 GB, free: 77.15 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005043/1.425, allocations: 0.7526 MB / 0.6363 GB, free: 76.39 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0013/1.426, allocations: 276 kB / 0.6365 GB, free: 76.12 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 303 * 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 (675): * Single equations (assignments): 671 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(6,24,100.0%), (5,33,80.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007229/1.433, allocations: 3.433 MB / 0.6399 GB, free: 72.68 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00134/1.435, allocations: 361.7 kB / 0.6402 GB, free: 72.32 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01194/1.447, allocations: 6.905 MB / 0.647 GB, free: 65.39 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008416/1.455, allocations: 5.741 MB / 0.6526 GB, free: 59.64 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.824e-05/1.455, allocations: 12 kB / 0.6526 GB, free: 59.62 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.804e-05/1.455, allocations: 23.91 kB / 0.6526 GB, free: 59.6 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02436/1.48, allocations: 15.23 MB / 0.6675 GB, free: 44.22 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.522e-05/1.48, allocations: 16 kB / 0.6675 GB, free: 44.2 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00291/1.483, allocations: 0.7887 MB / 0.6683 GB, free: 43.41 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00296/1.486, allocations: 1.063 MB / 0.6693 GB, free: 42.34 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004412/1.486, allocations: 108 kB / 0.6694 GB, free: 42.24 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01231/1.498, allocations: 10.59 MB / 0.6798 GB, free: 31.39 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.768e-06/1.498, allocations: 23.94 kB / 0.6798 GB, free: 31.37 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01478/1.513, allocations: 10.7 MB / 0.6902 GB, free: 20.43 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002426/1.516, allocations: 1.009 MB / 0.6912 GB, free: 19.4 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007793/1.516, allocations: 96.06 kB / 0.6913 GB, free: 19.31 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002495/1.519, allocations: 275.7 kB / 0.6916 GB, free: 19.04 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007332/1.52, allocations: 343.2 kB / 0.6919 GB, free: 18.7 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002858/1.52, allocations: 140 kB / 0.692 GB, free: 18.57 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003083/1.523, allocations: 2.125 MB / 0.6941 GB, free: 16.44 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.5e-07/1.523, allocations: 0 / 0.6941 GB, free: 16.44 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.007158/1.53, allocations: 2.255 MB / 0.6963 GB, free: 14.18 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 58 * Number of states: 2 (sineVoltage_m.plug_p.reference.gamma,sineVoltage_e.plug_p.reference.gamma) * 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 (415): * Single equations (assignments): 411 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(6,24,91.7%), (5,33,80.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01612/1.546, allocations: 11.45 MB / 0.7075 GB, free: 2.5 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01556/1.562, allocations: 7.454 MB / 0.7148 GB, free: 11.02 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.293e-05/1.562, allocations: 4 kB / 0.7148 GB, free: 11.02 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00995/1.572, allocations: 3.658 MB / 0.7183 GB, free: 7.344 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007174/1.579, allocations: 0.8043 MB / 0.7191 GB, free: 6.547 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3815/1.961, allocations: 51.88 MB / 0.7698 GB, free: 148.3 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01272/1.974, allocations: 5.934 MB / 0.7756 GB, free: 146.1 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.005762/1.979, allocations: 2.158 MB / 0.7777 GB, free: 145.9 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005584/1.985, allocations: 3.003 MB / 0.7806 GB, free: 143.3 MB / 0.4982 GB Notification: Performance of SimCode: time 2.194e-06/1.985, allocations: 0 / 0.7806 GB, free: 143.3 MB / 0.4982 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1703/2.155, allocations: 113.9 MB / 0.8918 GB, free: 33.83 MB / 0.4982 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.78/20.94, allocations: 12.19 kB / 0.8918 GB, free: 33.82 MB / 0.4982 GB (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.csv --start-time 0 --stop-time 40 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.01 Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses.fmu > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches