Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.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.001791/0.001791, allocations: 111.1 kB / 20.44 MB, free: 1.051 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.002206/0.002206, allocations: 209.4 kB / 23.73 MB, free: 4.156 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.5/1.5, allocations: 230.6 MB / 257.5 MB, free: 7.992 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.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001606/0.001606, allocations: 51.92 kB / 377.7 MB, free: 2.973 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2294/0.231, allocations: 53.36 MB / 431.1 MB, free: 6.637 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.009375/0.2403, allocations: 6.946 MB / 438 MB, free: 15.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004803/0.2451, allocations: 2.375 MB / 440.4 MB, free: 13.28 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005642/0.2457, allocations: 71.56 kB / 440.5 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001013/0.2467, allocations: 460.9 kB / 440.9 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002014/0.2487, allocations: 0.8703 MB / 441.8 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008352/0.2496, allocations: 394.4 kB / 442.2 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003804/0.2534, allocations: 3.248 MB / 445.4 MB, free: 8.234 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002057/0.2554, allocations: 1.541 MB / 447 MB, free: 6.633 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001673/0.2571, allocations: 1.456 MB / 448.4 MB, free: 5.172 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002209/0.2593, allocations: 1.708 MB / 450.1 MB, free: 3.457 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004978/0.2598, allocations: 360 kB / 450.5 MB, free: 3.105 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008778/0.2607, allocations: 487.9 kB / 451 MB, free: 2.629 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008198/0.2615, allocations: 0.9153 MB / 451.9 MB, free: 1.711 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001453/0.263, allocations: 1.303 MB / 453.2 MB, free: 412 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004717/0.2677, allocations: 4.737 MB / 457.9 MB, free: 11.65 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.2677, allocations: 0 / 457.9 MB, free: 11.65 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.2677, allocations: 0 / 457.9 MB, free: 11.65 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.829e-05/0.2677, allocations: 4 kB / 457.9 MB, free: 11.64 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: 689 * Number of variables: 689 Notification: Performance of Generate backend data structure: time 0.007777/0.2755, allocations: 3.647 MB / 461.6 MB, free: 7.949 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.2756, allocations: 8.031 kB / 461.6 MB, free: 7.941 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006458/0.2762, allocations: 441 kB / 462 MB, free: 7.5 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00388/0.2801, allocations: 0.7406 MB / 462.8 MB, free: 6.758 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003685/0.2838, allocations: 1.803 MB / 464.6 MB, free: 4.91 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001664/0.2839, allocations: 205.7 kB / 464.8 MB, free: 4.707 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000407/0.2843, allocations: 263.9 kB / 465 MB, free: 4.449 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005989/0.2903, allocations: 3.852 MB / 468.9 MB, free: 500 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.391e-05/0.2904, allocations: 3.984 kB / 468.9 MB, free: 496 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002477/0.2906, allocations: 112 kB / 469 MB, free: 384 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000107/0.2907, allocations: 97.44 kB / 469.1 MB, free: 284 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005307/0.296, allocations: 3.101 MB / 472.2 MB, free: 13.16 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01631/0.3124, allocations: 9.304 MB / 481.5 MB, free: 3.508 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004078/0.3164, allocations: 1.756 MB / 483.2 MB, free: 1.762 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001484/0.3179, allocations: 0.8781 MB / 484.1 MB, free: 0.8789 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004316/0.3222, allocations: 1.989 MB / 486.1 MB, free: 14.87 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.37e-05/0.3223, allocations: 51.44 kB / 486.2 MB, free: 14.8 MB / 398.1 MB Notification: Performance of pre-optimization done (n=104): time 2.756e-06/0.3223, allocations: 0 / 486.2 MB, free: 14.8 MB / 398.1 MB Notification: Performance of matching and sorting (n=104): time 0.006324/0.3286, allocations: 2.499 MB / 488.6 MB, free: 12.3 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.472e-05/0.3287, allocations: 93.92 kB / 488.7 MB, free: 12.18 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002025/0.3307, allocations: 1.415 MB / 490.2 MB, free: 10.76 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 9.109e-05/0.3308, allocations: 41.7 kB / 490.2 MB, free: 10.71 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009271/0.3317, allocations: 1.207 MB / 491.4 MB, free: 9.492 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003587/0.3321, allocations: 384.8 kB / 491.8 MB, free: 9.113 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003366/0.3324, allocations: 218.9 kB / 492 MB, free: 8.895 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001672/0.3326, allocations: 353.9 kB / 492.3 MB, free: 8.543 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009547/0.3335, allocations: 0.5647 MB / 492.9 MB, free: 7.977 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001263/0.3348, allocations: 0.8496 MB / 493.8 MB, free: 7.016 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002288/0.3371, allocations: 1.455 MB / 495.2 MB, free: 5.449 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.967e-06/0.3371, allocations: 7.938 kB / 495.2 MB, free: 5.441 MB / 398.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003486/0.3406, allocations: 1.954 MB / 497.2 MB, free: 3.473 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.29e-05/0.3406, allocations: 12 kB / 497.2 MB, free: 3.461 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.517e-05/0.3406, allocations: 8 kB / 497.2 MB, free: 3.453 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009911/0.3416, allocations: 398.9 kB / 497.6 MB, free: 3.059 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008163/0.3424, allocations: 215.6 kB / 497.8 MB, free: 2.848 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00789/0.3503, allocations: 6.261 MB / 0.4922 GB, free: 12.37 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009587/0.3513, allocations: 135.1 kB / 0.4924 GB, free: 12.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.015e-05/0.3514, allocations: 51.98 kB / 0.4924 GB, free: 12.18 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (110): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(2,19,100.0%), (2,21,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001426/0.3528, allocations: 0.8721 MB / 0.4933 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002518/0.353, allocations: 147.1 kB / 0.4934 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003155/0.3562, allocations: 1.636 MB / 0.495 GB, free: 9.508 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.899e-06/0.3562, allocations: 8 kB / 0.495 GB, free: 9.5 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.759e-06/0.3562, allocations: 12 kB / 0.495 GB, free: 9.488 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.48e-05/0.3562, allocations: 7.922 kB / 0.495 GB, free: 9.48 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006653/0.3629, allocations: 3.735 MB / 0.4987 GB, free: 5.664 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.3629, allocations: 0 / 0.4987 GB, free: 5.664 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006349/0.3635, allocations: 135.8 kB / 0.4988 GB, free: 5.531 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001502/0.365, allocations: 399.5 kB / 0.4992 GB, free: 5.141 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001165/0.3651, allocations: 31.98 kB / 0.4992 GB, free: 5.109 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01165/0.3768, allocations: 6.222 MB / 0.5053 GB, free: 14.66 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.3768, allocations: 4 kB / 0.5053 GB, free: 14.66 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006393/0.3832, allocations: 2.482 MB / 0.5077 GB, free: 12.14 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006801/0.3839, allocations: 182.9 kB / 0.5079 GB, free: 11.96 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000274/0.3841, allocations: 27.98 kB / 0.5079 GB, free: 11.93 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001262/0.3854, allocations: 79.86 kB / 0.508 GB, free: 11.85 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003395/0.3857, allocations: 104.6 kB / 0.5081 GB, free: 11.75 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001161/0.3859, allocations: 39.98 kB / 0.5081 GB, free: 11.71 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002157/0.388, allocations: 0.9795 MB / 0.5091 GB, free: 10.73 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.388, allocations: 0 / 0.5091 GB, free: 10.73 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002942/0.391, allocations: 0.6891 MB / 0.5098 GB, free: 10.04 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (converter_e.singlePhaseElectroMagneticConverter[3].Phi.re,converter_e.singlePhaseElectroMagneticConverter[3].Phi.im,loss_m.Phi.re,loss_m.Phi.im) * 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 (64): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(2,21,100.0%), (2,19,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006876/0.3978, allocations: 3.08 MB / 0.5128 GB, free: 6.895 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004899/0.4027, allocations: 1.741 MB / 0.5145 GB, free: 5.125 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.21e-05/0.4027, allocations: 4.375 kB / 0.5145 GB, free: 5.121 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002284/0.405, allocations: 1.089 MB / 0.5155 GB, free: 4.004 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001561/0.4066, allocations: 300.5 kB / 0.5158 GB, free: 3.711 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03741/0.444, allocations: 16.03 MB / 0.5315 GB, free: 3.203 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002649/0.4466, allocations: 1.621 MB / 0.5331 GB, free: 1.539 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001177/0.4478, allocations: 350.9 kB / 0.5334 GB, free: 1.191 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001355/0.4492, allocations: 0.882 MB / 0.5343 GB, free: 316 kB / 446.1 MB Notification: Performance of SimCode: time 1.423e-06/0.4492, allocations: 0 / 0.5343 GB, free: 316 kB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2532/0.7024, allocations: 41.39 MB / 0.5747 GB, free: 71.78 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.8/13.5, allocations: 0 / 0.5747 GB, free: 71.78 MB / 446.1 MB " [Timeout remaining time 646] (rm -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Magnetic.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_FundamentalWave_Examples_Components_EddyCurrentLosses.fmu > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable converter_e.singlePhaseElectroMagneticConverter[1].Phi.re in file Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.csv. Warning: Get data of variable converter_e.singlePhaseElectroMagneticConverter[1].Phi.re from file Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.csv failed! Error: Could not read variable converter_e.singlePhaseElectroMagneticConverter[2].Phi.im in file Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.csv. Warning: Get data of variable converter_e.singlePhaseElectroMagneticConverter[2].Phi.im from file Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.csv failed! Error: Could not read variable loss_m.Phi.im in file Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.csv. Warning: Get data of variable loss_m.Phi.im from file Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.csv failed! Error: Could not read variable loss_m.Phi.re in file Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.csv. Warning: Get data of variable loss_m.Phi.re from file Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.151958453003317]