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) 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 4.0.0+maint.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001049/0.001048, allocations: 106.8 kB / 16.62 MB, free: 6.812 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.001177/0.001177, allocations: 189.9 kB / 17.55 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.329/1.329, allocations: 222.9 MB / 241.2 MB, free: 15.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00113/0.00113, allocations: 44.92 kB / 300.3 MB, free: 6.105 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09967/0.1008, allocations: 49.45 MB / 349.7 MB, free: 4.652 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01672/0.1176, allocations: 16.31 MB / 366 MB, free: 4.258 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.2017/0.3193, allocations: 4.576 MB / 370.6 MB, free: 9.023 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003684/0.323, allocations: 126.3 kB / 370.7 MB, free: 9.023 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01387/0.3369, allocations: 6.802 MB / 377.5 MB, free: 8.836 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006222/0.3431, allocations: 1.794 MB / 379.3 MB, free: 8.762 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003776/0.3469, allocations: 1.422 MB / 380.7 MB, free: 8.707 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01187/0.3588, allocations: 9.371 MB / 390.1 MB, free: 4.984 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03483/0.3937, allocations: 24.48 MB / 414.6 MB, free: 2.785 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008814/0.4025, allocations: 5.298 MB / 419.9 MB, free: 13.59 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009597/0.4122, allocations: 5.949 MB / 425.8 MB, free: 7.82 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003729/0.4159, allocations: 1.359 MB / 427.2 MB, free: 6.461 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005616/0.4216, allocations: 1.646 MB / 428.8 MB, free: 4.82 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004479/0.4261, allocations: 2.806 MB / 431.6 MB, free: 2.051 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009548/0.4357, allocations: 5.376 MB / 437 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02096/0.4567, allocations: 18.25 MB / 455.3 MB, free: 10.81 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.4567, allocations: 0 / 455.3 MB, free: 10.81 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.4567, allocations: 4 kB / 455.3 MB, free: 10.81 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0005101/0.4572, allocations: 0 / 455.3 MB, free: 10.81 MB / 366.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.03457/0.4918, allocations: 12.22 MB / 467.5 MB, free: 14.62 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/0.4919, allocations: 12.03 kB / 467.5 MB, free: 14.61 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004942/0.4968, allocations: 1.513 MB / 469 MB, free: 13.09 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03453/0.5314, allocations: 6.185 MB / 475.2 MB, free: 6.969 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01435/0.5458, allocations: 5.649 MB / 480.8 MB, free: 1.293 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008425/0.5466, allocations: 0.6715 MB / 481.5 MB, free: 0.6289 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004379/0.551, allocations: 0.8802 MB / 482.4 MB, free: 15.75 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04515/0.5962, allocations: 14.75 MB / 497.2 MB, free: 0.9805 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005147/0.5968, allocations: 7.906 kB / 497.2 MB, free: 0.9727 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004496/0.6013, allocations: 377.5 kB / 497.5 MB, free: 0.6133 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006907/0.602, allocations: 0.4954 MB / 498 MB, free: 116 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03011/0.6321, allocations: 13.56 MB / 0.4996 GB, free: 2.531 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5102/1.142, allocations: 44.64 MB / 0.5432 GB, free: 116.8 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01372/1.156, allocations: 11.72 MB / 0.5546 GB, free: 110.1 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005121/1.161, allocations: 3.235 MB / 0.5578 GB, free: 110 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004151/1.162, allocations: 179.2 kB / 0.558 GB, free: 109.9 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.288e-05/1.162, allocations: 79.58 kB / 0.558 GB, free: 109.9 MB / 446.1 MB Notification: Performance of pre-optimization done (n=421): time 6.472e-06/1.162, allocations: 0 / 0.558 GB, free: 109.9 MB / 446.1 MB Notification: Performance of matching and sorting (n=421): time 0.01981/1.182, allocations: 9.72 MB / 0.5675 GB, free: 108.3 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.147e-05/1.182, allocations: 120.3 kB / 0.5676 GB, free: 108.2 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00462/1.186, allocations: 3.163 MB / 0.5707 GB, free: 107.1 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007065/1.187, allocations: 89.14 kB / 0.5708 GB, free: 107 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002259/1.189, allocations: 3.685 MB / 0.5744 GB, free: 104.2 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001654/1.191, allocations: 1.427 MB / 0.5758 GB, free: 103.1 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001725/1.193, allocations: 1.139 MB / 0.5769 GB, free: 102.6 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.168e-05/1.193, allocations: 305.1 kB / 0.5772 GB, free: 102.3 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003696/1.197, allocations: 2.908 MB / 0.5801 GB, free: 101.2 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004387/1.201, allocations: 4.98 MB / 0.5849 GB, free: 97.52 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008547/1.21, allocations: 8.411 MB / 0.5931 GB, free: 91.29 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.871e-05/1.21, allocations: 19.91 kB / 0.5932 GB, free: 91.29 MB / 446.1 MB Notification: Performance of matching and sorting (n=755) (initialization): time 0.01378/1.223, allocations: 9.24 MB / 0.6022 GB, free: 86.14 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.874e-05/1.223, allocations: 32 kB / 0.6022 GB, free: 86.11 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001042/1.224, allocations: 68 kB / 0.6023 GB, free: 86.04 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002899/1.226, allocations: 1.123 MB / 0.6034 GB, free: 84.91 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004735/1.231, allocations: 1.299 MB / 0.6046 GB, free: 83.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01219/1.243, allocations: 10.73 MB / 0.6151 GB, free: 72.61 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005717/1.249, allocations: 0.7472 MB / 0.6158 GB, free: 71.86 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009553/1.25, allocations: 276 kB / 0.6161 GB, free: 71.59 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 (681): * Single equations (assignments): 671 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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.005889/1.256, allocations: 3.416 MB / 0.6194 GB, free: 68.16 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008301/1.257, allocations: 351.7 kB / 0.6198 GB, free: 67.81 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01023/1.267, allocations: 7.046 MB / 0.6267 GB, free: 60.7 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007583/1.275, allocations: 5.87 MB / 0.6324 GB, free: 54.79 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.752e-05/1.275, allocations: 12 kB / 0.6324 GB, free: 54.77 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.59e-05/1.275, allocations: 23.91 kB / 0.6324 GB, free: 54.75 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.025/1.3, allocations: 15.56 MB / 0.6476 GB, free: 39.05 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.76e-05/1.3, allocations: 12 kB / 0.6476 GB, free: 39.04 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002748/1.303, allocations: 0.7917 MB / 0.6484 GB, free: 38.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002641/1.305, allocations: 1.044 MB / 0.6494 GB, free: 37.2 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004312/1.306, allocations: 112 kB / 0.6495 GB, free: 37.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01134/1.317, allocations: 10.48 MB / 0.6598 GB, free: 26.34 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-05/1.317, allocations: 23.88 kB / 0.6598 GB, free: 26.32 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01406/1.331, allocations: 10.94 MB / 0.6705 GB, free: 15.15 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002206/1.334, allocations: 1.004 MB / 0.6714 GB, free: 14.12 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005733/1.334, allocations: 96 kB / 0.6715 GB, free: 14.03 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002043/1.336, allocations: 275.6 kB / 0.6718 GB, free: 13.76 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006738/1.337, allocations: 347.3 kB / 0.6721 GB, free: 13.42 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002434/1.337, allocations: 140 kB / 0.6723 GB, free: 13.28 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00286/1.34, allocations: 2.125 MB / 0.6743 GB, free: 11.15 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.142e-06/1.34, allocations: 0 / 0.6743 GB, free: 11.15 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.006507/1.346, allocations: 2.235 MB / 0.6765 GB, free: 8.914 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 (421): * Single equations (assignments): 411 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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 Backend phase and start with SimCode phase: time 0.01495/1.361, allocations: 11.68 MB / 0.6879 GB, free: 13.01 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.02428/1.386, allocations: 11.65 MB / 0.6993 GB, free: 1.391 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.519e-05/1.386, allocations: 4 kB / 0.6993 GB, free: 1.387 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.2272/1.613, allocations: 3.722 MB / 0.7029 GB, free: 146.5 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004431/1.618, allocations: 0.8055 MB / 0.7037 GB, free: 146.4 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08407/1.702, allocations: 61.2 MB / 0.7635 GB, free: 105.4 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004907/1.707, allocations: 5.938 MB / 0.7693 GB, free: 99.43 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.005119/1.712, allocations: 2.157 MB / 0.7714 GB, free: 97.27 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003282/1.715, allocations: 3.03 MB / 0.7744 GB, free: 94.24 MB / 462.1 MB Notification: Performance of SimCode: time 1.172e-06/1.715, allocations: 0 / 0.7744 GB, free: 94.24 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3783/2.093, allocations: 116.2 MB / 0.8879 GB, free: 134.9 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001493/2.093, allocations: 264.6 kB / 0.8881 GB, free: 134.5 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.355/6.448, allocations: 9.609 kB / 0.8881 GB, free: 134.5 MB / 478.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses_fmu --startTime=0 --stopTime=40 --timeout=50 --tolerance=1e-06 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) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat","/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) Reference file matches