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.0008463/0.0008463, allocations: 87.62 kB / 21.43 MB, free: 3.133 MB / 18.57 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.00439/0.00439, allocations: 161.6 kB / 24.69 MB, free: 8.883 MB / 18.57 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 0.8403/0.8403, allocations: 158.6 MB / 186.5 MB, free: 3.055 MB / 170.7 MB " [Timeout remaining time 179] 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: Performance of FrontEnd - loaded program: time 1.963e-06/1.963e-06, allocations: 0 / 298.4 MB, free: 3.516 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.173e-05/2.369e-05, allocations: 2.281 kB / 298.4 MB, free: 3.512 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.1387/0.1387, allocations: 14.25 MB / 312.7 MB, free: 7.559 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.005562/0.1443, allocations: 4.531 MB / 317.2 MB, free: 4.484 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008613/0.1451, allocations: 134.2 kB / 317.4 MB, free: 4.441 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005735/0.1509, allocations: 7.082 MB / 324.4 MB, free: 436 kB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002502/0.1534, allocations: 1.918 MB / 326.4 MB, free: 14.92 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001742/0.1551, allocations: 1.605 MB / 328 MB, free: 13.7 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.005753/0.1608, allocations: 9.826 MB / 337.8 MB, free: 7.43 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01098/0.1718, allocations: 13.49 MB / 351.3 MB, free: 9.789 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005815/0.1776, allocations: 7.742 MB / 359 MB, free: 2.035 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003648/0.1813, allocations: 5.251 MB / 364.3 MB, free: 12.77 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008883/0.1822, allocations: 1.359 MB / 365.6 MB, free: 11.41 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001504/0.1837, allocations: 1.656 MB / 367.3 MB, free: 9.758 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001353/0.185, allocations: 2.84 MB / 370.1 MB, free: 6.91 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002321/0.1874, allocations: 3.602 MB / 373.7 MB, free: 3.301 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009755/0.1971, allocations: 18.48 MB / 392.2 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.1971, allocations: 0 / 392.2 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1971, allocations: 0 / 392.2 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001233/0.1972, allocations: 0 / 392.2 MB, free: 0.7734 MB / 346.7 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.01659/0.2138, allocations: 12.16 MB / 404.4 MB, free: 4.531 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.2139, allocations: 11.98 kB / 404.4 MB, free: 4.52 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001486/0.2154, allocations: 1.517 MB / 405.9 MB, free: 2.992 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.016/0.2314, allocations: 6.28 MB / 412.2 MB, free: 12.7 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006224/0.2376, allocations: 5.254 MB / 417.4 MB, free: 7.375 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002948/0.2379, allocations: 0.6704 MB / 418.1 MB, free: 6.703 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009147/0.2388, allocations: 0.8827 MB / 419 MB, free: 5.82 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01553/0.2543, allocations: 14.93 MB / 433.9 MB, free: 6.781 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001171/0.2544, allocations: 11.95 kB / 433.9 MB, free: 6.77 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006198/0.255, allocations: 376 kB / 434.3 MB, free: 6.402 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002822/0.2553, allocations: 0.4914 MB / 434.8 MB, free: 5.906 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01443/0.2698, allocations: 13.47 MB / 448.3 MB, free: 8.406 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2925/0.5623, allocations: 40.03 MB / 488.3 MB, free: 92.24 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005306/0.5676, allocations: 5.945 MB / 494.2 MB, free: 89.89 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002171/0.5698, allocations: 2.864 MB / 497.1 MB, free: 88.43 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001909/0.57, allocations: 85.38 kB / 497.2 MB, free: 88.4 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.397e-05/0.57, allocations: 77.75 kB / 497.3 MB, free: 88.33 MB / 410.8 MB Notification: Performance of pre-optimization done (n=409): time 5.15e-06/0.57, allocations: 0 / 497.3 MB, free: 88.33 MB / 410.8 MB Notification: Performance of matching and sorting (n=409): time 0.01011/0.5801, allocations: 9.423 MB / 0.4948 GB, free: 83.43 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.935e-05/0.5802, allocations: 118.8 kB / 0.4949 GB, free: 83.34 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002245/0.5824, allocations: 3.273 MB / 0.4981 GB, free: 80.75 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001495/0.5826, allocations: 93.7 kB / 0.4982 GB, free: 80.66 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008637/0.5834, allocations: 3.823 MB / 0.5019 GB, free: 77.45 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004739/0.5839, allocations: 1.438 MB / 0.5034 GB, free: 76.18 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008833/0.5848, allocations: 1.125 MB / 0.5044 GB, free: 75.05 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 2.118e-05/0.5848, allocations: 305.1 kB / 0.5047 GB, free: 74.75 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002097/0.5869, allocations: 2.838 MB / 0.5075 GB, free: 71.9 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002651/0.5895, allocations: 4.9 MB / 0.5123 GB, free: 66.06 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005163/0.5947, allocations: 8.255 MB / 0.5204 GB, free: 56.87 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.076e-05/0.5947, allocations: 20 kB / 0.5204 GB, free: 56.85 MB / 410.8 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.00725/0.602, allocations: 9.083 MB / 0.5292 GB, free: 47.75 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.396e-05/0.602, allocations: 35.94 kB / 0.5293 GB, free: 47.72 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.883e-05/0.6021, allocations: 75.97 kB / 0.5294 GB, free: 47.64 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001612/0.6037, allocations: 1.146 MB / 0.5305 GB, free: 46.49 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002073/0.6057, allocations: 1.291 MB / 0.5317 GB, free: 45.2 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007678/0.6134, allocations: 10.46 MB / 0.5419 GB, free: 34.52 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002063/0.6155, allocations: 0.753 MB / 0.5427 GB, free: 33.76 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002513/0.6157, allocations: 280 kB / 0.5429 GB, free: 33.48 MB / 410.8 MB 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.003309/0.619, allocations: 3.416 MB / 0.5463 GB, free: 30.05 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003317/0.6194, allocations: 361.7 kB / 0.5466 GB, free: 29.7 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006067/0.6254, allocations: 6.878 MB / 0.5533 GB, free: 22.8 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004775/0.6302, allocations: 5.705 MB / 0.5589 GB, free: 17.08 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.033e-05/0.6302, allocations: 12 kB / 0.5589 GB, free: 17.07 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.031e-05/0.6302, allocations: 19.92 kB / 0.5589 GB, free: 17.05 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01367/0.6439, allocations: 14.7 MB / 0.5733 GB, free: 2.195 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.364e-05/0.6439, allocations: 12 kB / 0.5733 GB, free: 2.184 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001445/0.6454, allocations: 0.7887 MB / 0.5741 GB, free: 1.395 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00154/0.6469, allocations: 1.064 MB / 0.5751 GB, free: 332 kB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001617/0.6471, allocations: 115.9 kB / 0.5752 GB, free: 216 kB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009321/0.6564, allocations: 10.21 MB / 0.5852 GB, free: 5.785 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.487e-06/0.6564, allocations: 23.88 kB / 0.5852 GB, free: 5.762 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01054/0.6669, allocations: 10.65 MB / 0.5956 GB, free: 10.88 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001508/0.6685, allocations: 0.9648 MB / 0.5966 GB, free: 9.914 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002968/0.6688, allocations: 95.98 kB / 0.5967 GB, free: 9.82 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001131/0.6699, allocations: 275.8 kB / 0.5969 GB, free: 9.551 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004535/0.6703, allocations: 359 kB / 0.5973 GB, free: 9.199 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001874/0.6705, allocations: 144 kB / 0.5974 GB, free: 9.059 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.002128/0.6727, allocations: 2.121 MB / 0.5995 GB, free: 6.934 MB / 442.8 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6727, allocations: 0 / 0.5995 GB, free: 6.934 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.004701/0.6774, allocations: 2.239 MB / 0.6017 GB, free: 4.684 MB / 442.8 MB 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.01037/0.6877, allocations: 11.37 MB / 0.6128 GB, free: 9.07 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.007831/0.6956, allocations: 7.15 MB / 0.6197 GB, free: 1.898 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 6.632e-06/0.6956, allocations: 0 / 0.6197 GB, free: 1.898 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.1284/0.8239, allocations: 3.404 MB / 0.6231 GB, free: 153.8 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003219/0.8271, allocations: 0.7997 MB / 0.6239 GB, free: 153.8 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04964/0.8768, allocations: 51.89 MB / 0.6745 GB, free: 121.6 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00342/0.8802, allocations: 5.474 MB / 0.6799 GB, free: 116.2 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.002956/0.8832, allocations: 2.158 MB / 0.682 GB, free: 114 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001984/0.8851, allocations: 3 MB / 0.6849 GB, free: 111 MB / 458.8 MB Notification: Performance of SimCode: time 1.503e-06/0.8851, allocations: 0 / 0.6849 GB, free: 111 MB / 458.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.263/1.148, allocations: 116 MB / 0.7981 GB, free: 122.8 MB / 458.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.4/11.55, allocations: 9.578 kB / 0.7982 GB, free: 122.8 MB / 458.8 MB " [Timeout remaining time 648] (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/jenkins/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/jenkins/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: 13.306162394583225]