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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001556/0.001556, allocations: 104 kB / 17.58 MB, free: 5.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001707/0.001707, allocations: 196.1 kB / 18.51 MB, free: 4.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.377/1.377, allocations: 205.1 MB / 224.4 MB, free: 12.3 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001709/0.001709, allocations: 55.92 kB / 280.8 MB, free: 3.059 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09343/0.09515, allocations: 46.62 MB / 327.4 MB, free: 4.359 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01995/0.1151, allocations: 16.54 MB / 343.9 MB, free: 3.727 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.009953/0.1251, allocations: 4.654 MB / 348.6 MB, free: 15.06 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002431/0.1276, allocations: 111.7 kB / 348.7 MB, free: 14.95 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.017/0.1447, allocations: 7.161 MB / 355.9 MB, free: 7.758 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007075/0.1518, allocations: 1.861 MB / 357.7 MB, free: 5.887 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004575/0.1564, allocations: 1.636 MB / 359.4 MB, free: 4.246 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01279/0.1692, allocations: 9.338 MB / 368.7 MB, free: 10.87 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1774/0.3466, allocations: 20.92 MB / 389.6 MB, free: 15.53 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007649/0.3543, allocations: 5.227 MB / 394.8 MB, free: 15.13 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009559/0.3639, allocations: 5.902 MB / 400.7 MB, free: 14.23 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003027/0.367, allocations: 1.359 MB / 402.1 MB, free: 14.23 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003586/0.3706, allocations: 1.645 MB / 403.7 MB, free: 14.23 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002662/0.3733, allocations: 2.789 MB / 406.5 MB, free: 12.79 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005621/0.3789, allocations: 5.364 MB / 411.9 MB, free: 9.188 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0172/0.3961, allocations: 18.09 MB / 430 MB, free: 9.547 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.3962, allocations: 3.938 kB / 430 MB, free: 9.543 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3962, allocations: 0 / 430 MB, free: 9.543 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0005/0.3967, allocations: 4 kB / 430 MB, free: 9.539 MB / 334.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.04625/0.443, allocations: 12.17 MB / 442.2 MB, free: 13.38 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.828e-05/0.4431, allocations: 12.03 kB / 442.2 MB, free: 13.37 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006636/0.4497, allocations: 1.516 MB / 443.7 MB, free: 11.86 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03685/0.4866, allocations: 6.185 MB / 449.9 MB, free: 5.734 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01249/0.4991, allocations: 5.161 MB / 455 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008533/0.5, allocations: 0.6753 MB / 455.7 MB, free: 112 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00367/0.5037, allocations: 0.8847 MB / 456.6 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03494/0.5387, allocations: 14.71 MB / 471.3 MB, free: 0.5 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002578/0.539, allocations: 7.906 kB / 471.3 MB, free: 0.4922 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001871/0.5408, allocations: 374.9 kB / 471.7 MB, free: 136 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005549/0.5414, allocations: 499.3 kB / 472.2 MB, free: 15.64 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02798/0.5694, allocations: 13.52 MB / 485.7 MB, free: 2.094 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07773/0.6472, allocations: 44.63 MB / 0.5179 GB, free: 5.156 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01392/0.6611, allocations: 11.65 MB / 0.5293 GB, free: 8.41 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005233/0.6664, allocations: 3.154 MB / 0.5323 GB, free: 5.254 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003705/0.6668, allocations: 177.7 kB / 0.5325 GB, free: 5.074 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.459e-05/0.6669, allocations: 78.56 kB / 0.5326 GB, free: 4.988 MB / 446.1 MB Notification: Performance of pre-optimization done (n=409): time 5.53e-06/0.6669, allocations: 0 / 0.5326 GB, free: 4.988 MB / 446.1 MB Notification: Performance of matching and sorting (n=409): time 0.2922/0.959, allocations: 9.584 MB / 0.5419 GB, free: 146.3 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.976e-05/0.9591, allocations: 124.3 kB / 0.5421 GB, free: 146.2 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004913/0.9641, allocations: 3.156 MB / 0.5451 GB, free: 145.6 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005628/0.9646, allocations: 92.8 kB / 0.5452 GB, free: 145.6 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001735/0.9664, allocations: 3.7 MB / 0.5488 GB, free: 142.9 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001143/0.9675, allocations: 1.39 MB / 0.5502 GB, free: 141.9 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001589/0.9691, allocations: 1.128 MB / 0.5513 GB, free: 141.3 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.511e-05/0.9692, allocations: 312.5 kB / 0.5516 GB, free: 141 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003727/0.9729, allocations: 2.839 MB / 0.5544 GB, free: 140 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004521/0.9774, allocations: 4.898 MB / 0.5592 GB, free: 136.4 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007978/0.9854, allocations: 8.256 MB / 0.5672 GB, free: 131.1 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.991e-05/0.9855, allocations: 19.69 kB / 0.5672 GB, free: 131.1 MB / 446.1 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.01238/0.9979, allocations: 9.102 MB / 0.5761 GB, free: 127.7 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.045e-05/0.998, allocations: 31.12 kB / 0.5762 GB, free: 127.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000106/0.9981, allocations: 69.66 kB / 0.5762 GB, free: 127.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003289/1.001, allocations: 1.155 MB / 0.5774 GB, free: 127.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004696/1.006, allocations: 1.298 MB / 0.5786 GB, free: 127.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01211/1.018, allocations: 10.82 MB / 0.5892 GB, free: 119.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004177/1.022, allocations: 0.7409 MB / 0.5899 GB, free: 119 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006348/1.023, allocations: 275.6 kB / 0.5902 GB, free: 118.7 MB / 446.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.005138/1.028, allocations: 3.417 MB / 0.5935 GB, free: 115.9 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006186/1.029, allocations: 355.3 kB / 0.5938 GB, free: 115.5 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009653/1.039, allocations: 6.905 MB / 0.6006 GB, free: 109.1 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00718/1.046, allocations: 5.737 MB / 0.6062 GB, free: 103.3 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.94e-05/1.046, allocations: 12 kB / 0.6062 GB, free: 103.3 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.3e-05/1.046, allocations: 23.91 kB / 0.6062 GB, free: 103.3 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02/1.066, allocations: 15.35 MB / 0.6212 GB, free: 87.78 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.995e-05/1.066, allocations: 12 kB / 0.6212 GB, free: 87.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002656/1.069, allocations: 0.788 MB / 0.622 GB, free: 86.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002845/1.071, allocations: 1.091 MB / 0.6231 GB, free: 85.88 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003758/1.072, allocations: 104 kB / 0.6232 GB, free: 85.78 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0112/1.083, allocations: 10.57 MB / 0.6335 GB, free: 74.95 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.987e-06/1.083, allocations: 22.28 kB / 0.6335 GB, free: 74.93 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01232/1.095, allocations: 10.67 MB / 0.6439 GB, free: 64.02 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00192/1.097, allocations: 0.9951 MB / 0.6449 GB, free: 63 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005558/1.098, allocations: 92 kB / 0.645 GB, free: 62.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002115/1.1, allocations: 279.7 kB / 0.6453 GB, free: 62.64 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006037/1.101, allocations: 339.1 kB / 0.6456 GB, free: 62.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002273/1.101, allocations: 144 kB / 0.6457 GB, free: 62.16 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002468/1.103, allocations: 2.125 MB / 0.6478 GB, free: 60.04 MB / 446.1 MB Notification: Performance of sort global known variables: time 7.91e-07/1.103, allocations: 0 / 0.6478 GB, free: 60.04 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005866/1.109, allocations: 2.235 MB / 0.65 GB, free: 57.79 MB / 446.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.01372/1.123, allocations: 11.41 MB / 0.6611 GB, free: 46.15 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01855/1.142, allocations: 11.28 MB / 0.6721 GB, free: 34.89 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.47e-05/1.142, allocations: 5 kB / 0.6721 GB, free: 34.89 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00575/1.147, allocations: 3.647 MB / 0.6757 GB, free: 31.22 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004308/1.152, allocations: 0.8116 MB / 0.6765 GB, free: 30.42 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2339/1.386, allocations: 57.08 MB / 0.7322 GB, free: 124.9 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007158/1.393, allocations: 5.929 MB / 0.738 GB, free: 122.7 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.005411/1.398, allocations: 2.159 MB / 0.7401 GB, free: 122.5 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004085/1.402, allocations: 3.002 MB / 0.7431 GB, free: 120 MB / 446.1 MB Notification: Performance of SimCode: time 8.72e-07/1.402, allocations: 0 / 0.7431 GB, free: 120 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1485/1.551, allocations: 114.9 MB / 0.8553 GB, free: 9.625 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.15/13.7, allocations: 448 / 0.8553 GB, free: 9.625 MB / 446.1 MB (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) 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) Reference file matches