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.00133/0.00133, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001419/0.001419, allocations: 211.9 kB / 23.73 MB, free: 4.387 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.525/1.525, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.001596/0.001596, allocations: 52 kB / 377.7 MB, free: 2.953 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2544/0.256, allocations: 53.36 MB / 431.1 MB, free: 6.801 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01836/0.2744, allocations: 14.32 MB / 445.4 MB, free: 8.414 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01296/0.2873, allocations: 4.554 MB / 450 MB, free: 3.848 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003831/0.2912, allocations: 155.2 kB / 450.1 MB, free: 3.695 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02511/0.3163, allocations: 6.689 MB / 456.8 MB, free: 12.99 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01173/0.328, allocations: 2.021 MB / 458.8 MB, free: 10.96 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006959/0.335, allocations: 1.514 MB / 460.3 MB, free: 9.457 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.02067/0.3557, allocations: 9.622 MB / 470 MB, free: 15.8 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03843/0.3941, allocations: 13.58 MB / 483.5 MB, free: 2.062 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01305/0.4071, allocations: 5.393 MB / 488.9 MB, free: 12.66 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01506/0.4222, allocations: 5.973 MB / 494.9 MB, free: 6.664 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004943/0.4271, allocations: 1.359 MB / 496.3 MB, free: 5.305 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007381/0.4345, allocations: 1.675 MB / 498 MB, free: 3.629 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00576/0.4403, allocations: 2.79 MB / 0.489 GB, free: 0.832 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.011/0.4513, allocations: 4.191 MB / 0.4931 GB, free: 12.62 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03373/0.485, allocations: 18.5 MB / 0.5112 GB, free: 10.07 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.225e-06/0.485, allocations: 0 / 0.5112 GB, free: 10.07 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.063e-06/0.485, allocations: 4 kB / 0.5112 GB, free: 10.07 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0006836/0.4857, allocations: 0 / 0.5112 GB, free: 10.07 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.03778/0.5235, allocations: 12.25 MB / 0.5231 GB, free: 13.73 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.224e-05/0.5235, allocations: 8.031 kB / 0.5231 GB, free: 13.73 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004297/0.5278, allocations: 1.513 MB / 0.5246 GB, free: 12.2 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03615/0.564, allocations: 6.199 MB / 0.5307 GB, free: 5.992 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.016/0.58, allocations: 5.92 MB / 0.5364 GB, free: 0 / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.3914/0.9713, allocations: 0.6749 MB / 0.5371 GB, free: 89.36 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003642/0.975, allocations: 0.8711 MB / 0.538 GB, free: 89.36 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0343/1.009, allocations: 14.98 MB / 0.5526 GB, free: 83.71 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002486/1.01, allocations: 18.36 kB / 0.5526 GB, free: 83.7 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001665/1.011, allocations: 372.9 kB / 0.553 GB, free: 83.42 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003785/1.012, allocations: 496.1 kB / 0.5534 GB, free: 83.27 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02214/1.034, allocations: 13.51 MB / 0.5666 GB, free: 70.26 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06627/1.1, allocations: 40.09 MB / 0.6058 GB, free: 30.04 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009039/1.109, allocations: 5.966 MB / 0.6116 GB, free: 24.3 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00386/1.113, allocations: 2.875 MB / 0.6144 GB, free: 21.42 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003619/1.113, allocations: 107.9 kB / 0.6145 GB, free: 21.32 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.965e-05/1.113, allocations: 86.5 kB / 0.6146 GB, free: 21.22 MB / 446.1 MB Notification: Performance of pre-optimization done (n=409): time 7.875e-06/1.113, allocations: 0 / 0.6146 GB, free: 21.22 MB / 446.1 MB Notification: Performance of matching and sorting (n=409): time 0.01806/1.131, allocations: 9.42 MB / 0.6238 GB, free: 11.8 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.603e-05/1.131, allocations: 125 kB / 0.6239 GB, free: 11.66 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003894/1.135, allocations: 3.286 MB / 0.6271 GB, free: 8.449 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005272/1.136, allocations: 93.7 kB / 0.6272 GB, free: 8.352 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00151/1.137, allocations: 3.834 MB / 0.6309 GB, free: 4.934 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001086/1.138, allocations: 1.458 MB / 0.6324 GB, free: 3.496 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001399/1.14, allocations: 1.144 MB / 0.6335 GB, free: 2.34 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.404e-05/1.14, allocations: 305.1 kB / 0.6338 GB, free: 2.039 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00373/1.144, allocations: 2.841 MB / 0.6366 GB, free: 15.19 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006558/1.15, allocations: 4.911 MB / 0.6413 GB, free: 9.332 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01309/1.163, allocations: 8.271 MB / 0.6494 GB, free: 128 kB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.656e-05/1.163, allocations: 23.94 kB / 0.6494 GB, free: 104 kB / 462.1 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.02023/1.184, allocations: 9.115 MB / 0.6584 GB, free: 6.973 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.231e-05/1.184, allocations: 32 kB / 0.6584 GB, free: 6.941 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001549/1.184, allocations: 68 kB / 0.6584 GB, free: 6.875 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003747/1.188, allocations: 1.15 MB / 0.6596 GB, free: 5.719 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005617/1.193, allocations: 1.303 MB / 0.6608 GB, free: 4.414 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01707/1.21, allocations: 10.44 MB / 0.671 GB, free: 9.746 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005138/1.215, allocations: 0.7491 MB / 0.6718 GB, free: 8.992 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001232/1.217, allocations: 284 kB / 0.672 GB, free: 8.715 MB / 494.1 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.007543/1.224, allocations: 3.419 MB / 0.6754 GB, free: 5.281 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000946/1.225, allocations: 365.8 kB / 0.6757 GB, free: 4.922 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01334/1.238, allocations: 6.874 MB / 0.6824 GB, free: 14.02 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01102/1.249, allocations: 5.733 MB / 0.688 GB, free: 8.273 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.032e-05/1.25, allocations: 16 kB / 0.6881 GB, free: 8.258 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.364e-05/1.25, allocations: 19.92 kB / 0.6881 GB, free: 8.238 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03185/1.281, allocations: 14.75 MB / 0.7025 GB, free: 9.293 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.776e-05/1.281, allocations: 12 kB / 0.7025 GB, free: 9.281 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003444/1.285, allocations: 0.7918 MB / 0.7033 GB, free: 8.488 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00341/1.288, allocations: 1.056 MB / 0.7043 GB, free: 7.426 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006504/1.289, allocations: 120 kB / 0.7044 GB, free: 7.309 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01673/1.306, allocations: 10.2 MB / 0.7144 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.009e-05/1.306, allocations: 23.88 kB / 0.7144 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01949/1.325, allocations: 10.7 MB / 0.7248 GB, free: 1.918 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003277/1.328, allocations: 0.9765 MB / 0.7258 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008753/1.329, allocations: 99.92 kB / 0.7259 GB, free: 0.8398 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002891/1.332, allocations: 267.9 kB / 0.7262 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008623/1.333, allocations: 367.1 kB / 0.7265 GB, free: 224 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003591/1.333, allocations: 148 kB / 0.7266 GB, free: 76 kB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004542/1.338, allocations: 2.121 MB / 0.7287 GB, free: 13.95 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/1.338, allocations: 3.938 kB / 0.7287 GB, free: 13.94 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.01061/1.349, allocations: 2.251 MB / 0.7309 GB, free: 11.68 MB / 0.545 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.02227/1.371, allocations: 11.43 MB / 0.7421 GB, free: 16 kB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.228/1.599, allocations: 7.163 MB / 0.7491 GB, free: 190.9 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-05/1.599, allocations: 3.969 kB / 0.7491 GB, free: 190.9 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005834/1.605, allocations: 3.419 MB / 0.7524 GB, free: 189.6 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004207/1.609, allocations: 0.7992 MB / 0.7532 GB, free: 189.3 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06734/1.676, allocations: 51.88 MB / 0.8039 GB, free: 142.9 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004801/1.681, allocations: 5.467 MB / 0.8092 GB, free: 137.4 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.00434/1.685, allocations: 2.154 MB / 0.8113 GB, free: 135.2 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003608/1.689, allocations: 3.034 MB / 0.8143 GB, free: 132.2 MB / 0.545 GB Notification: Performance of SimCode: time 1.643e-06/1.689, allocations: 0 / 0.8143 GB, free: 132.2 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1621/1.851, allocations: 120.1 MB / 0.9315 GB, free: 12.86 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.71/18.56, allocations: 19.86 kB / 0.9316 GB, free: 12.84 MB / 0.545 GB " [Timeout remaining time 641] (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: 21.368846179015236]