Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001849/0.001849, allocations: 112.9 kB / 18.45 MB, free: 4.59 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.002306/0.002306, allocations: 217.6 kB / 21.42 MB, free: 1.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.456/1.456, allocations: 207.6 MB / 231.8 MB, free: 4.066 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002918/0.002918, allocations: 55.92 kB / 342.3 MB, free: 9.98 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.1165, allocations: 49.13 MB / 391.4 MB, free: 8.688 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01968/0.1362, allocations: 16.6 MB / 408 MB, free: 8.004 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01061/0.1468, allocations: 4.685 MB / 412.7 MB, free: 3.305 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003167/0.15, allocations: 131.4 kB / 412.8 MB, free: 3.176 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01746/0.1674, allocations: 7.219 MB / 420.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007062/0.1745, allocations: 1.854 MB / 421.9 MB, free: 10.06 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00488/0.1794, allocations: 1.659 MB / 423.6 MB, free: 8.398 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01294/0.1923, allocations: 9.395 MB / 433 MB, free: 14.97 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02716/0.2195, allocations: 16.24 MB / 449.2 MB, free: 14.58 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008421/0.2279, allocations: 5.343 MB / 454.6 MB, free: 9.227 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009823/0.2377, allocations: 5.919 MB / 460.5 MB, free: 3.289 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003789/0.2415, allocations: 1.359 MB / 461.8 MB, free: 1.93 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006025/0.2475, allocations: 1.644 MB / 463.5 MB, free: 292 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.1877/0.4352, allocations: 2.792 MB / 466.3 MB, free: 27.17 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01247/0.4477, allocations: 5.356 MB / 471.6 MB, free: 26.53 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02465/0.4723, allocations: 18.25 MB / 489.9 MB, free: 20.56 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.768e-06/0.4723, allocations: 3.219 kB / 489.9 MB, free: 20.56 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.4723, allocations: 0 / 489.9 MB, free: 20.56 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0006097/0.4729, allocations: 0 / 489.9 MB, free: 20.56 MB / 382.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.04299/0.5159, allocations: 12.32 MB / 0.4904 GB, free: 13.01 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/0.516, allocations: 14.95 kB / 0.4904 GB, free: 13 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00621/0.5222, allocations: 1.51 MB / 0.4919 GB, free: 12.07 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0353/0.5575, allocations: 6.285 MB / 0.498 GB, free: 9.273 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01159/0.5691, allocations: 5.193 MB / 0.5031 GB, free: 6.195 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006814/0.5697, allocations: 0.6699 MB / 0.5038 GB, free: 5.895 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00378/0.5735, allocations: 0.8793 MB / 0.5046 GB, free: 5.082 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04125/0.6148, allocations: 14.71 MB / 0.519 GB, free: 6.348 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004244/0.6152, allocations: 7.953 kB / 0.519 GB, free: 6.34 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003562/0.6188, allocations: 377.9 kB / 0.5194 GB, free: 5.98 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006783/0.6194, allocations: 499.3 kB / 0.5198 GB, free: 5.488 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03385/0.6533, allocations: 13.53 MB / 0.533 GB, free: 7.938 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08998/0.7433, allocations: 44.21 MB / 0.5762 GB, free: 11.48 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01468/0.7579, allocations: 11.25 MB / 0.5872 GB, free: 15.13 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005242/0.7632, allocations: 2.858 MB / 0.59 GB, free: 12.27 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004246/0.7636, allocations: 176.9 kB / 0.5902 GB, free: 12.09 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.388e-05/0.7637, allocations: 86.55 kB / 0.5902 GB, free: 12 MB / 478.1 MB Notification: Performance of pre-optimization done (n=409): time 6.222e-06/0.7637, allocations: 0 / 0.5902 GB, free: 12 MB / 478.1 MB Notification: Performance of matching and sorting (n=409): time 0.02333/0.787, allocations: 9.566 MB / 0.5996 GB, free: 2.438 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001021/0.7871, allocations: 125 kB / 0.5997 GB, free: 2.297 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00559/0.7927, allocations: 3.156 MB / 0.6028 GB, free: 15.12 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00076/0.7935, allocations: 89.7 kB / 0.6029 GB, free: 15.03 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003106/0.7966, allocations: 3.835 MB / 0.6066 GB, free: 11.18 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002067/0.7987, allocations: 1.463 MB / 0.6081 GB, free: 9.742 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002182/0.8008, allocations: 1.132 MB / 0.6092 GB, free: 8.598 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.801, allocations: 309.7 kB / 0.6095 GB, free: 8.297 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004689/0.8056, allocations: 2.834 MB / 0.6122 GB, free: 5.457 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00703/0.8127, allocations: 4.899 MB / 0.617 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0129/0.8256, allocations: 8.256 MB / 0.6251 GB, free: 6.734 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.861e-05/0.8256, allocations: 19.47 kB / 0.6251 GB, free: 6.719 MB / 0.4981 GB Notification: Performance of matching and sorting (n=743) (initialization): time 0.02116/0.8468, allocations: 9.083 MB / 0.634 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.382e-05/0.8469, allocations: 36 kB / 0.634 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001171/0.847, allocations: 64 kB / 0.6341 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003692/0.8507, allocations: 1.152 MB / 0.6352 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005186/0.8559, allocations: 1.289 MB / 0.6364 GB, free: 11.6 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01683/0.8727, allocations: 10.82 MB / 0.647 GB, free: 0.5547 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.2213/1.094, allocations: 0.75 MB / 0.6477 GB, free: 174.4 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002112/1.096, allocations: 274.5 kB / 0.648 GB, free: 174.4 MB / 0.5137 GB 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.008834/1.105, allocations: 3.425 MB / 0.6513 GB, free: 174.3 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001159/1.106, allocations: 366 kB / 0.6517 GB, free: 174.3 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01308/1.119, allocations: 6.876 MB / 0.6584 GB, free: 174.1 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009044/1.128, allocations: 5.7 MB / 0.664 GB, free: 172.2 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.143e-05/1.128, allocations: 12.97 kB / 0.664 GB, free: 172.2 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001036/1.128, allocations: 26 kB / 0.664 GB, free: 172.2 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02581/1.154, allocations: 15.2 MB / 0.6789 GB, free: 166.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-05/1.154, allocations: 16.81 kB / 0.6789 GB, free: 166.3 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003039/1.157, allocations: 0.7862 MB / 0.6796 GB, free: 166.2 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00311/1.16, allocations: 1.058 MB / 0.6807 GB, free: 165.7 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006708/1.161, allocations: 107.8 kB / 0.6808 GB, free: 165.6 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0124/1.174, allocations: 10.59 MB / 0.6911 GB, free: 156.2 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.878e-06/1.174, allocations: 19.94 kB / 0.6911 GB, free: 156.2 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01555/1.189, allocations: 10.66 MB / 0.7015 GB, free: 146.8 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002628/1.192, allocations: 1.005 MB / 0.7025 GB, free: 145.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007834/1.192, allocations: 95.61 kB / 0.7026 GB, free: 145.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002454/1.195, allocations: 273.7 kB / 0.7029 GB, free: 145.6 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006784/1.196, allocations: 346.4 kB / 0.7032 GB, free: 145.4 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000269/1.196, allocations: 135.8 kB / 0.7033 GB, free: 145.3 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003204/1.199, allocations: 2.127 MB / 0.7054 GB, free: 143.2 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/1.199, allocations: 0 / 0.7054 GB, free: 143.2 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.007339/1.206, allocations: 2.251 MB / 0.7076 GB, free: 140.9 MB / 0.5137 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.01478/1.221, allocations: 11.4 MB / 0.7187 GB, free: 129.3 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01133/1.233, allocations: 7.157 MB / 0.7257 GB, free: 122.1 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-05/1.233, allocations: 0 / 0.7257 GB, free: 122.1 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005642/1.238, allocations: 3.405 MB / 0.7291 GB, free: 118.7 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005075/1.243, allocations: 0.8029 MB / 0.7298 GB, free: 117.9 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08213/1.325, allocations: 51.82 MB / 0.7804 GB, free: 63.46 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00584/1.331, allocations: 5.938 MB / 0.7862 GB, free: 57.48 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.004636/1.336, allocations: 2.158 MB / 0.7884 GB, free: 55.32 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003756/1.34, allocations: 2.999 MB / 0.7913 GB, free: 52.32 MB / 0.5137 GB Notification: Performance of SimCode: time 1.012e-06/1.34, allocations: 0 / 0.7913 GB, free: 52.32 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3726/1.712, allocations: 114.7 MB / 0.9033 GB, free: 134.2 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.19/20.9, allocations: 1.203 kB / 0.9033 GB, free: 134.2 MB / 0.5137 GB " [Timeout remaining time 639] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses.fmu > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 23.58603499700257]