Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001314/0.001314, allocations: 108 kB / 17.32 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001671/0.001671, allocations: 205.8 kB / 18.27 MB, free: 5.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.332/1.332, allocations: 227.4 MB / 246.4 MB, free: 9.094 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001186, allocations: 58.72 kB / 306.6 MB, free: 0.6055 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1091, allocations: 50.53 MB / 357.1 MB, free: 14.07 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.188/0.2971, allocations: 16.31 MB / 373.4 MB, free: 9.035 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01018/0.3073, allocations: 4.655 MB / 378.1 MB, free: 8.715 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003027/0.3104, allocations: 127.6 kB / 378.2 MB, free: 8.691 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0135/0.3239, allocations: 6.81 MB / 385 MB, free: 6.801 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008107/0.332, allocations: 1.766 MB / 386.8 MB, free: 6.137 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004619/0.3367, allocations: 1.437 MB / 388.2 MB, free: 5.316 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01211/0.3488, allocations: 9.49 MB / 397.7 MB, free: 0.5469 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03183/0.3806, allocations: 24.28 MB / 422 MB, free: 11.29 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007603/0.3883, allocations: 5.291 MB / 427.3 MB, free: 5.984 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008592/0.3969, allocations: 5.954 MB / 433.2 MB, free: 12 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003394/0.4003, allocations: 1.359 MB / 434.6 MB, free: 14.65 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005008/0.4053, allocations: 1.675 MB / 436.3 MB, free: 12.98 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003074/0.4084, allocations: 2.806 MB / 439.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007165/0.4156, allocations: 5.358 MB / 444.4 MB, free: 4.785 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0172/0.4328, allocations: 18.28 MB / 462.7 MB, free: 2.449 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.4329, allocations: 0 / 462.7 MB, free: 2.449 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.4329, allocations: 4 kB / 462.7 MB, free: 2.445 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0005512/0.4334, allocations: 0 / 462.7 MB, free: 2.445 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.03794/0.4714, allocations: 12.22 MB / 474.9 MB, free: 6.145 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.269e-05/0.4715, allocations: 8.031 kB / 474.9 MB, free: 6.137 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005575/0.477, allocations: 1.513 MB / 476.4 MB, free: 4.613 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03521/0.5123, allocations: 6.217 MB / 482.7 MB, free: 14.38 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0148/0.5271, allocations: 5.636 MB / 488.3 MB, free: 8.68 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009034/0.5281, allocations: 0.686 MB / 489 MB, free: 7.992 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004155/0.5322, allocations: 0.8749 MB / 489.9 MB, free: 7.117 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03608/0.5683, allocations: 14.75 MB / 0.4928 GB, free: 8.316 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002217/0.5686, allocations: 15.83 kB / 0.4928 GB, free: 8.301 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001505/0.5701, allocations: 376 kB / 0.4931 GB, free: 7.934 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004279/0.5705, allocations: 499.3 kB / 0.4936 GB, free: 7.441 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02469/0.5952, allocations: 13.56 MB / 0.5069 GB, free: 9.848 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4128/1.008, allocations: 45.13 MB / 0.5509 GB, free: 115.2 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01082/1.019, allocations: 11.71 MB / 0.5624 GB, free: 106.7 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003831/1.023, allocations: 3.229 MB / 0.5655 GB, free: 105.5 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003794/1.023, allocations: 268 kB / 0.5658 GB, free: 105.3 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.943e-05/1.023, allocations: 78 kB / 0.5659 GB, free: 105.3 MB / 446.1 MB Notification: Performance of pre-optimization done (n=421): time 6.362e-06/1.023, allocations: 2.516 kB / 0.5659 GB, free: 105.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=421): time 0.01775/1.041, allocations: 9.714 MB / 0.5754 GB, free: 101.7 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.493e-05/1.041, allocations: 131.4 kB / 0.5755 GB, free: 101.6 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003819/1.045, allocations: 3.159 MB / 0.5786 GB, free: 99.97 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005488/1.046, allocations: 92.8 kB / 0.5787 GB, free: 99.89 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001664/1.047, allocations: 3.679 MB / 0.5822 GB, free: 96.69 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001172/1.048, allocations: 1.432 MB / 0.5836 GB, free: 95.45 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001405/1.05, allocations: 1.143 MB / 0.5848 GB, free: 94.81 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.887e-05/1.05, allocations: 301.1 kB / 0.585 GB, free: 94.51 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003394/1.053, allocations: 2.905 MB / 0.5879 GB, free: 92.99 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004166/1.057, allocations: 4.981 MB / 0.5927 GB, free: 88.71 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008014/1.065, allocations: 8.405 MB / 0.601 GB, free: 81.45 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.603e-05/1.066, allocations: 20 kB / 0.601 GB, free: 81.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=755) (initialization): time 0.01232/1.078, allocations: 9.234 MB / 0.61 GB, free: 72.14 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.755e-05/1.078, allocations: 36 kB / 0.61 GB, free: 72.11 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.541e-05/1.078, allocations: 68.03 kB / 0.6101 GB, free: 72.04 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002855/1.081, allocations: 1.123 MB / 0.6112 GB, free: 70.91 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00418/1.085, allocations: 1.295 MB / 0.6125 GB, free: 69.62 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0118/1.097, allocations: 10.74 MB / 0.6229 GB, free: 58.61 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004521/1.101, allocations: 0.7434 MB / 0.6237 GB, free: 57.86 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001194/1.103, allocations: 280 kB / 0.6239 GB, free: 57.58 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.006691/1.109, allocations: 3.423 MB / 0.6273 GB, free: 54.14 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001244/1.111, allocations: 355.5 kB / 0.6276 GB, free: 53.79 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01247/1.123, allocations: 7.039 MB / 0.6345 GB, free: 46.7 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008092/1.131, allocations: 5.874 MB / 0.6402 GB, free: 40.77 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.728e-05/1.131, allocations: 12 kB / 0.6402 GB, free: 40.76 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.115e-05/1.131, allocations: 23.86 kB / 0.6403 GB, free: 40.73 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02427/1.156, allocations: 15.55 MB / 0.6554 GB, free: 25.03 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-05/1.156, allocations: 16 kB / 0.6555 GB, free: 25.01 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002743/1.158, allocations: 0.7917 MB / 0.6562 GB, free: 24.22 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002561/1.161, allocations: 1.04 MB / 0.6573 GB, free: 23.17 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002963/1.161, allocations: 112 kB / 0.6574 GB, free: 23.06 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01068/1.172, allocations: 10.48 MB / 0.6676 GB, free: 12.32 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.105e-06/1.172, allocations: 19.94 kB / 0.6676 GB, free: 12.3 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01299/1.185, allocations: 10.93 MB / 0.6783 GB, free: 1.137 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002123/1.187, allocations: 0.9913 MB / 0.6793 GB, free: 124 kB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008879/1.188, allocations: 99.98 kB / 0.6794 GB, free: 24 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002586/1.191, allocations: 275.8 kB / 0.6796 GB, free: 15.75 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007963/1.191, allocations: 351.1 kB / 0.6799 GB, free: 15.41 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003672/1.192, allocations: 144 kB / 0.6801 GB, free: 15.27 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.004311/1.196, allocations: 2.121 MB / 0.6822 GB, free: 13.14 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.5e-07/1.196, allocations: 0 / 0.6822 GB, free: 13.14 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.008583/1.205, allocations: 2.235 MB / 0.6843 GB, free: 10.9 MB / 462.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.01996/1.225, allocations: 11.67 MB / 0.6957 GB, free: 15.01 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.02398/1.249, allocations: 11.65 MB / 0.7071 GB, free: 3.383 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.726e-05/1.249, allocations: 4 kB / 0.7071 GB, free: 3.379 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.1985/1.447, allocations: 3.713 MB / 0.7107 GB, free: 157.5 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004885/1.452, allocations: 0.8162 MB / 0.7115 GB, free: 157.5 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09373/1.546, allocations: 61.2 MB / 0.7713 GB, free: 118.4 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005127/1.551, allocations: 5.935 MB / 0.7771 GB, free: 112.4 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.005359/1.557, allocations: 2.154 MB / 0.7792 GB, free: 110.2 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003116/1.56, allocations: 3.026 MB / 0.7822 GB, free: 107.2 MB / 478.1 MB Notification: Performance of SimCode: time 1.483e-06/1.56, allocations: 0 / 0.7822 GB, free: 107.2 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4109/1.971, allocations: 116.1 MB / 0.8955 GB, free: 132.1 MB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000271/1.971, allocations: 268.2 kB / 0.8958 GB, free: 131.7 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.296/6.267, allocations: 1.688 kB / 0.8958 GB, free: 131.7 MB / 478.1 MB (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses_fmu --startTime=0 --stopTime=40 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_Components_EddyCurrentLosses.fmu > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches