Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00159/0.00159, allocations: 107.5 kB / 20.44 MB, free: 1.188 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001824/0.001824, allocations: 178.8 kB / 23.7 MB, free: 4.414 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.448/1.448, allocations: 225.7 MB / 252.5 MB, free: 12.82 MB / 206.1 MB " [Timeout remaining time 178] 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.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001815/0.001815, allocations: 47.92 kB / 370.4 MB, free: 9.672 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2202/0.222, allocations: 52.18 MB / 422.6 MB, free: 14.4 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.008804/0.2308, allocations: 6.431 MB / 429 MB, free: 7.938 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004504/0.2353, allocations: 2.098 MB / 431.1 MB, free: 5.832 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007928/0.2361, allocations: 67.56 kB / 431.2 MB, free: 5.766 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001141/0.2372, allocations: 453 kB / 431.6 MB, free: 5.32 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002656/0.2399, allocations: 0.8897 MB / 432.5 MB, free: 4.426 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008426/0.2407, allocations: 365.5 kB / 432.9 MB, free: 4.07 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003622/0.2443, allocations: 3.152 MB / 436 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00198/0.2463, allocations: 1.537 MB / 437.5 MB, free: 15.31 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001697/0.248, allocations: 1.453 MB / 439 MB, free: 13.85 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002404/0.2504, allocations: 1.712 MB / 440.7 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006259/0.251, allocations: 360 kB / 441.1 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001072/0.2521, allocations: 475.9 kB / 441.5 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008496/0.253, allocations: 0.8997 MB / 442.4 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001726/0.2547, allocations: 1.299 MB / 443.7 MB, free: 9.109 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005428/0.2601, allocations: 4.714 MB / 448.4 MB, free: 4.379 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.2601, allocations: 0 / 448.4 MB, free: 4.379 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2601, allocations: 4 kB / 448.4 MB, free: 4.375 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.69e-05/0.2602, allocations: 0 / 448.4 MB, free: 4.375 MB / 350.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.00839/0.2686, allocations: 3.616 MB / 452.1 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.2687, allocations: 11.97 kB / 452.1 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006528/0.2693, allocations: 437.1 kB / 452.5 MB, free: 268 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00362/0.2729, allocations: 0.7094 MB / 453.2 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003873/0.2768, allocations: 1.748 MB / 455 MB, free: 13.76 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001723/0.277, allocations: 201.7 kB / 455.2 MB, free: 13.56 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004251/0.2774, allocations: 267.9 kB / 455.4 MB, free: 13.3 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006132/0.2835, allocations: 3.841 MB / 459.3 MB, free: 9.348 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.147e-05/0.2836, allocations: 3.938 kB / 459.3 MB, free: 9.344 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002464/0.2838, allocations: 108 kB / 459.4 MB, free: 9.238 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00011/0.2839, allocations: 109.4 kB / 459.5 MB, free: 9.129 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005424/0.2894, allocations: 3.089 MB / 462.6 MB, free: 6.027 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01635/0.3057, allocations: 9.303 MB / 471.9 MB, free: 12.37 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003883/0.3096, allocations: 1.755 MB / 473.6 MB, free: 10.62 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001415/0.311, allocations: 0.8645 MB / 474.5 MB, free: 9.758 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003977/0.315, allocations: 1.965 MB / 476.5 MB, free: 7.77 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.503e-05/0.315, allocations: 51.38 kB / 476.5 MB, free: 7.707 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 5.24e-06/0.315, allocations: 3.984 kB / 476.5 MB, free: 7.703 MB / 382.1 MB Notification: Performance of matching and sorting (n=104): time 0.006295/0.3213, allocations: 2.484 MB / 479 MB, free: 5.211 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.913e-05/0.3214, allocations: 97.86 kB / 479.1 MB, free: 5.094 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002051/0.3234, allocations: 1.386 MB / 480.5 MB, free: 3.695 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.111e-05/0.3235, allocations: 41.7 kB / 480.5 MB, free: 3.648 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009027/0.3244, allocations: 1.199 MB / 481.7 MB, free: 2.438 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003287/0.3248, allocations: 380.8 kB / 482.1 MB, free: 2.062 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003406/0.3251, allocations: 218.9 kB / 482.3 MB, free: 1.844 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001766/0.3253, allocations: 357.9 kB / 482.6 MB, free: 1.488 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009859/0.3263, allocations: 0.5569 MB / 483.2 MB, free: 0.9297 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001226/0.3275, allocations: 0.8527 MB / 484.1 MB, free: 15.96 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002271/0.3298, allocations: 1.455 MB / 485.5 MB, free: 14.39 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.538e-06/0.3298, allocations: 8 kB / 485.5 MB, free: 14.39 MB / 398.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003483/0.3333, allocations: 1.946 MB / 487.5 MB, free: 12.43 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.638e-05/0.3333, allocations: 12 kB / 487.5 MB, free: 12.42 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.589e-05/0.3333, allocations: 12 kB / 487.5 MB, free: 12.41 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001057/0.3344, allocations: 398.2 kB / 487.9 MB, free: 12.02 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008382/0.3352, allocations: 223.6 kB / 488.1 MB, free: 11.8 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008186/0.3434, allocations: 6.241 MB / 494.3 MB, free: 5.332 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001116/0.3445, allocations: 151.1 kB / 494.5 MB, free: 5.184 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.825e-05/0.3446, allocations: 44 kB / 494.5 MB, free: 5.141 MB / 398.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.001505/0.3461, allocations: 0.8643 MB / 495.4 MB, free: 4.266 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003309/0.3464, allocations: 147.1 kB / 495.5 MB, free: 4.121 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003112/0.3495, allocations: 1.636 MB / 497.2 MB, free: 2.473 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.234e-05/0.3496, allocations: 12 kB / 497.2 MB, free: 2.461 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.758e-06/0.3496, allocations: 8 kB / 497.2 MB, free: 2.453 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.196e-05/0.3496, allocations: 7.922 kB / 497.2 MB, free: 2.445 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006832/0.3564, allocations: 3.707 MB / 0.4892 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/0.3564, allocations: 8.031 kB / 0.4892 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005804/0.357, allocations: 135.8 kB / 0.4893 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009495/0.3579, allocations: 389.3 kB / 0.4897 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.428e-05/0.358, allocations: 35.92 kB / 0.4897 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007844/0.3659, allocations: 6.238 MB / 0.4958 GB, free: 7.637 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.127e-06/0.3659, allocations: 11.94 kB / 0.4958 GB, free: 7.625 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004157/0.37, allocations: 2.462 MB / 0.4982 GB, free: 5.121 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004222/0.3705, allocations: 178.9 kB / 0.4984 GB, free: 4.945 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001654/0.3706, allocations: 24 kB / 0.4984 GB, free: 4.922 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007874/0.3714, allocations: 91.84 kB / 0.4985 GB, free: 4.832 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002312/0.3716, allocations: 96.62 kB / 0.4986 GB, free: 4.738 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-05/0.3717, allocations: 35.98 kB / 0.4986 GB, free: 4.703 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001378/0.3731, allocations: 0.9669 MB / 0.4996 GB, free: 3.73 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3731, allocations: 0 / 0.4996 GB, free: 3.73 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001788/0.3749, allocations: 0.6736 MB / 0.5002 GB, free: 3.055 MB / 414.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.004417/0.3793, allocations: 3.075 MB / 0.5032 GB, free: 15.93 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003271/0.3826, allocations: 1.738 MB / 0.5049 GB, free: 14.16 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/0.3826, allocations: 0 / 0.5049 GB, free: 14.16 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001875/0.3844, allocations: 1.097 MB / 0.506 GB, free: 13.03 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001564/0.386, allocations: 300.5 kB / 0.5063 GB, free: 12.73 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0245/0.4105, allocations: 15.91 MB / 0.5218 GB, free: 12.35 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001993/0.4125, allocations: 1.608 MB / 0.5234 GB, free: 10.7 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001022/0.4135, allocations: 343 kB / 0.5237 GB, free: 10.36 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001147/0.4147, allocations: 0.8703 MB / 0.5246 GB, free: 9.484 MB / 446.1 MB Notification: Performance of SimCode: time 2.113e-06/0.4147, allocations: 0 / 0.5246 GB, free: 9.484 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2566/0.6713, allocations: 40.86 MB / 0.5645 GB, free: 88.26 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.75/13.42, allocations: 11.42 kB / 0.5645 GB, free: 88.25 MB / 446.1 MB " [Timeout remaining time 646] (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & python3 -m fmpy simulate --output-file Modelica_4.0.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_0_0_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses.fmu > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.csv. Warning: Get data of variable converter_e.singlePhaseElectroMagneticConverter[1].Phi.re from file Modelica_4.0.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.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.csv. Warning: Get data of variable converter_e.singlePhaseElectroMagneticConverter[2].Phi.im from file Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.csv failed! Error: Could not read variable loss_m.Phi.im in file Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.csv. Warning: Get data of variable loss_m.Phi.im from file Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.csv failed! Error: Could not read variable loss_m.Phi.re in file Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.csv. Warning: Get data of variable loss_m.Phi.re from file Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.969576748088002]