Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.00187/0.00187, allocations: 103.6 kB / 21.18 MB, free: 332 kB / 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.002463/0.002463, allocations: 212 kB / 24.47 MB, free: 3.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.393/1.393, allocations: 207.7 MB / 235.3 MB, free: 9.805 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001869/0.001869, allocations: 55.92 kB / 347.2 MB, free: 9.875 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2284/0.2302, allocations: 49.15 MB / 396.4 MB, free: 8.895 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01346/0.2437, allocations: 14.24 MB / 410.6 MB, free: 15.39 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01098/0.2547, allocations: 4.537 MB / 415.1 MB, free: 12.26 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004002/0.2587, allocations: 135.7 kB / 415.3 MB, free: 12.21 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01719/0.2759, allocations: 6.696 MB / 422 MB, free: 7.309 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007399/0.2833, allocations: 1.875 MB / 423.8 MB, free: 5.844 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004798/0.2881, allocations: 1.605 MB / 425.4 MB, free: 4.621 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01347/0.3015, allocations: 9.505 MB / 435 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02265/0.3242, allocations: 13.47 MB / 448.4 MB, free: 14.81 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008454/0.3327, allocations: 5.378 MB / 453.8 MB, free: 9.418 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01018/0.3428, allocations: 5.805 MB / 459.6 MB, free: 3.594 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003404/0.3462, allocations: 1.359 MB / 461 MB, free: 2.234 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005059/0.3513, allocations: 1.633 MB / 462.6 MB, free: 0.6016 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004356/0.3557, allocations: 2.798 MB / 465.4 MB, free: 13.79 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008964/0.3646, allocations: 4.187 MB / 469.6 MB, free: 9.59 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02292/0.3875, allocations: 18.32 MB / 487.9 MB, free: 7.211 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.3875, allocations: 0 / 487.9 MB, free: 7.211 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.3875, allocations: 4 kB / 487.9 MB, free: 7.207 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003666/0.3879, allocations: 0 / 487.9 MB, free: 7.207 MB / 398.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.03371/0.4216, allocations: 12.24 MB / 0.4884 GB, free: 10.89 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.652e-05/0.4217, allocations: 15.98 kB / 0.4884 GB, free: 10.88 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00418/0.4259, allocations: 1.513 MB / 0.4899 GB, free: 9.352 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0366/0.4625, allocations: 6.284 MB / 0.4961 GB, free: 3.055 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01247/0.4749, allocations: 5.258 MB / 0.5012 GB, free: 13.73 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007379/0.4757, allocations: 0.6743 MB / 0.5018 GB, free: 13.05 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003156/0.4788, allocations: 0.8788 MB / 0.5027 GB, free: 12.18 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03153/0.5103, allocations: 14.93 MB / 0.5173 GB, free: 13.14 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001933/0.5105, allocations: 15.95 kB / 0.5173 GB, free: 13.12 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001033/0.5116, allocations: 372 kB / 0.5177 GB, free: 12.76 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005602/0.5121, allocations: 0.4915 MB / 0.5181 GB, free: 12.26 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02619/0.5383, allocations: 13.47 MB / 0.5313 GB, free: 14.77 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3963/0.9346, allocations: 40.01 MB / 0.5704 GB, free: 118 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009734/0.9443, allocations: 5.947 MB / 0.5762 GB, free: 117.8 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003954/0.9483, allocations: 2.856 MB / 0.5789 GB, free: 117.8 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002759/0.9486, allocations: 88.98 kB / 0.579 GB, free: 117.8 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.36e-05/0.9486, allocations: 86.73 kB / 0.5791 GB, free: 117.8 MB / 478.1 MB Notification: Performance of pre-optimization done (n=409): time 6.983e-06/0.9486, allocations: 3.609 kB / 0.5791 GB, free: 117.8 MB / 478.1 MB Notification: Performance of matching and sorting (n=409): time 0.01764/0.9663, allocations: 9.414 MB / 0.5883 GB, free: 115.4 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.622e-05/0.9663, allocations: 120.3 kB / 0.5884 GB, free: 115.3 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003636/0.97, allocations: 3.282 MB / 0.5916 GB, free: 114.2 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003639/0.9703, allocations: 92.52 kB / 0.5917 GB, free: 114.1 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001576/0.9719, allocations: 3.827 MB / 0.5955 GB, free: 111.8 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000956/0.9729, allocations: 1.466 MB / 0.5969 GB, free: 110.8 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001344/0.9742, allocations: 1.132 MB / 0.598 GB, free: 110.3 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 3.722e-05/0.9742, allocations: 304.9 kB / 0.5983 GB, free: 110 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003236/0.9775, allocations: 2.84 MB / 0.6011 GB, free: 109 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003904/0.9814, allocations: 4.901 MB / 0.6058 GB, free: 104.9 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007607/0.989, allocations: 8.251 MB / 0.6139 GB, free: 98.84 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.303e-05/0.9891, allocations: 21.06 kB / 0.6139 GB, free: 98.84 MB / 478.1 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.0119/1.001, allocations: 9.084 MB / 0.6228 GB, free: 91.67 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.521e-05/1.001, allocations: 32 kB / 0.6228 GB, free: 91.64 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-05/1.001, allocations: 71.94 kB / 0.6229 GB, free: 91.57 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002845/1.004, allocations: 1.155 MB / 0.624 GB, free: 90.41 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003778/1.008, allocations: 1.295 MB / 0.6253 GB, free: 89.11 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01154/1.019, allocations: 10.45 MB / 0.6355 GB, free: 78.45 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004338/1.024, allocations: 0.7531 MB / 0.6362 GB, free: 77.69 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006182/1.024, allocations: 276 kB / 0.6365 GB, free: 77.42 MB / 478.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.004351/1.029, allocations: 3.423 MB / 0.6398 GB, free: 73.99 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006166/1.029, allocations: 369.6 kB / 0.6402 GB, free: 73.62 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009466/1.039, allocations: 6.874 MB / 0.6469 GB, free: 66.72 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00719/1.046, allocations: 5.707 MB / 0.6525 GB, free: 61 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.729e-05/1.046, allocations: 12 kB / 0.6525 GB, free: 60.99 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.148e-05/1.046, allocations: 19.92 kB / 0.6525 GB, free: 60.97 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02039/1.066, allocations: 14.71 MB / 0.6669 GB, free: 46.12 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-05/1.066, allocations: 12 kB / 0.6669 GB, free: 46.11 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002682/1.069, allocations: 0.7917 MB / 0.6676 GB, free: 45.31 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002731/1.072, allocations: 1.056 MB / 0.6687 GB, free: 44.25 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002705/1.072, allocations: 116 kB / 0.6688 GB, free: 44.14 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0115/1.083, allocations: 10.22 MB / 0.6788 GB, free: 33.71 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.949e-06/1.083, allocations: 23.88 kB / 0.6788 GB, free: 33.68 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01273/1.096, allocations: 10.66 MB / 0.6892 GB, free: 22.79 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002233/1.098, allocations: 0.9687 MB / 0.6901 GB, free: 21.82 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005544/1.099, allocations: 92 kB / 0.6902 GB, free: 21.73 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002089/1.101, allocations: 283.7 kB / 0.6905 GB, free: 21.45 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005546/1.102, allocations: 351.1 kB / 0.6908 GB, free: 21.11 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002295/1.102, allocations: 144 kB / 0.691 GB, free: 20.96 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002345/1.104, allocations: 2.125 MB / 0.693 GB, free: 18.84 MB / 478.1 MB Notification: Performance of sort global known variables: time 7e-08/1.104, allocations: 0 / 0.693 GB, free: 18.84 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004861/1.109, allocations: 2.243 MB / 0.6952 GB, free: 16.59 MB / 478.1 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.01231/1.121, allocations: 11.39 MB / 0.7064 GB, free: 4.961 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01075/1.132, allocations: 7.147 MB / 0.7133 GB, free: 13.79 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.709e-05/1.132, allocations: 4 kB / 0.7133 GB, free: 13.79 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006356/1.138, allocations: 3.409 MB / 0.7167 GB, free: 10.36 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003979/1.142, allocations: 0.8145 MB / 0.7175 GB, free: 9.551 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2837/1.426, allocations: 51.91 MB / 0.7682 GB, free: 166.9 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006186/1.432, allocations: 5.469 MB / 0.7735 GB, free: 165.2 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.004866/1.437, allocations: 2.154 MB / 0.7756 GB, free: 165.1 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003383/1.441, allocations: 2.999 MB / 0.7785 GB, free: 162.6 MB / 0.5138 GB Notification: Performance of SimCode: time 8.31e-07/1.441, allocations: 0 / 0.7785 GB, free: 162.6 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1573/1.598, allocations: 116.1 MB / 0.8919 GB, free: 56.69 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.95/18.55, allocations: 11.81 kB / 0.8919 GB, free: 56.68 MB / 0.5138 GB " [Timeout remaining time 641] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses.fmu > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.170322249643505]