Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001616/0.001616, allocations: 116.4 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001943/0.001943, allocations: 214.9 kB / 23.75 MB, free: 4.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.511/1.511, allocations: 230.5 MB / 257.4 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] 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.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001873/0.001873, allocations: 55.91 kB / 377.8 MB, free: 3.016 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2448/0.2467, allocations: 53.42 MB / 431.2 MB, free: 6.832 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01056/0.2572, allocations: 7.917 MB / 439.1 MB, free: 14.88 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005871/0.2631, allocations: 2.511 MB / 441.6 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001296/0.2644, allocations: 75.56 kB / 441.7 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001246/0.2656, allocations: 460.9 kB / 442.1 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002837/0.2685, allocations: 0.8782 MB / 443 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00103/0.2695, allocations: 421.4 kB / 443.4 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00434/0.2738, allocations: 3.246 MB / 446.7 MB, free: 7.281 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002184/0.276, allocations: 1.58 MB / 448.3 MB, free: 5.641 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001845/0.2779, allocations: 1.46 MB / 449.7 MB, free: 4.176 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002441/0.2803, allocations: 1.708 MB / 451.4 MB, free: 2.461 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005268/0.2808, allocations: 360 kB / 451.8 MB, free: 2.109 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009939/0.2818, allocations: 0.492 MB / 452.3 MB, free: 1.617 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008657/0.2827, allocations: 0.9115 MB / 453.2 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001957/0.2847, allocations: 1.614 MB / 454.8 MB, free: 15.08 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00557/0.2902, allocations: 4.714 MB / 459.5 MB, free: 10.36 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.2902, allocations: 0 / 459.5 MB, free: 10.36 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.524e-06/0.2902, allocations: 0 / 459.5 MB, free: 10.36 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001116/0.2904, allocations: 0 / 459.5 MB, free: 10.36 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.009138/0.2995, allocations: 3.655 MB / 463.2 MB, free: 6.652 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/0.2995, allocations: 8.031 kB / 463.2 MB, free: 6.645 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007774/0.3003, allocations: 445 kB / 463.6 MB, free: 6.199 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003965/0.3043, allocations: 0.7367 MB / 464.3 MB, free: 5.461 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004926/0.3092, allocations: 1.799 MB / 466.1 MB, free: 3.617 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001718/0.3094, allocations: 197.7 kB / 466.3 MB, free: 3.422 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005304/0.3099, allocations: 267.9 kB / 466.6 MB, free: 3.16 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006985/0.3169, allocations: 3.63 MB / 470.2 MB, free: 15.47 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.756e-05/0.3169, allocations: 0 / 470.2 MB, free: 15.47 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002619/0.3172, allocations: 108 kB / 470.3 MB, free: 15.37 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001186/0.3173, allocations: 105.4 kB / 470.4 MB, free: 15.26 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005895/0.3232, allocations: 3.109 MB / 473.5 MB, free: 12.14 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01869/0.3419, allocations: 10.11 MB / 483.7 MB, free: 1.676 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00396/0.3459, allocations: 1.774 MB / 485.4 MB, free: 15.91 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001463/0.3473, allocations: 0.8801 MB / 486.3 MB, free: 15.03 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004146/0.3515, allocations: 2.187 MB / 488.5 MB, free: 12.82 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.256e-05/0.3515, allocations: 47.42 kB / 488.6 MB, free: 12.76 MB / 398.1 MB Notification: Performance of pre-optimization done (n=104): time 4.899e-06/0.3515, allocations: 3.984 kB / 488.6 MB, free: 12.75 MB / 398.1 MB Notification: Performance of matching and sorting (n=104): time 0.00767/0.3592, allocations: 2.495 MB / 491.1 MB, free: 10.25 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002052/0.3594, allocations: 97.92 kB / 491.1 MB, free: 10.13 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00297/0.3624, allocations: 1.396 MB / 492.5 MB, free: 8.727 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001881/0.3626, allocations: 45.69 kB / 492.6 MB, free: 8.676 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001238/0.3638, allocations: 1.207 MB / 493.8 MB, free: 7.457 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005214/0.3643, allocations: 380.8 kB / 494.2 MB, free: 7.082 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000485/0.3648, allocations: 218.9 kB / 494.4 MB, free: 6.863 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002159/0.365, allocations: 353.9 kB / 494.7 MB, free: 6.512 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001397/0.3664, allocations: 0.5647 MB / 495.3 MB, free: 5.945 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001674/0.3681, allocations: 0.849 MB / 496.1 MB, free: 4.984 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003246/0.3713, allocations: 1.463 MB / 497.6 MB, free: 3.41 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.048e-05/0.3713, allocations: 0 / 497.6 MB, free: 3.41 MB / 398.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.005192/0.3765, allocations: 1.954 MB / 499.6 MB, free: 1.441 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.938e-05/0.3766, allocations: 8 kB / 499.6 MB, free: 1.434 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.398e-05/0.3766, allocations: 8 kB / 499.6 MB, free: 1.426 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001452/0.378, allocations: 404.2 kB / 500 MB, free: 1.027 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001206/0.3793, allocations: 211.7 kB / 0.4884 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009288/0.3885, allocations: 6.339 MB / 0.4946 GB, free: 10.26 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001277/0.3898, allocations: 139.1 kB / 0.4948 GB, free: 10.12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001023/0.3899, allocations: 48 kB / 0.4948 GB, free: 10.07 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.001743/0.3917, allocations: 0.876 MB / 0.4957 GB, free: 9.188 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000305/0.392, allocations: 147 kB / 0.4958 GB, free: 9.043 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003197/0.3952, allocations: 1.632 MB / 0.4974 GB, free: 7.398 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.335e-05/0.3952, allocations: 15.94 kB / 0.4974 GB, free: 7.383 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.742e-05/0.3952, allocations: 11.98 kB / 0.4974 GB, free: 7.371 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.392e-05/0.3952, allocations: 7.922 kB / 0.4974 GB, free: 7.363 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007344/0.4026, allocations: 3.89 MB / 0.5012 GB, free: 3.391 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.522e-06/0.4026, allocations: 0 / 0.5012 GB, free: 3.391 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005847/0.4031, allocations: 140 kB / 0.5014 GB, free: 3.254 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000984/0.4041, allocations: 397.4 kB / 0.5018 GB, free: 2.859 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.811e-05/0.4042, allocations: 27.98 kB / 0.5018 GB, free: 2.832 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008254/0.4125, allocations: 6.311 MB / 0.5079 GB, free: 12.3 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.025e-06/0.4125, allocations: 8.016 kB / 0.508 GB, free: 12.29 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004462/0.4169, allocations: 2.482 MB / 0.5104 GB, free: 9.766 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005364/0.4175, allocations: 174.8 kB / 0.5105 GB, free: 9.594 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001698/0.4176, allocations: 24 kB / 0.5106 GB, free: 9.57 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000752/0.4184, allocations: 91.84 kB / 0.5107 GB, free: 9.48 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002522/0.4186, allocations: 96.69 kB / 0.5107 GB, free: 9.387 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.513e-05/0.4187, allocations: 35.98 kB / 0.5108 GB, free: 9.352 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001515/0.4202, allocations: 0.9795 MB / 0.5117 GB, free: 8.367 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4202, allocations: 0 / 0.5117 GB, free: 8.367 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002119/0.4224, allocations: 0.6852 MB / 0.5124 GB, free: 7.68 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.004666/0.427, allocations: 3.083 MB / 0.5154 GB, free: 4.539 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003341/0.4304, allocations: 1.736 MB / 0.5171 GB, free: 2.77 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.324e-06/0.4304, allocations: 0 / 0.5171 GB, free: 2.77 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001926/0.4323, allocations: 1.09 MB / 0.5182 GB, free: 1.656 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001639/0.4339, allocations: 311.5 kB / 0.5185 GB, free: 1.355 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02674/0.4607, allocations: 16.09 MB / 0.5342 GB, free: 0.7891 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2175/0.6782, allocations: 2.179 MB / 0.5363 GB, free: 100.6 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001227/0.6794, allocations: 344.1 kB / 0.5366 GB, free: 100.6 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001094/0.6805, allocations: 0.8826 MB / 0.5375 GB, free: 100.6 MB / 446.1 MB Notification: Performance of SimCode: time 1.613e-06/0.6805, allocations: 2.906 kB / 0.5375 GB, free: 100.6 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08151/0.762, allocations: 40.21 MB / 0.5768 GB, free: 69.8 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.12/14.88, allocations: 16.31 kB / 0.5768 GB, free: 69.8 MB / 446.1 MB " [Timeout remaining time 645] (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Magnetic_FundamentalWave_Examples_Components_EddyCurrentLosses.fmu > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.csv. Warning: Get data of variable converter_e.singlePhaseElectroMagneticConverter[1].Phi.re from file Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.csv failed! Error: Could not read variable converter_e.singlePhaseElectroMagneticConverter[2].Phi.im in file Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.csv. Warning: Get data of variable converter_e.singlePhaseElectroMagneticConverter[2].Phi.im from file Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.csv failed! Error: Could not read variable loss_m.Phi.im in file Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.csv. Warning: Get data of variable loss_m.Phi.im from file Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.csv failed! Error: Could not read variable loss_m.Phi.re in file Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.csv. Warning: Get data of variable loss_m.Phi.re from file Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.594614035999257]