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.001304/0.001304, allocations: 76.06 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008631/0.0008631, allocations: 149.1 kB / 23.93 MB, free: 0.6328 MB / 18.57 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 0.8895/0.8895, allocations: 173.4 MB / 200.4 MB, free: 9.438 MB / 186.7 MB " [Timeout remaining time 179] 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 1.202e-06/1.202e-06, allocations: 0 / 318.4 MB, free: 6.258 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.42e-05/1.54e-05, allocations: 2.281 kB / 318.4 MB, free: 6.254 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.005089/0.005105, allocations: 6.42 MB / 324.8 MB, free: 15.8 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003051/0.008155, allocations: 2.114 MB / 327 MB, free: 13.68 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000567/0.008722, allocations: 63.62 kB / 327 MB, free: 13.61 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007037/0.009426, allocations: 464.8 kB / 327.5 MB, free: 13.16 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00149/0.01092, allocations: 0.9085 MB / 328.4 MB, free: 12.24 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004834/0.0114, allocations: 366.1 kB / 328.7 MB, free: 11.89 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002711/0.01411, allocations: 3.244 MB / 332 MB, free: 8.629 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001502/0.01561, allocations: 1.544 MB / 333.5 MB, free: 7.023 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00199/0.0176, allocations: 2.094 MB / 335.6 MB, free: 4.926 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00139/0.01899, allocations: 1.539 MB / 337.2 MB, free: 3.383 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003516/0.01934, allocations: 360 kB / 337.5 MB, free: 3.031 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005621/0.0199, allocations: 467.8 kB / 338 MB, free: 2.574 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005092/0.02041, allocations: 0.9347 MB / 338.9 MB, free: 1.637 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008083/0.02122, allocations: 1.103 MB / 340 MB, free: 0.5273 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002776/0.024, allocations: 4.74 MB / 344.8 MB, free: 11.77 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.024, allocations: 0 / 344.8 MB, free: 11.77 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.213e-06/0.024, allocations: 0 / 344.8 MB, free: 11.77 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.927e-05/0.02405, allocations: 4 kB / 344.8 MB, free: 11.77 MB / 314.7 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.004255/0.02831, allocations: 3.593 MB / 348.3 MB, free: 8.129 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.02834, allocations: 12.92 kB / 348.4 MB, free: 8.117 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004644/0.02881, allocations: 437.1 kB / 348.8 MB, free: 7.68 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001718/0.03053, allocations: 0.7016 MB / 349.5 MB, free: 6.977 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001839/0.03237, allocations: 1.751 MB / 351.2 MB, free: 5.18 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.229e-05/0.03246, allocations: 197.7 kB / 351.4 MB, free: 4.984 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002501/0.03271, allocations: 272.3 kB / 351.7 MB, free: 4.719 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003617/0.03632, allocations: 3.845 MB / 355.5 MB, free: 0.7656 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.534e-05/0.03636, allocations: 7.922 kB / 355.6 MB, free: 0.7578 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001689/0.03653, allocations: 112 kB / 355.7 MB, free: 0.6484 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.249e-05/0.03659, allocations: 101.4 kB / 355.8 MB, free: 0.5469 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003157/0.03975, allocations: 3.09 MB / 358.9 MB, free: 13.44 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009003/0.04875, allocations: 9.303 MB / 368.2 MB, free: 3.789 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00225/0.051, allocations: 1.757 MB / 369.9 MB, free: 2.035 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008606/0.05186, allocations: 0.8696 MB / 370.8 MB, free: 1.172 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002301/0.05416, allocations: 1.965 MB / 372.7 MB, free: 15.18 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.003e-05/0.05419, allocations: 51.56 kB / 372.8 MB, free: 15.12 MB / 346.7 MB Notification: Performance of pre-optimization done (n=104): time 2.395e-06/0.0542, allocations: 0 / 372.8 MB, free: 15.12 MB / 346.7 MB Notification: Performance of matching and sorting (n=104): time 0.003637/0.05783, allocations: 2.491 MB / 375.3 MB, free: 12.62 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.987e-05/0.05788, allocations: 90.09 kB / 375.4 MB, free: 12.51 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001167/0.05905, allocations: 1.386 MB / 376.8 MB, free: 11.11 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.766e-05/0.0591, allocations: 45.7 kB / 376.8 MB, free: 11.06 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004762/0.05957, allocations: 1.199 MB / 378 MB, free: 9.852 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001729/0.05975, allocations: 368.8 kB / 378.4 MB, free: 9.488 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002122/0.05996, allocations: 222.9 kB / 378.6 MB, free: 9.266 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.996e-05/0.06006, allocations: 357.9 kB / 378.9 MB, free: 8.91 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005754/0.06064, allocations: 0.5608 MB / 379.5 MB, free: 8.348 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006812/0.06132, allocations: 0.8451 MB / 380.3 MB, free: 7.391 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001394/0.06271, allocations: 1.46 MB / 381.8 MB, free: 5.816 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.762e-06/0.06272, allocations: 4 kB / 381.8 MB, free: 5.812 MB / 346.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.001912/0.06463, allocations: 1.95 MB / 383.8 MB, free: 3.848 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.06465, allocations: 12.34 kB / 383.8 MB, free: 3.836 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.06466, allocations: 12 kB / 383.8 MB, free: 3.824 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005657/0.06522, allocations: 399 kB / 384.2 MB, free: 3.43 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004137/0.06564, allocations: 219.6 kB / 384.4 MB, free: 3.215 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004551/0.07019, allocations: 6.242 MB / 390.6 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004142/0.0706, allocations: 139.2 kB / 390.8 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.843e-05/0.07066, allocations: 63.91 kB / 390.8 MB, free: 12.55 MB / 362.7 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.0008554/0.07152, allocations: 0.8603 MB / 391.7 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001223/0.07164, allocations: 143.1 kB / 391.8 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001663/0.0733, allocations: 1.631 MB / 393.5 MB, free: 9.895 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/0.07331, allocations: 12 kB / 393.5 MB, free: 9.883 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.07331, allocations: 4 kB / 393.5 MB, free: 9.879 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.859e-06/0.07332, allocations: 11.98 kB / 393.5 MB, free: 9.867 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003777/0.0771, allocations: 3.729 MB / 397.2 MB, free: 6.055 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.0771, allocations: 192 / 397.2 MB, free: 6.055 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002694/0.07737, allocations: 139.8 kB / 397.3 MB, free: 5.918 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004991/0.07787, allocations: 392 kB / 397.7 MB, free: 5.531 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.787e-05/0.07792, allocations: 31.98 kB / 397.8 MB, free: 5.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004472/0.08239, allocations: 6.231 MB / 404 MB, free: 15.05 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.08239, allocations: 7.875 kB / 404 MB, free: 15.04 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00224/0.08463, allocations: 2.459 MB / 406.5 MB, free: 12.54 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001669/0.0848, allocations: 174.9 kB / 406.6 MB, free: 12.37 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.358e-05/0.08489, allocations: 27.98 kB / 406.7 MB, free: 12.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003757/0.08527, allocations: 91.92 kB / 406.7 MB, free: 12.25 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001427/0.08541, allocations: 112.6 kB / 406.9 MB, free: 12.14 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.076e-05/0.08545, allocations: 31.98 kB / 406.9 MB, free: 12.11 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007856/0.08624, allocations: 0.9552 MB / 407.8 MB, free: 11.15 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.08624, allocations: 4 kB / 407.8 MB, free: 11.15 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001155/0.08739, allocations: 0.6852 MB / 408.5 MB, free: 10.46 MB / 378.7 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.002736/0.09013, allocations: 3.057 MB / 411.6 MB, free: 7.34 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001719/0.09185, allocations: 1.733 MB / 413.3 MB, free: 5.582 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.09185, allocations: 1.188 kB / 413.3 MB, free: 5.582 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009887/0.09284, allocations: 1.097 MB / 414.4 MB, free: 4.457 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008472/0.09369, allocations: 307.8 kB / 414.7 MB, free: 4.156 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01485/0.1085, allocations: 15.89 MB / 430.6 MB, free: 3.789 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001121/0.1097, allocations: 1.612 MB / 432.2 MB, free: 2.133 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005484/0.1102, allocations: 343 kB / 432.6 MB, free: 1.793 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006705/0.1109, allocations: 0.8713 MB / 433.4 MB, free: 0.9219 MB / 394.7 MB Notification: Performance of SimCode: time 6.81e-07/0.1109, allocations: 0 / 433.4 MB, free: 0.9219 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1671/0.2779, allocations: 40.92 MB / 474.3 MB, free: 104.4 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.177/8.455, allocations: 7.078 kB / 474.3 MB, free: 104.4 MB / 410.7 MB " [Timeout remaining time 651] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins/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: 10.290598720312119]