Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.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.00116/0.00116, allocations: 88.05 kB / 20.67 MB, free: 3.871 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.001365/0.001365, allocations: 145.1 kB / 23.93 MB, free: 0.6211 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.8667/0.8667, allocations: 173.4 MB / 200.4 MB, free: 9.434 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.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 3.938 kB / 318.4 MB, free: 6.371 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.678e-05/1.873e-05, allocations: 2.281 kB / 318.4 MB, free: 6.367 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01053/0.01055, allocations: 14.3 MB / 332.7 MB, free: 7.988 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008106/0.01866, allocations: 4.501 MB / 337.2 MB, free: 3.473 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002924/0.02158, allocations: 159.2 kB / 337.4 MB, free: 3.316 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00966/0.03124, allocations: 7.079 MB / 344.5 MB, free: 12.21 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00721/0.03845, allocations: 2.054 MB / 346.5 MB, free: 10.15 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003134/0.04159, allocations: 1.496 MB / 348 MB, free: 8.656 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.008707/0.0503, allocations: 9.824 MB / 357.9 MB, free: 14.79 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01599/0.06629, allocations: 13.51 MB / 371.4 MB, free: 1.137 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009633/0.07592, allocations: 7.746 MB / 379.1 MB, free: 9.379 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008289/0.08421, allocations: 5.255 MB / 384.4 MB, free: 4.113 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003327/0.08754, allocations: 1.359 MB / 385.7 MB, free: 2.754 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004428/0.09196, allocations: 1.648 MB / 387.4 MB, free: 1.105 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003322/0.09529, allocations: 2.848 MB / 390.2 MB, free: 14.25 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006033/0.1013, allocations: 3.598 MB / 393.8 MB, free: 10.64 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01435/0.1157, allocations: 18.63 MB / 412.4 MB, free: 7.961 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.1157, allocations: 0 / 412.4 MB, free: 7.961 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1157, allocations: 4 kB / 412.5 MB, free: 7.957 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0004116/0.1161, allocations: 0 / 412.5 MB, free: 7.957 MB / 378.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.02346/0.1395, allocations: 12.16 MB / 424.6 MB, free: 11.71 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.448e-05/0.1396, allocations: 8.922 kB / 424.6 MB, free: 11.71 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003163/0.1428, allocations: 1.513 MB / 426.1 MB, free: 10.18 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01828/0.1611, allocations: 6.28 MB / 432.4 MB, free: 3.891 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009924/0.171, allocations: 5.917 MB / 438.3 MB, free: 13.9 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004199/0.1714, allocations: 0.6742 MB / 439 MB, free: 13.23 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002655/0.174, allocations: 0.8788 MB / 439.9 MB, free: 12.35 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2776/0.4516, allocations: 14.94 MB / 454.8 MB, free: 102.4 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001826/0.4518, allocations: 5.625 kB / 454.8 MB, free: 102.4 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008836/0.4527, allocations: 375 kB / 455.2 MB, free: 102.4 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002928/0.453, allocations: 500 kB / 455.7 MB, free: 102.4 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01558/0.4685, allocations: 13.47 MB / 469.2 MB, free: 97.23 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04011/0.5087, allocations: 40.04 MB / 0.4973 GB, free: 60.21 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005446/0.5141, allocations: 5.953 MB / 0.5031 GB, free: 54.46 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002456/0.5166, allocations: 2.864 MB / 0.5059 GB, free: 51.61 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002247/0.5168, allocations: 83.95 kB / 0.506 GB, free: 51.52 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.188e-05/0.5168, allocations: 90.42 kB / 0.506 GB, free: 51.43 MB / 410.8 MB Notification: Performance of pre-optimization done (n=409): time 6.723e-06/0.5168, allocations: 0 / 0.506 GB, free: 51.43 MB / 410.8 MB Notification: Performance of matching and sorting (n=409): time 0.0115/0.5283, allocations: 9.396 MB / 0.5152 GB, free: 42.04 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.345e-05/0.5284, allocations: 121.1 kB / 0.5153 GB, free: 41.91 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003084/0.5315, allocations: 3.279 MB / 0.5185 GB, free: 38.7 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0002302/0.5317, allocations: 85.7 kB / 0.5186 GB, free: 38.61 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009521/0.5327, allocations: 3.82 MB / 0.5223 GB, free: 35.21 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005884/0.5332, allocations: 1.447 MB / 0.5238 GB, free: 33.78 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009214/0.5342, allocations: 1.117 MB / 0.5248 GB, free: 32.65 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 2.699e-05/0.5342, allocations: 309.1 kB / 0.5251 GB, free: 32.34 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002258/0.5364, allocations: 2.838 MB / 0.5279 GB, free: 29.5 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002667/0.5391, allocations: 4.896 MB / 0.5327 GB, free: 23.66 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005465/0.5446, allocations: 8.251 MB / 0.5408 GB, free: 14.48 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.782e-05/0.5446, allocations: 24 kB / 0.5408 GB, free: 14.45 MB / 410.8 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.008857/0.5535, allocations: 9.091 MB / 0.5497 GB, free: 5.344 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.169e-05/0.5535, allocations: 32 kB / 0.5497 GB, free: 5.312 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.302e-05/0.5536, allocations: 68 kB / 0.5498 GB, free: 5.246 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001862/0.5555, allocations: 1.134 MB / 0.5509 GB, free: 4.105 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002216/0.5577, allocations: 1.295 MB / 0.5521 GB, free: 2.809 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00949/0.5672, allocations: 10.46 MB / 0.5623 GB, free: 8.133 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002706/0.5699, allocations: 0.7492 MB / 0.5631 GB, free: 7.379 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004325/0.5703, allocations: 276 kB / 0.5633 GB, free: 7.109 MB / 426.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.004424/0.5747, allocations: 3.431 MB / 0.5667 GB, free: 3.664 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005209/0.5753, allocations: 365.6 kB / 0.567 GB, free: 3.305 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008233/0.5835, allocations: 6.874 MB / 0.5737 GB, free: 12.4 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006501/0.59, allocations: 5.706 MB / 0.5793 GB, free: 6.684 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-05/0.59, allocations: 12 kB / 0.5793 GB, free: 6.672 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.869e-05/0.5901, allocations: 19.92 kB / 0.5794 GB, free: 6.652 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01999/0.6101, allocations: 14.7 MB / 0.5937 GB, free: 7.801 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.7e-05/0.6101, allocations: 12 kB / 0.5937 GB, free: 7.789 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001633/0.6117, allocations: 0.7918 MB / 0.5945 GB, free: 6.996 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001887/0.6136, allocations: 1.064 MB / 0.5955 GB, free: 5.926 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002722/0.6139, allocations: 108 kB / 0.5956 GB, free: 5.82 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009787/0.6237, allocations: 10.21 MB / 0.6056 GB, free: 11.39 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.017e-05/0.6237, allocations: 23.88 kB / 0.6056 GB, free: 11.37 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01124/0.6349, allocations: 10.64 MB / 0.616 GB, free: 0.4961 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.1563/0.7912, allocations: 0.9573 MB / 0.617 GB, free: 152.9 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008319/0.7921, allocations: 94.67 kB / 0.617 GB, free: 152.9 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001552/0.7936, allocations: 279.6 kB / 0.6173 GB, free: 152.9 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006234/0.7943, allocations: 360.2 kB / 0.6177 GB, free: 152.9 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003011/0.7946, allocations: 137.1 kB / 0.6178 GB, free: 152.9 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.002612/0.7972, allocations: 2.123 MB / 0.6199 GB, free: 152.8 MB / 474.8 MB Notification: Performance of sort global known variables: time 7.1e-08/0.7972, allocations: 0 / 0.6199 GB, free: 152.8 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.004472/0.8016, allocations: 2.257 MB / 0.6221 GB, free: 152.8 MB / 474.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.01002/0.8117, allocations: 11.38 MB / 0.6332 GB, free: 148.7 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.0078/0.8195, allocations: 7.139 MB / 0.6402 GB, free: 146 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.62e-05/0.8195, allocations: 3.938 kB / 0.6402 GB, free: 146 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003536/0.823, allocations: 3.414 MB / 0.6435 GB, free: 144.1 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003001/0.826, allocations: 0.8005 MB / 0.6443 GB, free: 143.5 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05617/0.8822, allocations: 51.9 MB / 0.695 GB, free: 92.53 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005068/0.8872, allocations: 5.475 MB / 0.7003 GB, free: 87.02 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.003461/0.8907, allocations: 2.155 MB / 0.7024 GB, free: 84.86 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002904/0.8936, allocations: 3.007 MB / 0.7053 GB, free: 81.86 MB / 474.8 MB Notification: Performance of SimCode: time 1.542e-06/0.8936, allocations: 0 / 0.7053 GB, free: 81.86 MB / 474.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2854/1.179, allocations: 116.2 MB / 0.8188 GB, free: 153.4 MB / 490.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.931/11.11, allocations: 1.828 kB / 0.8188 GB, free: 153.4 MB / 490.8 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_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_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses.fmu > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 12.952291485853493]