Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_4_0_0_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.001477/0.001477, allocations: 108.2 kB / 16.92 MB, free: 6.145 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.001813/0.001813, allocations: 187.4 kB / 17.85 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.134/2.134, allocations: 222.9 MB / 241.5 MB, free: 15.23 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001843/0.001844, allocations: 38.88 kB / 300.7 MB, free: 5.77 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1597/0.1616, allocations: 49.45 MB / 350.2 MB, free: 4.316 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.03799/0.1997, allocations: 16.59 MB / 366.8 MB, free: 3.629 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.35/0.5498, allocations: 4.628 MB / 371.4 MB, free: 9.098 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005205/0.555, allocations: 135.1 kB / 371.5 MB, free: 9.098 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01951/0.5746, allocations: 7.162 MB / 378.7 MB, free: 8.883 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01066/0.5853, allocations: 1.977 MB / 380.7 MB, free: 8.809 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006336/0.5916, allocations: 1.526 MB / 382.2 MB, free: 8.656 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01721/0.6089, allocations: 9.328 MB / 391.5 MB, free: 4.414 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05176/0.6607, allocations: 20.92 MB / 412.4 MB, free: 4.348 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01463/0.6754, allocations: 5.231 MB / 417.7 MB, free: 15.23 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01863/0.6941, allocations: 5.908 MB / 423.6 MB, free: 9.496 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00678/0.7009, allocations: 1.359 MB / 424.9 MB, free: 8.137 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009548/0.7105, allocations: 1.646 MB / 426.6 MB, free: 6.496 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008803/0.7194, allocations: 2.783 MB / 429.4 MB, free: 3.75 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02038/0.7398, allocations: 5.362 MB / 434.7 MB, free: 14.41 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0445/0.7844, allocations: 18.25 MB / 453 MB, free: 12.5 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.091e-05/0.7845, allocations: 0 / 453 MB, free: 12.5 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.885e-06/0.7845, allocations: 0 / 453 MB, free: 12.5 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0006932/0.7852, allocations: 4 kB / 453 MB, free: 12.49 MB / 366.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.06484/0.8501, allocations: 12.18 MB / 465.2 MB, free: 328 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.357e-05/0.8502, allocations: 15.97 kB / 465.2 MB, free: 312 kB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.009101/0.8593, allocations: 1.516 MB / 466.7 MB, free: 14.79 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06712/0.9264, allocations: 6.182 MB / 472.9 MB, free: 8.668 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02407/0.9506, allocations: 5.649 MB / 478.5 MB, free: 2.992 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001409/0.9521, allocations: 0.6717 MB / 479.2 MB, free: 2.328 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00675/0.9588, allocations: 0.8793 MB / 480.1 MB, free: 1.457 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06211/1.021, allocations: 14.72 MB / 494.8 MB, free: 2.719 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000634/1.022, allocations: 15.89 kB / 494.8 MB, free: 2.703 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005039/1.027, allocations: 372.8 kB / 495.2 MB, free: 2.348 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009527/1.028, allocations: 0.4915 MB / 495.7 MB, free: 1.852 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05185/1.08, allocations: 13.53 MB / 0.4973 GB, free: 4.297 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.801/1.881, allocations: 44.63 MB / 0.5408 GB, free: 101.1 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02134/1.902, allocations: 11.66 MB / 0.5522 GB, free: 94.34 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008226/1.91, allocations: 3.155 MB / 0.5553 GB, free: 94.3 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006084/1.911, allocations: 176.8 kB / 0.5555 GB, free: 94.21 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.143e-05/1.911, allocations: 75.62 kB / 0.5556 GB, free: 94.16 MB / 446.1 MB Notification: Performance of pre-optimization done (n=409): time 9.427e-06/1.911, allocations: 2.562 kB / 0.5556 GB, free: 94.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=409): time 0.03587/1.947, allocations: 9.568 MB / 0.5649 GB, free: 93.7 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001001/1.947, allocations: 123.7 kB / 0.565 GB, free: 93.61 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008492/1.956, allocations: 3.154 MB / 0.5681 GB, free: 93.35 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001187/1.957, allocations: 91.33 kB / 0.5682 GB, free: 93.32 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00346/1.96, allocations: 3.704 MB / 0.5718 GB, free: 90.63 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002516/1.963, allocations: 1.397 MB / 0.5732 GB, free: 89.55 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002956/1.966, allocations: 1.127 MB / 0.5743 GB, free: 89.02 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.891e-05/1.966, allocations: 301.1 kB / 0.5746 GB, free: 88.73 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006873/1.973, allocations: 2.832 MB / 0.5773 GB, free: 87.73 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009687/1.983, allocations: 4.905 MB / 0.5821 GB, free: 84.1 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01574/1.999, allocations: 8.254 MB / 0.5902 GB, free: 78.86 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001131/1.999, allocations: 21.5 kB / 0.5902 GB, free: 78.86 MB / 446.1 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.02668/2.025, allocations: 9.104 MB / 0.5991 GB, free: 73.85 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000153/2.026, allocations: 35.98 kB / 0.5991 GB, free: 73.81 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002508/2.026, allocations: 68 kB / 0.5992 GB, free: 73.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005276/2.031, allocations: 1.157 MB / 0.6003 GB, free: 72.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00807/2.039, allocations: 1.293 MB / 0.6016 GB, free: 71.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02045/2.06, allocations: 10.81 MB / 0.6121 GB, free: 60.35 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008063/2.068, allocations: 0.7395 MB / 0.6128 GB, free: 59.61 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001844/2.07, allocations: 272 kB / 0.6131 GB, free: 59.34 MB / 446.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.01098/2.081, allocations: 3.432 MB / 0.6165 GB, free: 55.98 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001929/2.083, allocations: 345.1 kB / 0.6168 GB, free: 55.64 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01824/2.101, allocations: 6.915 MB / 0.6235 GB, free: 48.75 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01509/2.116, allocations: 5.74 MB / 0.6291 GB, free: 43.04 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.305e-05/2.116, allocations: 12 kB / 0.6292 GB, free: 43.02 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001073/2.116, allocations: 19.92 kB / 0.6292 GB, free: 43 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0448/2.161, allocations: 15.34 MB / 0.6442 GB, free: 27.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.079e-05/2.161, allocations: 16 kB / 0.6442 GB, free: 27.65 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005552/2.167, allocations: 0.7882 MB / 0.6449 GB, free: 26.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004903/2.172, allocations: 1.067 MB / 0.646 GB, free: 25.83 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001274/2.173, allocations: 105 kB / 0.6461 GB, free: 25.73 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02049/2.194, allocations: 10.59 MB / 0.6564 GB, free: 14.9 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.238e-05/2.194, allocations: 18.91 kB / 0.6564 GB, free: 14.89 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02754/2.221, allocations: 10.68 MB / 0.6669 GB, free: 4.027 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004156/2.226, allocations: 0.9912 MB / 0.6678 GB, free: 3.012 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001769/2.227, allocations: 104 kB / 0.6679 GB, free: 2.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005047/2.233, allocations: 275.7 kB / 0.6682 GB, free: 2.641 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001878/2.234, allocations: 338.8 kB / 0.6685 GB, free: 2.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008213/2.235, allocations: 143.9 kB / 0.6687 GB, free: 2.18 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.006657/2.242, allocations: 2.125 MB / 0.6707 GB, free: 52 kB / 446.1 MB Notification: Performance of sort global known variables: time 1.133e-06/2.242, allocations: 1.531 kB / 0.6707 GB, free: 52 kB / 446.1 MB Notification: Performance of remove unused functions: time 0.01637/2.258, allocations: 2.223 MB / 0.6729 GB, free: 13.82 MB / 462.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.03901/2.298, allocations: 11.43 MB / 0.6841 GB, free: 2.254 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.04103/2.339, allocations: 11.28 MB / 0.6951 GB, free: 7.012 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.326e-05/2.339, allocations: 4 kB / 0.6951 GB, free: 7.008 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01343/2.352, allocations: 3.654 MB / 0.6987 GB, free: 3.344 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01034/2.363, allocations: 0.7982 MB / 0.6994 GB, free: 2.559 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5333/2.896, allocations: 57.09 MB / 0.7552 GB, free: 149.8 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01636/2.912, allocations: 5.935 MB / 0.761 GB, free: 147.6 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.01115/2.924, allocations: 2.152 MB / 0.7631 GB, free: 146.7 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008934/2.933, allocations: 3.007 MB / 0.766 GB, free: 143.9 MB / 494.1 MB Notification: Performance of SimCode: time 1.843e-06/2.933, allocations: 7.828 kB / 0.766 GB, free: 143.9 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2596/3.192, allocations: 115 MB / 0.8783 GB, free: 32.14 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 18.89/22.08, allocations: 3.953 kB / 0.8783 GB, free: 32.14 MB / 494.1 MB (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_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_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses.fmu > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches