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.001983/0.001983, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.00242/0.00242, allocations: 209.7 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.505/1.505, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.001616/0.001616, allocations: 47.92 kB / 377.7 MB, free: 3.031 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2414/0.243, allocations: 53.37 MB / 431.1 MB, free: 6.637 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01815/0.2611, allocations: 14.31 MB / 445.4 MB, free: 8.254 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009826/0.2709, allocations: 4.548 MB / 450 MB, free: 3.691 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002331/0.2733, allocations: 159.2 kB / 450.1 MB, free: 3.535 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01633/0.2896, allocations: 6.7 MB / 456.8 MB, free: 12.82 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006532/0.2961, allocations: 1.982 MB / 458.8 MB, free: 10.83 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004034/0.3002, allocations: 1.507 MB / 460.3 MB, free: 9.328 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01217/0.3124, allocations: 9.614 MB / 469.9 MB, free: 15.68 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02127/0.3336, allocations: 13.47 MB / 483.4 MB, free: 2.062 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007781/0.3414, allocations: 5.382 MB / 488.8 MB, free: 12.67 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00992/0.3513, allocations: 5.848 MB / 494.6 MB, free: 6.801 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003228/0.3545, allocations: 1.359 MB / 496 MB, free: 5.441 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004558/0.3591, allocations: 1.652 MB / 497.6 MB, free: 3.789 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003215/0.3623, allocations: 2.802 MB / 0.4887 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006339/0.3687, allocations: 4.195 MB / 0.4928 GB, free: 12.77 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01992/0.3886, allocations: 18.49 MB / 0.5109 GB, free: 10.22 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.3886, allocations: 4 kB / 0.5109 GB, free: 10.21 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3886, allocations: 0 / 0.5109 GB, free: 10.21 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000396/0.389, allocations: 0 / 0.5109 GB, free: 10.21 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.0339/0.4229, allocations: 12.25 MB / 0.5228 GB, free: 13.89 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.4229, allocations: 11.97 kB / 0.5228 GB, free: 13.88 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003415/0.4263, allocations: 1.52 MB / 0.5243 GB, free: 12.35 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03679/0.4631, allocations: 6.195 MB / 0.5304 GB, free: 6.141 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01399/0.4771, allocations: 5.924 MB / 0.5362 GB, free: 148 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.3602/0.8373, allocations: 0.6683 MB / 0.5368 GB, free: 88.73 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002876/0.8402, allocations: 0.874 MB / 0.5377 GB, free: 88.73 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0265/0.8667, allocations: 14.98 MB / 0.5523 GB, free: 83.33 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002164/0.8669, allocations: 8.266 kB / 0.5523 GB, free: 83.33 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001484/0.8684, allocations: 377.8 kB / 0.5527 GB, free: 83.05 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003582/0.8688, allocations: 497.5 kB / 0.5531 GB, free: 83 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02012/0.8889, allocations: 13.51 MB / 0.5663 GB, free: 70.18 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05323/0.9421, allocations: 40.08 MB / 0.6055 GB, free: 29.99 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008219/0.9504, allocations: 5.965 MB / 0.6113 GB, free: 24.24 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00345/0.9538, allocations: 2.877 MB / 0.6141 GB, free: 21.36 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002943/0.9541, allocations: 111.9 kB / 0.6142 GB, free: 21.25 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.458e-05/0.9542, allocations: 78.56 kB / 0.6143 GB, free: 21.17 MB / 446.1 MB Notification: Performance of pre-optimization done (n=409): time 7.083e-06/0.9542, allocations: 3.938 kB / 0.6143 GB, free: 21.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=409): time 0.01737/0.9715, allocations: 9.421 MB / 0.6235 GB, free: 11.75 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.154e-05/0.9716, allocations: 133 kB / 0.6236 GB, free: 11.6 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003783/0.9754, allocations: 3.273 MB / 0.6268 GB, free: 8.395 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003485/0.9757, allocations: 89.7 kB / 0.6269 GB, free: 8.301 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001357/0.9771, allocations: 3.837 MB / 0.6306 GB, free: 4.883 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000801/0.9779, allocations: 1.461 MB / 0.6321 GB, free: 3.441 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001277/0.9792, allocations: 1.144 MB / 0.6332 GB, free: 2.285 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.827e-05/0.9792, allocations: 309.1 kB / 0.6335 GB, free: 1.98 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003608/0.9828, allocations: 2.838 MB / 0.6362 GB, free: 15.14 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00636/0.9892, allocations: 4.911 MB / 0.641 GB, free: 9.277 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01218/1.001, allocations: 8.275 MB / 0.6491 GB, free: 68 kB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.203e-05/1.001, allocations: 20 kB / 0.6491 GB, free: 48 kB / 462.1 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.01725/1.019, allocations: 9.108 MB / 0.658 GB, free: 6.926 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.339e-05/1.019, allocations: 32 kB / 0.6581 GB, free: 6.895 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001155/1.019, allocations: 68 kB / 0.6581 GB, free: 6.828 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003425/1.022, allocations: 1.146 MB / 0.6593 GB, free: 5.676 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004941/1.027, allocations: 1.302 MB / 0.6605 GB, free: 4.371 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01631/1.044, allocations: 10.46 MB / 0.6707 GB, free: 9.691 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004232/1.048, allocations: 0.7452 MB / 0.6715 GB, free: 8.941 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000687/1.048, allocations: 287.9 kB / 0.6717 GB, free: 8.66 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.00604/1.054, allocations: 3.425 MB / 0.6751 GB, free: 5.223 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008003/1.055, allocations: 369.5 kB / 0.6754 GB, free: 4.859 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01262/1.068, allocations: 6.874 MB / 0.6822 GB, free: 13.96 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01031/1.078, allocations: 5.729 MB / 0.6877 GB, free: 8.215 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.729e-05/1.078, allocations: 12 kB / 0.6878 GB, free: 8.203 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.688e-05/1.078, allocations: 19.92 kB / 0.6878 GB, free: 8.184 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02772/1.106, allocations: 14.75 MB / 0.7022 GB, free: 9.223 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.811e-05/1.106, allocations: 12 kB / 0.7022 GB, free: 9.211 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0031/1.109, allocations: 0.7918 MB / 0.703 GB, free: 8.418 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003212/1.112, allocations: 1.06 MB / 0.704 GB, free: 7.352 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004073/1.113, allocations: 116 kB / 0.7041 GB, free: 7.238 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01639/1.129, allocations: 10.21 MB / 0.7141 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-05/1.129, allocations: 19.88 kB / 0.7141 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01789/1.147, allocations: 10.7 MB / 0.7246 GB, free: 1.832 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002832/1.15, allocations: 0.961 MB / 0.7255 GB, free: 0.8672 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007241/1.151, allocations: 95.98 kB / 0.7256 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002422/1.153, allocations: 267.7 kB / 0.7258 GB, free: 0.5117 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007299/1.154, allocations: 367 kB / 0.7262 GB, free: 156 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002905/1.154, allocations: 152 kB / 0.7263 GB, free: 4 kB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003351/1.157, allocations: 2.117 MB / 0.7284 GB, free: 13.88 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/1.157, allocations: 0 / 0.7284 GB, free: 13.88 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005868/1.163, allocations: 2.255 MB / 0.7306 GB, free: 11.62 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.2442/1.408, allocations: 11.43 MB / 0.7418 GB, free: 191.9 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01192/1.419, allocations: 7.174 MB / 0.7488 GB, free: 191 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-05/1.419, allocations: 3.969 kB / 0.7488 GB, free: 191 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00506/1.425, allocations: 3.421 MB / 0.7521 GB, free: 189.7 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003676/1.428, allocations: 0.8036 MB / 0.7529 GB, free: 189.4 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07534/1.504, allocations: 51.87 MB / 0.8036 GB, free: 143 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008149/1.512, allocations: 5.477 MB / 0.8089 GB, free: 137.5 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005554/1.517, allocations: 2.158 MB / 0.811 GB, free: 135.3 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004296/1.522, allocations: 3.034 MB / 0.814 GB, free: 132.3 MB / 0.545 GB Notification: Performance of SimCode: time 1.393e-06/1.522, allocations: 0 / 0.814 GB, free: 132.3 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1568/1.678, allocations: 117.1 MB / 0.9283 GB, free: 15.97 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.97/18.65, allocations: 7.938 kB / 0.9283 GB, free: 15.96 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.351637010462582]