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.001458/0.001458, allocations: 101.5 kB / 17.72 MB, free: 5.371 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.001751/0.001751, allocations: 192 kB / 18.66 MB, free: 4.445 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.309/1.309, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.001342/0.001342, allocations: 43.92 kB / 328 MB, free: 3.809 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07819/0.07955, allocations: 46.62 MB / 374.7 MB, free: 5.074 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.171/0.2506, allocations: 16.53 MB / 391.2 MB, free: 3.402 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.009644/0.2602, allocations: 4.651 MB / 395.8 MB, free: 392 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003753/0.264, allocations: 112.2 kB / 396 MB, free: 372 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01697/0.2811, allocations: 7.173 MB / 403.1 MB, free: 12.04 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007266/0.2884, allocations: 1.865 MB / 405 MB, free: 10.91 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004607/0.293, allocations: 1.621 MB / 406.6 MB, free: 9.918 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01234/0.3053, allocations: 9.401 MB / 416 MB, free: 4.344 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02911/0.3345, allocations: 20.84 MB / 436.9 MB, free: 1.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008008/0.3425, allocations: 5.245 MB / 442.1 MB, free: 12.4 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009367/0.3519, allocations: 5.868 MB / 448 MB, free: 6.512 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003684/0.3557, allocations: 1.359 MB / 449.3 MB, free: 5.152 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005211/0.3609, allocations: 1.648 MB / 451 MB, free: 3.508 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004037/0.365, allocations: 2.782 MB / 453.8 MB, free: 0.7188 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009009/0.374, allocations: 5.362 MB / 459.1 MB, free: 11.33 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01994/0.394, allocations: 18.19 MB / 477.3 MB, free: 9.098 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/0.394, allocations: 0 / 477.3 MB, free: 9.098 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.394, allocations: 4 kB / 477.3 MB, free: 9.094 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.000479/0.3945, allocations: 0 / 477.3 MB, free: 9.094 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.03669/0.4312, allocations: 12.12 MB / 489.4 MB, free: 12.89 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.4313, allocations: 8.031 kB / 489.4 MB, free: 12.88 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004955/0.4362, allocations: 1.52 MB / 491 MB, free: 11.35 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03752/0.4738, allocations: 6.237 MB / 497.2 MB, free: 5.094 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01396/0.4878, allocations: 5.168 MB / 0.4906 GB, free: 15.86 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008448/0.4886, allocations: 0.6743 MB / 0.4913 GB, free: 15.18 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003884/0.4925, allocations: 0.8787 MB / 0.4921 GB, free: 14.31 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03545/0.528, allocations: 14.71 MB / 0.5065 GB, free: 15.54 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003502/0.5284, allocations: 7.906 kB / 0.5065 GB, free: 15.54 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002722/0.5311, allocations: 372 kB / 0.5068 GB, free: 15.17 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005575/0.5317, allocations: 0.4914 MB / 0.5073 GB, free: 14.68 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02767/0.5594, allocations: 13.52 MB / 0.5205 GB, free: 1.125 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.413/0.9724, allocations: 44.09 MB / 0.5636 GB, free: 120.6 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01169/0.9841, allocations: 11.64 MB / 0.575 GB, free: 113.9 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004654/0.9888, allocations: 3.166 MB / 0.578 GB, free: 113.9 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003781/0.9892, allocations: 179.2 kB / 0.5782 GB, free: 113.8 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.167e-05/0.9893, allocations: 74.38 kB / 0.5783 GB, free: 113.7 MB / 478.1 MB Notification: Performance of pre-optimization done (n=409): time 1.526e-05/0.9893, allocations: 2.297 kB / 0.5783 GB, free: 113.7 MB / 478.1 MB Notification: Performance of matching and sorting (n=409): time 0.01994/1.009, allocations: 9.603 MB / 0.5877 GB, free: 111.9 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.533e-05/1.009, allocations: 116.4 kB / 0.5878 GB, free: 111.8 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004075/1.013, allocations: 3.156 MB / 0.5909 GB, free: 110.8 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005978/1.014, allocations: 91.08 kB / 0.5909 GB, free: 110.7 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001605/1.016, allocations: 3.696 MB / 0.5946 GB, free: 107.9 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001112/1.017, allocations: 1.394 MB / 0.5959 GB, free: 106.8 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001432/1.018, allocations: 1.122 MB / 0.597 GB, free: 106.3 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 3.916e-05/1.018, allocations: 309.1 kB / 0.5973 GB, free: 106 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003415/1.022, allocations: 2.839 MB / 0.6001 GB, free: 105 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004372/1.026, allocations: 4.896 MB / 0.6049 GB, free: 101.3 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00807/1.034, allocations: 8.259 MB / 0.6129 GB, free: 95.88 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.359e-05/1.034, allocations: 19.97 kB / 0.6129 GB, free: 95.88 MB / 478.1 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.01292/1.047, allocations: 9.105 MB / 0.6218 GB, free: 90.73 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.213e-05/1.047, allocations: 36 kB / 0.6219 GB, free: 90.69 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.71e-05/1.047, allocations: 64 kB / 0.6219 GB, free: 90.63 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002897/1.05, allocations: 1.151 MB / 0.6231 GB, free: 89.47 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004164/1.054, allocations: 1.295 MB / 0.6243 GB, free: 88.18 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01178/1.066, allocations: 10.81 MB / 0.6349 GB, free: 77.11 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004034/1.07, allocations: 0.7356 MB / 0.6356 GB, free: 76.37 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006925/1.071, allocations: 276 kB / 0.6359 GB, free: 76.1 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.004501/1.076, allocations: 3.427 MB / 0.6392 GB, free: 72.66 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006465/1.076, allocations: 351.7 kB / 0.6395 GB, free: 72.31 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009544/1.086, allocations: 6.897 MB / 0.6463 GB, free: 65.38 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007359/1.093, allocations: 5.741 MB / 0.6519 GB, free: 59.63 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.287e-05/1.093, allocations: 12 kB / 0.6519 GB, free: 59.62 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.444e-05/1.093, allocations: 19.92 kB / 0.6519 GB, free: 59.6 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02323/1.116, allocations: 15.23 MB / 0.6668 GB, free: 44.22 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-05/1.117, allocations: 15.94 kB / 0.6668 GB, free: 44.21 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002771/1.119, allocations: 0.7888 MB / 0.6676 GB, free: 43.42 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002765/1.122, allocations: 1.063 MB / 0.6686 GB, free: 42.35 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000293/1.122, allocations: 104 kB / 0.6687 GB, free: 42.25 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01132/1.134, allocations: 10.57 MB / 0.679 GB, free: 31.41 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.117e-06/1.134, allocations: 23.94 kB / 0.6791 GB, free: 31.39 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01353/1.147, allocations: 10.68 MB / 0.6895 GB, free: 20.47 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002635/1.15, allocations: 0.9835 MB / 0.6904 GB, free: 19.46 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006224/1.151, allocations: 100 kB / 0.6905 GB, free: 19.36 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00226/1.153, allocations: 271.7 kB / 0.6908 GB, free: 19.1 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006421/1.154, allocations: 343.2 kB / 0.6911 GB, free: 18.76 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000249/1.154, allocations: 147.9 kB / 0.6913 GB, free: 18.62 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002645/1.156, allocations: 2.121 MB / 0.6933 GB, free: 16.49 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.61e-07/1.156, allocations: 0 / 0.6933 GB, free: 16.49 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.006489/1.163, allocations: 2.233 MB / 0.6955 GB, free: 14.25 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.0136/1.177, allocations: 11.42 MB / 0.7067 GB, free: 2.609 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01217/1.189, allocations: 7.459 MB / 0.714 GB, free: 11.14 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.846e-05/1.189, allocations: 4 kB / 0.714 GB, free: 11.13 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006789/1.196, allocations: 3.653 MB / 0.7175 GB, free: 7.465 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004712/1.2, allocations: 0.8019 MB / 0.7183 GB, free: 6.668 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2952/1.496, allocations: 51.64 MB / 0.7687 GB, free: 148.8 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006516/1.502, allocations: 5.932 MB / 0.7745 GB, free: 146.6 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.004691/1.507, allocations: 2.153 MB / 0.7766 GB, free: 146.4 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00355/1.511, allocations: 3.001 MB / 0.7796 GB, free: 143.8 MB / 0.4982 GB Notification: Performance of SimCode: time 1.513e-06/1.511, allocations: 0 / 0.7796 GB, free: 143.8 MB / 0.4982 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.287/2.798, allocations: 114.4 MB / 0.8913 GB, free: 34.1 MB / 0.4982 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.38/23.18, allocations: 8.125 kB / 0.8913 GB, free: 34.09 MB / 0.4982 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses_fmu --startTime=0 --stopTime=40 --timeout=50 --tolerance=1e-06 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.mat","/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