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.001705/0.001705, allocations: 113.2 kB / 17.73 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.001931/0.001931, allocations: 184.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.37/1.37, 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.001355/0.001355, allocations: 55.92 kB / 328 MB, free: 3.805 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09115/0.09252, allocations: 46.61 MB / 374.7 MB, free: 5.082 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.2224/0.315, allocations: 16.55 MB / 391.2 MB, free: 3.363 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01105/0.3261, allocations: 4.663 MB / 395.9 MB, free: 376 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004073/0.3302, allocations: 111.5 kB / 396 MB, free: 356 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0181/0.3484, allocations: 7.186 MB / 403.2 MB, free: 12.01 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008725/0.3572, allocations: 1.875 MB / 405 MB, free: 10.88 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005461/0.3626, allocations: 1.616 MB / 406.6 MB, free: 9.891 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01463/0.3773, allocations: 9.394 MB / 416 MB, free: 4.324 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03486/0.4122, allocations: 20.85 MB / 436.9 MB, free: 1.621 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009831/0.422, allocations: 5.245 MB / 442.1 MB, free: 12.36 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01121/0.4333, allocations: 5.868 MB / 448 MB, free: 6.477 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004414/0.4378, allocations: 1.355 MB / 449.4 MB, free: 5.121 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006915/0.4447, allocations: 1.652 MB / 451 MB, free: 3.469 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005264/0.45, allocations: 2.786 MB / 453.8 MB, free: 0.6758 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01188/0.4619, allocations: 5.354 MB / 459.2 MB, free: 11.3 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02968/0.4916, allocations: 18.23 MB / 477.4 MB, free: 9.016 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.187e-06/0.4917, allocations: 0 / 477.4 MB, free: 9.016 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.4917, allocations: 4 kB / 477.4 MB, free: 9.012 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0005937/0.4923, allocations: 0 / 477.4 MB, free: 9.012 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.04931/0.5416, allocations: 12.32 MB / 489.7 MB, free: 12.59 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.94e-05/0.5417, allocations: 16.03 kB / 489.7 MB, free: 12.58 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005878/0.5476, allocations: 1.513 MB / 491.2 MB, free: 11.05 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03711/0.5847, allocations: 6.284 MB / 497.5 MB, free: 4.758 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01494/0.5997, allocations: 5.185 MB / 0.4909 GB, free: 15.51 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007985/0.6006, allocations: 0.6665 MB / 0.4916 GB, free: 14.84 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004393/0.605, allocations: 0.8788 MB / 0.4924 GB, free: 13.96 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04085/0.6458, allocations: 14.71 MB / 0.5068 GB, free: 15.2 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002901/0.6462, allocations: 11.94 kB / 0.5068 GB, free: 15.19 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002233/0.6484, allocations: 380 kB / 0.5072 GB, free: 14.82 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005606/0.649, allocations: 495.3 kB / 0.5076 GB, free: 14.33 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03066/0.6797, allocations: 13.53 MB / 0.5209 GB, free: 0.7734 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4749/1.155, allocations: 44.21 MB / 0.564 GB, free: 120.1 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01185/1.167, allocations: 11.66 MB / 0.5754 GB, free: 113.3 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00467/1.171, allocations: 3.167 MB / 0.5785 GB, free: 113.3 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003049/1.172, allocations: 173.2 kB / 0.5787 GB, free: 113.2 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.418e-05/1.172, allocations: 80 kB / 0.5787 GB, free: 113.2 MB / 478.1 MB Notification: Performance of pre-optimization done (n=409): time 5.991e-06/1.172, allocations: 0 / 0.5787 GB, free: 113.2 MB / 478.1 MB Notification: Performance of matching and sorting (n=409): time 0.01878/1.19, allocations: 9.611 MB / 0.5881 GB, free: 111.3 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.961e-05/1.191, allocations: 126.2 kB / 0.5883 GB, free: 111.2 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004026/1.195, allocations: 3.161 MB / 0.5913 GB, free: 110.2 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002405/1.195, allocations: 85.27 kB / 0.5914 GB, free: 110.1 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001711/1.197, allocations: 3.832 MB / 0.5952 GB, free: 107.8 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008946/1.197, allocations: 1.461 MB / 0.5966 GB, free: 106.8 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001379/1.199, allocations: 1.134 MB / 0.5977 GB, free: 106.3 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 6.077e-05/1.199, allocations: 309.1 kB / 0.598 GB, free: 106 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003334/1.202, allocations: 2.838 MB / 0.6008 GB, free: 105 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004701/1.207, allocations: 4.895 MB / 0.6055 GB, free: 101.4 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008101/1.215, allocations: 8.256 MB / 0.6136 GB, free: 95.82 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.917e-05/1.215, allocations: 22.12 kB / 0.6136 GB, free: 95.82 MB / 478.1 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.01362/1.229, allocations: 9.113 MB / 0.6225 GB, free: 90.56 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.051e-05/1.229, allocations: 32 kB / 0.6226 GB, free: 90.53 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000107/1.229, allocations: 68 kB / 0.6226 GB, free: 90.46 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002966/1.232, allocations: 1.147 MB / 0.6237 GB, free: 89.31 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004443/1.236, allocations: 1.297 MB / 0.625 GB, free: 88.01 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01167/1.248, allocations: 10.84 MB / 0.6356 GB, free: 76.95 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004702/1.253, allocations: 0.7492 MB / 0.6363 GB, free: 76.19 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005014/1.253, allocations: 280 kB / 0.6366 GB, free: 75.92 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.005347/1.259, allocations: 3.423 MB / 0.6399 GB, free: 72.48 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007316/1.259, allocations: 361.7 kB / 0.6403 GB, free: 72.12 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009635/1.269, allocations: 6.913 MB / 0.647 GB, free: 65.18 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007308/1.276, allocations: 5.741 MB / 0.6526 GB, free: 59.43 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.82e-05/1.276, allocations: 12 kB / 0.6527 GB, free: 59.42 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.354e-05/1.277, allocations: 19.92 kB / 0.6527 GB, free: 59.4 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02392/1.3, allocations: 15.23 MB / 0.6675 GB, free: 44.02 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.39e-05/1.301, allocations: 23.92 kB / 0.6676 GB, free: 44 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002807/1.303, allocations: 0.7848 MB / 0.6683 GB, free: 43.21 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002834/1.306, allocations: 1.06 MB / 0.6694 GB, free: 42.14 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003709/1.307, allocations: 116 kB / 0.6695 GB, free: 42.03 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01153/1.318, allocations: 10.58 MB / 0.6798 GB, free: 31.19 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-05/1.318, allocations: 18.05 kB / 0.6798 GB, free: 31.17 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01326/1.331, allocations: 10.71 MB / 0.6903 GB, free: 20.23 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002473/1.334, allocations: 1.005 MB / 0.6913 GB, free: 19.2 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005389/1.334, allocations: 100 kB / 0.6914 GB, free: 19.11 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00219/1.337, allocations: 271.7 kB / 0.6916 GB, free: 18.84 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006096/1.337, allocations: 347.2 kB / 0.692 GB, free: 18.5 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002389/1.338, allocations: 144 kB / 0.6921 GB, free: 18.36 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002703/1.34, allocations: 2.121 MB / 0.6942 GB, free: 16.23 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.71e-07/1.34, allocations: 4 kB / 0.6942 GB, free: 16.23 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.006858/1.347, allocations: 2.247 MB / 0.6964 GB, free: 13.98 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.01336/1.361, allocations: 11.45 MB / 0.7075 GB, free: 2.301 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01205/1.373, allocations: 7.456 MB / 0.7148 GB, free: 10.82 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.962e-05/1.373, allocations: 4 kB / 0.7148 GB, free: 10.81 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0064/1.379, allocations: 3.651 MB / 0.7184 GB, free: 7.145 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004476/1.384, allocations: 0.8045 MB / 0.7192 GB, free: 6.348 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3219/1.705, allocations: 51.88 MB / 0.7698 GB, free: 148 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006077/1.712, allocations: 5.934 MB / 0.7756 GB, free: 145.9 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.004963/1.717, allocations: 2.158 MB / 0.7777 GB, free: 145.7 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004661/1.721, allocations: 2.997 MB / 0.7807 GB, free: 143 MB / 0.4982 GB Notification: Performance of SimCode: time 1.293e-06/1.721, allocations: 5.141 kB / 0.7807 GB, free: 143 MB / 0.4982 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1698/1.891, allocations: 113.9 MB / 0.8919 GB, free: 33.36 MB / 0.4982 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.73/19.62, allocations: 8.125 kB / 0.8919 GB, free: 33.35 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