Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001562/0.001562, allocations: 115.6 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001993/0.001993, allocations: 213.6 kB / 23.75 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.507/1.507, allocations: 230.6 MB / 257.5 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_4_1_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_1_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001571/0.001571, allocations: 47.92 kB / 377.8 MB, free: 3.199 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2476/0.2492, allocations: 53.36 MB / 431.2 MB, free: 6.859 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.02103/0.2702, allocations: 16.71 MB / 447.9 MB, free: 6.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01115/0.2814, allocations: 4.735 MB / 452.6 MB, free: 1.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003346/0.2847, allocations: 163.2 kB / 452.8 MB, free: 1.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01799/0.3027, allocations: 7.25 MB / 460 MB, free: 9.895 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007651/0.3103, allocations: 2.034 MB / 462 MB, free: 7.852 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004737/0.3151, allocations: 1.584 MB / 463.6 MB, free: 6.273 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01394/0.329, allocations: 9.622 MB / 473.2 MB, free: 12.62 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02392/0.3529, allocations: 13.58 MB / 486.8 MB, free: 14.89 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008599/0.3615, allocations: 5.393 MB / 492.2 MB, free: 9.48 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01046/0.372, allocations: 5.989 MB / 498.2 MB, free: 3.473 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003382/0.3754, allocations: 1.355 MB / 499.6 MB, free: 2.117 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005196/0.3806, allocations: 1.668 MB / 0.4895 GB, free: 460 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004013/0.3846, allocations: 2.794 MB / 0.4922 GB, free: 13.64 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01001/0.3946, allocations: 5.362 MB / 0.4974 GB, free: 8.262 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02463/0.4192, allocations: 18.41 MB / 0.5154 GB, free: 5.797 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/0.4192, allocations: 3.938 kB / 0.5154 GB, free: 5.793 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.4193, allocations: 8 kB / 0.5154 GB, free: 5.785 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005091/0.4198, allocations: 0 / 0.5154 GB, free: 5.785 MB / 430.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.04346/0.4632, allocations: 12.25 MB / 0.5274 GB, free: 9.453 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.834e-05/0.4633, allocations: 16.03 kB / 0.5274 GB, free: 9.438 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006941/0.4702, allocations: 1.509 MB / 0.5289 GB, free: 7.918 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05175/0.522, allocations: 6.202 MB / 0.5349 GB, free: 1.703 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4019/0.9239, allocations: 5.914 MB / 0.5407 GB, free: 85.48 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005293/0.9244, allocations: 0.6718 MB / 0.5414 GB, free: 85.18 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003378/0.9278, allocations: 0.8781 MB / 0.5422 GB, free: 84.89 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03132/0.9591, allocations: 14.75 MB / 0.5566 GB, free: 79.38 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002351/0.9593, allocations: 7.312 kB / 0.5566 GB, free: 79.38 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001665/0.961, allocations: 383.3 kB / 0.557 GB, free: 79.08 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003854/0.9614, allocations: 0.4902 MB / 0.5575 GB, free: 79.04 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0219/0.9833, allocations: 13.56 MB / 0.5707 GB, free: 66.66 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0589/1.042, allocations: 43.51 MB / 0.6132 GB, free: 23 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008669/1.051, allocations: 6.007 MB / 0.6191 GB, free: 17.2 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003418/1.054, allocations: 2.872 MB / 0.6219 GB, free: 14.32 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003357/1.055, allocations: 136.8 kB / 0.622 GB, free: 14.21 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.807e-05/1.055, allocations: 82.5 kB / 0.6221 GB, free: 14.12 MB / 446.1 MB Notification: Performance of pre-optimization done (n=409): time 5.31e-06/1.055, allocations: 0 / 0.6221 GB, free: 14.12 MB / 446.1 MB Notification: Performance of matching and sorting (n=409): time 0.01763/1.072, allocations: 9.429 MB / 0.6313 GB, free: 4.699 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.989e-05/1.072, allocations: 121.1 kB / 0.6314 GB, free: 4.562 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004217/1.077, allocations: 3.163 MB / 0.6345 GB, free: 1.426 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006826/1.077, allocations: 93.7 kB / 0.6346 GB, free: 1.328 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002457/1.08, allocations: 3.832 MB / 0.6383 GB, free: 13.6 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002021/1.082, allocations: 1.462 MB / 0.6398 GB, free: 12.16 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001882/1.084, allocations: 1.152 MB / 0.6409 GB, free: 11 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001342/1.084, allocations: 305.1 kB / 0.6412 GB, free: 10.7 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00465/1.088, allocations: 2.841 MB / 0.644 GB, free: 7.848 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006616/1.095, allocations: 4.908 MB / 0.6488 GB, free: 1.996 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01173/1.107, allocations: 8.275 MB / 0.6568 GB, free: 8.785 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.259e-05/1.107, allocations: 20 kB / 0.6569 GB, free: 8.766 MB / 478.1 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.0176/1.124, allocations: 9.115 MB / 0.6658 GB, free: 15.64 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.391e-05/1.124, allocations: 36 kB / 0.6658 GB, free: 15.6 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000108/1.125, allocations: 64 kB / 0.6659 GB, free: 15.54 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00339/1.128, allocations: 1.158 MB / 0.667 GB, free: 14.38 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004905/1.133, allocations: 1.295 MB / 0.6682 GB, free: 13.08 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01605/1.149, allocations: 10.6 MB / 0.6786 GB, free: 2.254 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004862/1.154, allocations: 0.7494 MB / 0.6793 GB, free: 1.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001173/1.155, allocations: 280 kB / 0.6796 GB, free: 1.227 MB / 494.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.007339/1.162, allocations: 3.431 MB / 0.6829 GB, free: 13.79 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009611/1.163, allocations: 361.7 kB / 0.6833 GB, free: 13.43 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01317/1.176, allocations: 6.882 MB / 0.69 GB, free: 6.52 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01036/1.187, allocations: 5.717 MB / 0.6956 GB, free: 0.7891 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.841e-05/1.187, allocations: 11.98 kB / 0.6956 GB, free: 0.7773 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.566e-05/1.187, allocations: 23.92 kB / 0.6956 GB, free: 0.7539 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02887/1.216, allocations: 15.29 MB / 0.7106 GB, free: 1.223 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.433e-05/1.216, allocations: 12 kB / 0.7106 GB, free: 1.211 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003171/1.219, allocations: 0.7957 MB / 0.7114 GB, free: 424 kB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003228/1.222, allocations: 1.068 MB / 0.7124 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003948/1.223, allocations: 112 kB / 0.7125 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01568/1.238, allocations: 10.37 MB / 0.7226 GB, free: 4.625 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.035e-05/1.238, allocations: 24.12 kB / 0.7227 GB, free: 4.602 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01997/1.258, allocations: 10.69 MB / 0.7331 GB, free: 9.672 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003463/1.262, allocations: 0.9649 MB / 0.734 GB, free: 8.703 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007888/1.262, allocations: 103.9 kB / 0.7341 GB, free: 8.602 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002454/1.265, allocations: 271.8 kB / 0.7344 GB, free: 8.336 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008262/1.266, allocations: 363 kB / 0.7347 GB, free: 7.98 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003318/1.266, allocations: 148 kB / 0.7349 GB, free: 7.836 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00389/1.27, allocations: 2.125 MB / 0.737 GB, free: 5.707 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/1.27, allocations: 0 / 0.737 GB, free: 5.707 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.007819/1.278, allocations: 2.258 MB / 0.7392 GB, free: 3.441 MB / 0.545 GB 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.2899/1.568, allocations: 11.43 MB / 0.7503 GB, free: 175.9 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01175/1.579, allocations: 7.171 MB / 0.7573 GB, free: 173.3 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.259e-05/1.579, allocations: 2.734 kB / 0.7573 GB, free: 173.3 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006022/1.585, allocations: 3.415 MB / 0.7607 GB, free: 172 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004335/1.59, allocations: 0.798 MB / 0.7614 GB, free: 171.7 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07846/1.668, allocations: 51.94 MB / 0.8122 GB, free: 131.8 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006486/1.675, allocations: 5.934 MB / 0.818 GB, free: 125.8 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004657/1.679, allocations: 2.158 MB / 0.8201 GB, free: 123.6 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004191/1.684, allocations: 3.026 MB / 0.823 GB, free: 120.6 MB / 0.545 GB Notification: Performance of SimCode: time 2.214e-06/1.684, allocations: 0 / 0.823 GB, free: 120.6 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1761/1.86, allocations: 120.7 MB / 0.9409 GB, free: 396 kB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.15/22.01, allocations: 7.219 kB / 0.9409 GB, free: 392 kB / 0.545 GB " [Timeout remaining time 638] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & python3 -m fmpy simulate --output-file Modelica_4.1.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_1_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses.fmu > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 24.986753125001997]