Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.00164/0.001645, allocations: 106.6 kB / 17.64 MB, free: 5.516 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001973/0.001973, allocations: 218.5 kB / 18.59 MB, free: 4.57 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.452/1.452, allocations: 227.4 MB / 246.8 MB, free: 10.6 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001323, allocations: 65.7 kB / 307.1 MB, free: 0.5391 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09603/0.09738, allocations: 50.53 MB / 357.6 MB, free: 14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.1756/0.273, allocations: 16.6 MB / 374.2 MB, free: 9.133 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009111/0.2822, allocations: 4.702 MB / 378.9 MB, free: 8.762 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00321/0.2854, allocations: 135.2 kB / 379 MB, free: 8.762 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01544/0.3009, allocations: 7.155 MB / 386.2 MB, free: 6.613 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007671/0.3086, allocations: 1.963 MB / 388.1 MB, free: 5.617 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004211/0.3128, allocations: 1.536 MB / 389.7 MB, free: 4.699 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0116/0.3244, allocations: 9.433 MB / 399.1 MB, free: 15.7 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02879/0.3532, allocations: 20.93 MB / 420 MB, free: 13.49 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007784/0.361, allocations: 5.233 MB / 425.3 MB, free: 8.242 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009218/0.3703, allocations: 5.938 MB / 431.2 MB, free: 2.285 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003335/0.3737, allocations: 1.359 MB / 432.6 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005126/0.3788, allocations: 1.664 MB / 434.2 MB, free: 15.26 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00376/0.3826, allocations: 2.798 MB / 437 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007743/0.3903, allocations: 5.358 MB / 442.4 MB, free: 7.078 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01739/0.4078, allocations: 18.26 MB / 460.7 MB, free: 4.762 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.4078, allocations: 0 / 460.7 MB, free: 4.762 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.4078, allocations: 3.844 kB / 460.7 MB, free: 4.762 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.000397/0.4082, allocations: 0 / 460.7 MB, free: 4.762 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.03427/0.4425, allocations: 12.18 MB / 472.8 MB, free: 8.496 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/0.4425, allocations: 8.031 kB / 472.9 MB, free: 8.488 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004595/0.4471, allocations: 1.513 MB / 474.4 MB, free: 6.965 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03655/0.4837, allocations: 6.217 MB / 480.6 MB, free: 0.7305 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0117/0.4954, allocations: 5.643 MB / 486.2 MB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006584/0.4961, allocations: 0.6783 MB / 486.9 MB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003122/0.4993, allocations: 0.8826 MB / 487.8 MB, free: 9.461 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0319/0.5312, allocations: 14.72 MB / 0.4907 GB, free: 10.69 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003108/0.5315, allocations: 7.906 kB / 0.4907 GB, free: 10.68 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002311/0.5339, allocations: 372 kB / 0.4911 GB, free: 10.32 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005098/0.5344, allocations: 495.3 kB / 0.4916 GB, free: 9.828 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0276/0.562, allocations: 13.53 MB / 0.5048 GB, free: 12.27 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3764/0.9385, allocations: 45.12 MB / 0.5488 GB, free: 114.1 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01074/0.9493, allocations: 11.63 MB / 0.5602 GB, free: 106.8 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003697/0.953, allocations: 3.164 MB / 0.5633 GB, free: 105.7 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003379/0.9534, allocations: 257.4 kB / 0.5635 GB, free: 105.5 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.244e-05/0.9534, allocations: 78.31 kB / 0.5636 GB, free: 105.4 MB / 446.1 MB Notification: Performance of pre-optimization done (n=409): time 6.362e-06/0.9534, allocations: 7.938 kB / 0.5636 GB, free: 105.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=409): time 0.01827/0.9717, allocations: 9.574 MB / 0.573 GB, free: 102.2 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.478e-05/0.9718, allocations: 120.5 kB / 0.5731 GB, free: 102.1 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004043/0.9758, allocations: 3.156 MB / 0.5762 GB, free: 100.8 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005768/0.9764, allocations: 93.02 kB / 0.5763 GB, free: 100.7 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001483/0.9779, allocations: 3.698 MB / 0.5799 GB, free: 97.48 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009589/0.9789, allocations: 1.394 MB / 0.5812 GB, free: 96.27 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001385/0.9803, allocations: 1.12 MB / 0.5823 GB, free: 95.64 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.711e-05/0.9803, allocations: 305.1 kB / 0.5826 GB, free: 95.34 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003363/0.9837, allocations: 2.839 MB / 0.5854 GB, free: 93.86 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004215/0.9879, allocations: 4.9 MB / 0.5902 GB, free: 89.62 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007774/0.9957, allocations: 8.256 MB / 0.5982 GB, free: 83.5 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-05/0.9958, allocations: 20.66 kB / 0.5983 GB, free: 83.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.01233/1.008, allocations: 9.104 MB / 0.6071 GB, free: 74.89 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.809e-05/1.008, allocations: 36 kB / 0.6072 GB, free: 74.86 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.469e-05/1.008, allocations: 64 kB / 0.6072 GB, free: 74.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003013/1.011, allocations: 1.154 MB / 0.6084 GB, free: 73.64 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004058/1.015, allocations: 1.299 MB / 0.6096 GB, free: 72.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01161/1.027, allocations: 10.81 MB / 0.6202 GB, free: 61.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004113/1.031, allocations: 0.7356 MB / 0.6209 GB, free: 60.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008516/1.032, allocations: 272 kB / 0.6212 GB, free: 60.24 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.004911/1.037, allocations: 3.424 MB / 0.6245 GB, free: 56.8 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007263/1.038, allocations: 351.7 kB / 0.6249 GB, free: 56.45 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009779/1.047, allocations: 6.917 MB / 0.6316 GB, free: 49.51 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007507/1.055, allocations: 5.745 MB / 0.6372 GB, free: 43.76 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.71e-05/1.055, allocations: 16 kB / 0.6372 GB, free: 43.74 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.135e-05/1.055, allocations: 19.92 kB / 0.6372 GB, free: 43.72 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02061/1.076, allocations: 15.34 MB / 0.6522 GB, free: 28.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.899e-05/1.076, allocations: 12 kB / 0.6522 GB, free: 28.22 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002656/1.078, allocations: 0.7879 MB / 0.653 GB, free: 27.43 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002743/1.081, allocations: 1.07 MB / 0.6541 GB, free: 26.35 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002681/1.081, allocations: 112 kB / 0.6542 GB, free: 26.24 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01113/1.093, allocations: 10.57 MB / 0.6645 GB, free: 15.41 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.506e-06/1.093, allocations: 19.94 kB / 0.6645 GB, free: 15.39 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01239/1.105, allocations: 10.68 MB / 0.6749 GB, free: 4.477 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001665/1.107, allocations: 0.9912 MB / 0.6759 GB, free: 3.461 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004671/1.107, allocations: 96.23 kB / 0.676 GB, free: 3.367 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002081/1.109, allocations: 287.7 kB / 0.6763 GB, free: 3.086 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005754/1.11, allocations: 339.2 kB / 0.6766 GB, free: 2.754 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002312/1.11, allocations: 140 kB / 0.6767 GB, free: 2.617 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002424/1.113, allocations: 2.132 MB / 0.6788 GB, free: 492 kB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/1.113, allocations: 0 / 0.6788 GB, free: 492 kB / 446.1 MB Notification: Performance of remove unused functions: time 0.005584/1.118, allocations: 2.228 MB / 0.681 GB, free: 14.24 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.01639/1.135, allocations: 11.42 MB / 0.6921 GB, free: 2.59 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.02258/1.157, allocations: 11.28 MB / 0.7031 GB, free: 7.336 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.428e-05/1.157, allocations: 0.8125 kB / 0.7031 GB, free: 7.336 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006871/1.164, allocations: 3.65 MB / 0.7067 GB, free: 3.668 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004618/1.169, allocations: 0.8087 MB / 0.7075 GB, free: 2.875 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2552/1.424, allocations: 57.07 MB / 0.7632 GB, free: 125.7 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006262/1.43, allocations: 5.939 MB / 0.769 GB, free: 119.7 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.005014/1.435, allocations: 2.16 MB / 0.7711 GB, free: 117.6 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00372/1.439, allocations: 3.006 MB / 0.7741 GB, free: 114.6 MB / 478.1 MB Notification: Performance of SimCode: time 8.92e-07/1.439, allocations: 3.938 kB / 0.7741 GB, free: 114.6 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3635/1.803, allocations: 114.8 MB / 0.8862 GB, free: 121.2 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.49/13.29, allocations: 10.19 kB / 0.8862 GB, free: 121.1 MB / 478.1 MB (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses.fmu > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches