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.001607/0.001607, allocations: 112 kB / 20.43 MB, free: 1.457 MB / 14.72 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.001762/0.001762, allocations: 184.6 kB / 23.72 MB, free: 4.699 MB / 14.72 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 1.444/1.444, allocations: 225.6 MB / 252.5 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001563/0.001563, allocations: 47.92 kB / 370.5 MB, free: 9.812 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2451/0.2467, allocations: 52.19 MB / 422.6 MB, free: 14.56 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01991/0.2666, allocations: 16.69 MB / 439.3 MB, free: 13.78 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01049/0.2771, allocations: 4.661 MB / 444 MB, free: 9.105 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00307/0.2801, allocations: 163.2 kB / 444.2 MB, free: 8.945 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01767/0.2978, allocations: 7.254 MB / 451.4 MB, free: 1.676 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00784/0.3056, allocations: 2.067 MB / 453.5 MB, free: 15.6 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004838/0.3105, allocations: 1.565 MB / 455 MB, free: 14.04 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01378/0.3243, allocations: 9.532 MB / 464.6 MB, free: 4.477 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02436/0.3486, allocations: 13.58 MB / 478.2 MB, free: 6.746 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008309/0.3569, allocations: 5.389 MB / 483.6 MB, free: 1.344 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0104/0.3673, allocations: 5.938 MB / 489.5 MB, free: 11.38 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003729/0.3711, allocations: 1.359 MB / 490.8 MB, free: 10.02 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005166/0.3762, allocations: 1.652 MB / 492.5 MB, free: 8.375 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004319/0.3805, allocations: 2.805 MB / 495.3 MB, free: 5.562 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009703/0.3902, allocations: 5.35 MB / 0.4889 GB, free: 196 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02568/0.4159, allocations: 18.4 MB / 0.5069 GB, free: 13.73 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.654e-06/0.4159, allocations: 3.938 kB / 0.5069 GB, free: 13.73 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.993e-06/0.4159, allocations: 3.938 kB / 0.5069 GB, free: 13.73 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005866/0.4165, allocations: 0 / 0.5069 GB, free: 13.73 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.03744/0.454, allocations: 12.25 MB / 0.5189 GB, free: 1.398 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/0.454, allocations: 8.031 kB / 0.5189 GB, free: 1.391 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005158/0.4592, allocations: 1.517 MB / 0.5203 GB, free: 15.86 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03571/0.4949, allocations: 6.277 MB / 0.5265 GB, free: 9.574 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01443/0.5093, allocations: 5.905 MB / 0.5322 GB, free: 3.598 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006748/0.51, allocations: 0.6704 MB / 0.5329 GB, free: 2.926 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00309/0.5131, allocations: 0.8749 MB / 0.5338 GB, free: 2.051 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4/0.9131, allocations: 14.72 MB / 0.5481 GB, free: 88.65 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002138/0.9133, allocations: 13.81 kB / 0.5481 GB, free: 88.64 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001271/0.9145, allocations: 375 kB / 0.5485 GB, free: 88.36 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003392/0.9149, allocations: 496.8 kB / 0.549 GB, free: 88.32 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02245/0.9373, allocations: 13.53 MB / 0.5622 GB, free: 80.58 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06269/1, allocations: 43.45 MB / 0.6046 GB, free: 37.01 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008754/1.009, allocations: 5.978 MB / 0.6105 GB, free: 31.25 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003644/1.012, allocations: 2.859 MB / 0.6132 GB, free: 28.38 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003405/1.013, allocations: 110.4 kB / 0.6134 GB, free: 28.29 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.47e-05/1.013, allocations: 78.5 kB / 0.6134 GB, free: 28.21 MB / 446.1 MB Notification: Performance of pre-optimization done (n=409): time 6.322e-06/1.013, allocations: 1.094 kB / 0.6134 GB, free: 28.21 MB / 446.1 MB Notification: Performance of matching and sorting (n=409): time 0.01777/1.031, allocations: 9.395 MB / 0.6226 GB, free: 18.82 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.757e-05/1.031, allocations: 121.1 kB / 0.6227 GB, free: 18.68 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003657/1.034, allocations: 3.155 MB / 0.6258 GB, free: 15.55 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004382/1.035, allocations: 89.7 kB / 0.6259 GB, free: 15.46 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001411/1.036, allocations: 3.84 MB / 0.6296 GB, free: 12.09 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009707/1.037, allocations: 1.46 MB / 0.6311 GB, free: 10.64 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001339/1.038, allocations: 1.136 MB / 0.6322 GB, free: 9.496 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.075e-05/1.039, allocations: 309.1 kB / 0.6325 GB, free: 9.191 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003256/1.042, allocations: 2.838 MB / 0.6352 GB, free: 6.348 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003965/1.046, allocations: 4.896 MB / 0.64 GB, free: 0.5078 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01153/1.057, allocations: 8.256 MB / 0.6481 GB, free: 7.316 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.134e-05/1.057, allocations: 20 kB / 0.6481 GB, free: 7.297 MB / 462.1 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.01712/1.074, allocations: 9.081 MB / 0.657 GB, free: 14.2 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.233e-05/1.075, allocations: 32 kB / 0.657 GB, free: 14.17 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001225/1.075, allocations: 68 kB / 0.6571 GB, free: 14.1 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003487/1.078, allocations: 1.151 MB / 0.6582 GB, free: 12.95 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004991/1.083, allocations: 1.295 MB / 0.6595 GB, free: 11.65 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01636/1.099, allocations: 10.62 MB / 0.6698 GB, free: 0.8164 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004375/1.104, allocations: 0.7531 MB / 0.6706 GB, free: 60 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001009/1.105, allocations: 276 kB / 0.6708 GB, free: 15.79 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.006142/1.111, allocations: 3.423 MB / 0.6742 GB, free: 12.35 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008207/1.112, allocations: 369.6 kB / 0.6745 GB, free: 11.99 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01291/1.125, allocations: 6.874 MB / 0.6812 GB, free: 5.086 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009758/1.135, allocations: 5.698 MB / 0.6868 GB, free: 15.38 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-05/1.135, allocations: 12 kB / 0.6868 GB, free: 15.36 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.342e-05/1.135, allocations: 19.92 kB / 0.6868 GB, free: 15.34 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0274/1.162, allocations: 15.25 MB / 0.7017 GB, free: 15.9 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.031e-05/1.162, allocations: 16 kB / 0.7017 GB, free: 15.88 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003155/1.165, allocations: 0.7879 MB / 0.7025 GB, free: 15.09 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003372/1.169, allocations: 1.064 MB / 0.7035 GB, free: 14.02 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005627/1.169, allocations: 108 kB / 0.7036 GB, free: 13.92 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0158/1.185, allocations: 10.37 MB / 0.7138 GB, free: 3.316 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.787e-05/1.185, allocations: 23.88 kB / 0.7138 GB, free: 3.293 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01793/1.203, allocations: 10.68 MB / 0.7242 GB, free: 8.379 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002718/1.206, allocations: 0.9571 MB / 0.7252 GB, free: 7.418 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006743/1.206, allocations: 95.98 kB / 0.7253 GB, free: 7.324 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002217/1.208, allocations: 275.8 kB / 0.7255 GB, free: 7.055 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006916/1.209, allocations: 359 kB / 0.7259 GB, free: 6.703 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002948/1.209, allocations: 140 kB / 0.726 GB, free: 6.566 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003395/1.213, allocations: 2.129 MB / 0.7281 GB, free: 4.434 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9.1e-08/1.213, allocations: 0 / 0.7281 GB, free: 4.434 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006126/1.219, allocations: 2.251 MB / 0.7303 GB, free: 2.176 MB / 0.5294 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.01839/1.237, allocations: 11.42 MB / 0.7414 GB, free: 6.516 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.2453/1.483, allocations: 7.14 MB / 0.7484 GB, free: 195.1 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.941e-05/1.483, allocations: 2.031 kB / 0.7484 GB, free: 195.1 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00643/1.489, allocations: 3.407 MB / 0.7517 GB, free: 194.8 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003705/1.493, allocations: 0.808 MB / 0.7525 GB, free: 194.7 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06621/1.559, allocations: 51.98 MB / 0.8033 GB, free: 155.9 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005686/1.565, allocations: 5.934 MB / 0.8091 GB, free: 150 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004358/1.569, allocations: 2.15 MB / 0.8112 GB, free: 147.8 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003036/1.572, allocations: 3.01 MB / 0.8141 GB, free: 144.8 MB / 0.545 GB Notification: Performance of SimCode: time 1.412e-06/1.572, allocations: 0 / 0.8141 GB, free: 144.8 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1698/1.742, allocations: 120.3 MB / 0.9316 GB, free: 24.93 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.05/21.79, allocations: 11.12 kB / 0.9316 GB, free: 24.92 MB / 0.545 GB " [Timeout remaining time 638] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins1/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: 24.46668383299766]