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.001289/0.00129, allocations: 113.4 kB / 17.07 MB, free: 5.988 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.00122/0.00122, allocations: 193.4 kB / 18 MB, free: 5.074 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.414/1.414, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001491/0.001491, allocations: 47.92 kB / 350.8 MB, free: 3.73 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2746/0.2761, allocations: 49.42 MB / 400.2 MB, free: 8.422 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01879/0.2949, allocations: 16.61 MB / 416.8 MB, free: 8.117 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0111/0.3061, allocations: 4.638 MB / 421.5 MB, free: 3.465 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003777/0.3099, allocations: 131.6 kB / 421.6 MB, free: 3.336 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01741/0.3273, allocations: 7.159 MB / 428.8 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008428/0.3358, allocations: 1.982 MB / 430.8 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004953/0.3407, allocations: 1.526 MB / 432.3 MB, free: 8.652 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01335/0.3541, allocations: 9.414 MB / 441.7 MB, free: 15.21 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03268/0.3868, allocations: 20.83 MB / 462.5 MB, free: 10.23 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009609/0.3965, allocations: 5.237 MB / 467.8 MB, free: 4.977 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01148/0.408, allocations: 5.868 MB / 473.6 MB, free: 15.09 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004125/0.4122, allocations: 1.359 MB / 475 MB, free: 13.73 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005463/0.4177, allocations: 1.644 MB / 476.6 MB, free: 12.09 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004151/0.4218, allocations: 2.798 MB / 479.4 MB, free: 9.281 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00994/0.4318, allocations: 5.362 MB / 484.8 MB, free: 3.898 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02537/0.4572, allocations: 18.39 MB / 0.4914 GB, free: 1.449 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.627e-06/0.4573, allocations: 0 / 0.4914 GB, free: 1.449 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.835e-06/0.4573, allocations: 0 / 0.4914 GB, free: 1.449 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0005825/0.4579, allocations: 7.938 kB / 0.4914 GB, free: 1.441 MB / 414.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.04265/0.5005, allocations: 12.32 MB / 0.5034 GB, free: 5.02 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.284e-05/0.5006, allocations: 8.031 kB / 0.5034 GB, free: 5.012 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006368/0.507, allocations: 1.513 MB / 0.5049 GB, free: 3.488 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03655/0.5436, allocations: 6.28 MB / 0.511 GB, free: 13.2 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01417/0.5578, allocations: 5.836 MB / 0.5167 GB, free: 7.297 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007507/0.5586, allocations: 0.6704 MB / 0.5174 GB, free: 6.625 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004074/0.5627, allocations: 0.875 MB / 0.5183 GB, free: 5.75 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04008/0.6028, allocations: 14.71 MB / 0.5326 GB, free: 6.984 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002876/0.6031, allocations: 15.94 kB / 0.5326 GB, free: 6.969 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002381/0.6055, allocations: 372 kB / 0.533 GB, free: 6.605 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005671/0.6061, allocations: 0.4914 MB / 0.5335 GB, free: 6.109 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4959/1.102, allocations: 13.52 MB / 0.5467 GB, free: 115.5 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06867/1.171, allocations: 44.23 MB / 0.5899 GB, free: 80.81 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01056/1.181, allocations: 11.64 MB / 0.6012 GB, free: 68.09 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004111/1.185, allocations: 3.168 MB / 0.6043 GB, free: 64.92 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003811/1.186, allocations: 172.2 kB / 0.6045 GB, free: 64.75 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.812e-05/1.186, allocations: 81.81 kB / 0.6046 GB, free: 64.66 MB / 462.1 MB Notification: Performance of pre-optimization done (n=409): time 6.041e-06/1.186, allocations: 3.938 kB / 0.6046 GB, free: 64.66 MB / 462.1 MB Notification: Performance of matching and sorting (n=409): time 0.01927/1.205, allocations: 9.59 MB / 0.614 GB, free: 55.04 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.029e-05/1.205, allocations: 125 kB / 0.6141 GB, free: 54.9 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004493/1.21, allocations: 3.163 MB / 0.6172 GB, free: 51.77 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008248/1.211, allocations: 89.7 kB / 0.6172 GB, free: 51.67 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002055/1.213, allocations: 3.836 MB / 0.621 GB, free: 48.3 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00162/1.214, allocations: 1.459 MB / 0.6224 GB, free: 46.86 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001751/1.216, allocations: 1.132 MB / 0.6235 GB, free: 45.71 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 4.784e-05/1.216, allocations: 301.1 kB / 0.6238 GB, free: 45.42 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003459/1.22, allocations: 2.834 MB / 0.6266 GB, free: 42.58 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004525/1.224, allocations: 4.906 MB / 0.6314 GB, free: 36.73 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008148/1.232, allocations: 8.251 MB / 0.6394 GB, free: 27.55 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.635e-05/1.232, allocations: 20 kB / 0.6394 GB, free: 27.53 MB / 462.1 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.01293/1.245, allocations: 9.124 MB / 0.6484 GB, free: 18.39 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.361e-05/1.245, allocations: 36 kB / 0.6484 GB, free: 18.35 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.711e-05/1.246, allocations: 64 kB / 0.6485 GB, free: 18.29 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002866/1.248, allocations: 1.146 MB / 0.6496 GB, free: 17.14 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004199/1.253, allocations: 1.299 MB / 0.6508 GB, free: 15.84 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0122/1.265, allocations: 10.81 MB / 0.6614 GB, free: 4.758 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005781/1.271, allocations: 0.7608 MB / 0.6621 GB, free: 3.992 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001546/1.272, allocations: 272 kB / 0.6624 GB, free: 3.727 MB / 462.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.007943/1.28, allocations: 3.423 MB / 0.6657 GB, free: 296 kB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001439/1.282, allocations: 365.6 kB / 0.6661 GB, free: 15.93 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01625/1.298, allocations: 6.909 MB / 0.6728 GB, free: 8.992 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01154/1.31, allocations: 5.733 MB / 0.6784 GB, free: 3.246 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.496e-05/1.31, allocations: 12 kB / 0.6784 GB, free: 3.234 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.896e-05/1.31, allocations: 27.84 kB / 0.6785 GB, free: 3.207 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03523/1.345, allocations: 15.24 MB / 0.6934 GB, free: 3.785 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.095e-05/1.345, allocations: 16 kB / 0.6934 GB, free: 3.77 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003587/1.349, allocations: 0.7879 MB / 0.6941 GB, free: 2.98 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003638/1.352, allocations: 1.068 MB / 0.6952 GB, free: 1.906 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006743/1.353, allocations: 108.2 kB / 0.6953 GB, free: 1.801 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01795/1.371, allocations: 10.58 MB / 0.7056 GB, free: 6.934 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.841e-05/1.371, allocations: 15.94 kB / 0.7056 GB, free: 6.918 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02173/1.393, allocations: 10.69 MB / 0.7161 GB, free: 11.98 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002906/1.396, allocations: 1.009 MB / 0.7171 GB, free: 10.95 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001593/1.397, allocations: 99.94 kB / 0.7172 GB, free: 10.86 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003385/1.401, allocations: 279.7 kB / 0.7174 GB, free: 10.58 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009967/1.402, allocations: 335.2 kB / 0.7177 GB, free: 10.25 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005092/1.402, allocations: 144 kB / 0.7179 GB, free: 10.11 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.004588/1.407, allocations: 2.121 MB / 0.72 GB, free: 7.988 MB / 0.5138 GB Notification: Performance of sort global known variables: time 2.9e-07/1.407, allocations: 8 kB / 0.72 GB, free: 7.98 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.007622/1.415, allocations: 2.258 MB / 0.7222 GB, free: 5.715 MB / 0.5138 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.01967/1.434, allocations: 11.45 MB / 0.7334 GB, free: 10.03 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01488/1.449, allocations: 7.46 MB / 0.7406 GB, free: 2.543 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-05/1.449, allocations: 0 / 0.7406 GB, free: 2.543 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.2829/1.732, allocations: 3.654 MB / 0.7442 GB, free: 189.1 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005261/1.737, allocations: 0.8033 MB / 0.745 GB, free: 189 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08349/1.821, allocations: 51.89 MB / 0.7957 GB, free: 152.3 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007249/1.828, allocations: 5.93 MB / 0.8015 GB, free: 146.3 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004704/1.833, allocations: 2.158 MB / 0.8036 GB, free: 144.1 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004452/1.837, allocations: 3.007 MB / 0.8065 GB, free: 141.1 MB / 0.5294 GB Notification: Performance of SimCode: time 1.402e-06/1.837, allocations: 0 / 0.8065 GB, free: 141.1 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1553/1.993, allocations: 113.9 MB / 0.9177 GB, free: 27.73 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.5/20.49, allocations: 4.188 kB / 0.9177 GB, free: 27.73 MB / 0.5294 GB (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