Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001249/0.001249, allocations: 118.9 kB / 17.79 MB, free: 5.285 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.001462/0.001462, allocations: 199.3 kB / 20.74 MB, free: 2.344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.581/1.581, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_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_1_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001573/0.001573, allocations: 47.92 kB / 373 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1049, allocations: 53.33 MB / 426.3 MB, free: 4.773 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.2354/0.3403, allocations: 16.67 MB / 443 MB, free: 1.527 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01067/0.351, allocations: 4.721 MB / 447.7 MB, free: 14.66 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00401/0.355, allocations: 157.7 kB / 447.9 MB, free: 14.62 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01775/0.3727, allocations: 7.224 MB / 455.1 MB, free: 10.31 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009091/0.3818, allocations: 1.975 MB / 457.1 MB, free: 9.121 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00574/0.3876, allocations: 1.537 MB / 458.6 MB, free: 8.211 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01534/0.4029, allocations: 9.507 MB / 468.1 MB, free: 2.93 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02873/0.4316, allocations: 16.24 MB / 484.4 MB, free: 6.863 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01019/0.4418, allocations: 5.346 MB / 489.7 MB, free: 1.5 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01093/0.4527, allocations: 5.961 MB / 495.7 MB, free: 11.52 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004137/0.4569, allocations: 1.359 MB / 497 MB, free: 10.16 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005812/0.4627, allocations: 1.672 MB / 498.7 MB, free: 8.488 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004368/0.4671, allocations: 2.794 MB / 0.4897 GB, free: 5.688 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0108/0.4779, allocations: 5.358 MB / 0.495 GB, free: 316 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02486/0.5027, allocations: 18.41 MB / 0.5129 GB, free: 13.84 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.5027, allocations: 0 / 0.5129 GB, free: 13.84 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.5027, allocations: 0 / 0.5129 GB, free: 13.84 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004661/0.5032, allocations: 0 / 0.5129 GB, free: 13.84 MB / 430.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.03919/0.5424, allocations: 12.34 MB / 0.525 GB, free: 1.406 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.287e-05/0.5424, allocations: 8.031 kB / 0.525 GB, free: 1.398 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005658/0.5481, allocations: 1.509 MB / 0.5265 GB, free: 15.88 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03858/0.5867, allocations: 6.199 MB / 0.5325 GB, free: 9.668 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01455/0.6012, allocations: 5.856 MB / 0.5382 GB, free: 3.75 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001001/0.6022, allocations: 0.6743 MB / 0.5389 GB, free: 3.074 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003861/0.6061, allocations: 0.8788 MB / 0.5398 GB, free: 2.195 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0411/0.6472, allocations: 14.75 MB / 0.5542 GB, free: 3.395 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003883/0.6476, allocations: 11.95 kB / 0.5542 GB, free: 3.383 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002971/0.6505, allocations: 372 kB / 0.5545 GB, free: 3.02 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006483/0.6512, allocations: 0.4915 MB / 0.555 GB, free: 2.523 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03223/0.6834, allocations: 13.56 MB / 0.5683 GB, free: 4.934 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09077/0.7742, allocations: 44.74 MB / 0.612 GB, free: 6.949 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4228/1.197, allocations: 11.24 MB / 0.6229 GB, free: 146.1 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004939/1.202, allocations: 2.868 MB / 0.6257 GB, free: 146.1 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004806/1.202, allocations: 289.8 kB / 0.626 GB, free: 145.9 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.488e-05/1.202, allocations: 77.97 kB / 0.6261 GB, free: 145.9 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=409): time 6.112e-06/1.202, allocations: 0 / 0.6261 GB, free: 145.9 MB / 0.5138 GB Notification: Performance of matching and sorting (n=409): time 0.02157/1.224, allocations: 9.579 MB / 0.6354 GB, free: 143 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.594e-05/1.224, allocations: 120.1 kB / 0.6356 GB, free: 142.9 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005729/1.23, allocations: 3.163 MB / 0.6386 GB, free: 141.9 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0005801/1.23, allocations: 94.62 kB / 0.6387 GB, free: 141.8 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.001622/1.232, allocations: 3.835 MB / 0.6425 GB, free: 139.7 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.001062/1.233, allocations: 1.463 MB / 0.6439 GB, free: 138.8 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001562/1.235, allocations: 1.147 MB / 0.645 GB, free: 138.2 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 3.977e-05/1.235, allocations: 302.2 kB / 0.6453 GB, free: 137.9 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003898/1.239, allocations: 2.845 MB / 0.6481 GB, free: 136.9 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004406/1.243, allocations: 4.901 MB / 0.6529 GB, free: 133.3 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008222/1.251, allocations: 8.275 MB / 0.661 GB, free: 128 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.97e-05/1.251, allocations: 19 kB / 0.661 GB, free: 128 MB / 0.5138 GB Notification: Performance of matching and sorting (n=743) (initialization): time 0.01273/1.264, allocations: 9.116 MB / 0.6699 GB, free: 124.5 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 5.052e-05/1.264, allocations: 37.47 kB / 0.6699 GB, free: 124.5 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.94e-05/1.264, allocations: 66.56 kB / 0.67 GB, free: 124.5 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002925/1.267, allocations: 1.146 MB / 0.6711 GB, free: 124.3 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00412/1.271, allocations: 1.295 MB / 0.6724 GB, free: 124.2 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0119/1.283, allocations: 10.84 MB / 0.6829 GB, free: 115.6 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00428/1.287, allocations: 0.7452 MB / 0.6837 GB, free: 114.8 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006059/1.288, allocations: 288 kB / 0.6839 GB, free: 114.5 MB / 0.5138 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.004292/1.292, allocations: 3.423 MB / 0.6873 GB, free: 111.1 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006715/1.293, allocations: 361.7 kB / 0.6876 GB, free: 110.8 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01002/1.303, allocations: 6.88 MB / 0.6944 GB, free: 103.9 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007386/1.31, allocations: 5.729 MB / 0.6999 GB, free: 98.12 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.969e-05/1.31, allocations: 8 kB / 0.7 GB, free: 98.11 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.148e-05/1.31, allocations: 23.92 kB / 0.7 GB, free: 98.09 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02029/1.331, allocations: 15.24 MB / 0.7149 GB, free: 82.7 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.916e-05/1.331, allocations: 16 kB / 0.7149 GB, free: 82.69 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00266/1.333, allocations: 0.7918 MB / 0.7156 GB, free: 81.89 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00288/1.336, allocations: 1.063 MB / 0.7167 GB, free: 80.82 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003238/1.337, allocations: 116 kB / 0.7168 GB, free: 80.71 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01151/1.348, allocations: 10.58 MB / 0.7271 GB, free: 69.87 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.959e-06/1.348, allocations: 20.69 kB / 0.7271 GB, free: 69.85 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01351/1.362, allocations: 10.7 MB / 0.7376 GB, free: 58.91 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002008/1.364, allocations: 1.017 MB / 0.7386 GB, free: 57.87 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005312/1.364, allocations: 95.98 kB / 0.7387 GB, free: 57.78 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002063/1.366, allocations: 275.7 kB / 0.7389 GB, free: 57.51 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006066/1.367, allocations: 347.2 kB / 0.7393 GB, free: 57.17 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002367/1.367, allocations: 143.6 kB / 0.7394 GB, free: 57.03 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.002509/1.37, allocations: 2.129 MB / 0.7415 GB, free: 54.9 MB / 0.5138 GB Notification: Performance of sort global known variables: time 8.1e-08/1.37, allocations: 0 / 0.7415 GB, free: 54.9 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.005944/1.375, allocations: 2.258 MB / 0.7437 GB, free: 52.63 MB / 0.5138 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.01306/1.389, allocations: 11.43 MB / 0.7549 GB, free: 40.97 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01051/1.399, allocations: 7.165 MB / 0.7619 GB, free: 33.79 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.535e-05/1.399, allocations: 0 / 0.7619 GB, free: 33.79 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.005453/1.405, allocations: 3.413 MB / 0.7652 GB, free: 30.36 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004299/1.409, allocations: 0.8041 MB / 0.766 GB, free: 29.59 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09197/1.501, allocations: 51.78 MB / 0.8165 GB, free: 7.133 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01114/1.512, allocations: 5.934 MB / 0.8223 GB, free: 1.16 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.2468/1.759, allocations: 2.154 MB / 0.8244 GB, free: 169.6 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005053/1.764, allocations: 3.028 MB / 0.8274 GB, free: 169.6 MB / 0.545 GB Notification: Performance of SimCode: time 1.834e-06/1.764, allocations: 0 / 0.8274 GB, free: 169.6 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1811/1.945, allocations: 115.3 MB / 0.94 GB, free: 86.13 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.54/20.48, allocations: 9.688 kB / 0.94 GB, free: 86.12 MB / 0.545 GB " [Timeout remaining time 639] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & python3 -m fmpy simulate --output-file Modelica_4.1.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_1_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses.fmu > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 23.28888206400734]