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.001132/0.001132, allocations: 109.9 kB / 17.06 MB, free: 5.969 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.001108/0.001108, allocations: 200 kB / 18.01 MB, free: 5.055 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.357/1.357, allocations: 222.9 MB / 241.7 MB, free: 15.06 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001015/0.001015, allocations: 35.94 kB / 350.8 MB, free: 3.707 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2899/0.2909, allocations: 49.44 MB / 400.3 MB, free: 8.41 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01596/0.3069, allocations: 16.6 MB / 416.9 MB, free: 8.117 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01048/0.3174, allocations: 4.63 MB / 421.5 MB, free: 3.473 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003295/0.3207, allocations: 135.6 kB / 421.6 MB, free: 3.34 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01533/0.3361, allocations: 7.161 MB / 428.8 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005741/0.3418, allocations: 1.982 MB / 430.8 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003567/0.3454, allocations: 1.525 MB / 432.3 MB, free: 8.656 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.009771/0.3552, allocations: 9.414 MB / 441.7 MB, free: 15.21 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02864/0.3838, allocations: 20.83 MB / 462.5 MB, free: 10.23 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007296/0.3912, allocations: 5.257 MB / 467.8 MB, free: 4.961 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008672/0.3999, allocations: 5.864 MB / 473.6 MB, free: 15.08 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003785/0.4037, allocations: 1.359 MB / 475 MB, free: 13.72 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00505/0.4087, allocations: 1.652 MB / 476.7 MB, free: 12.07 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004016/0.4128, allocations: 2.794 MB / 479.4 MB, free: 9.266 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009031/0.4218, allocations: 5.358 MB / 484.8 MB, free: 3.887 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01948/0.4413, allocations: 18.34 MB / 0.4914 GB, free: 1.492 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.227e-06/0.4414, allocations: 0 / 0.4914 GB, free: 1.492 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.4414, allocations: 3.938 kB / 0.4914 GB, free: 1.488 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0005679/0.442, allocations: 4 kB / 0.4914 GB, free: 1.484 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.03495/0.4769, allocations: 12.13 MB / 0.5032 GB, free: 5.273 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.527e-05/0.477, allocations: 8.031 kB / 0.5032 GB, free: 5.266 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006017/0.483, allocations: 1.516 MB / 0.5047 GB, free: 3.738 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03636/0.5194, allocations: 6.24 MB / 0.5108 GB, free: 13.48 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01736/0.5368, allocations: 5.811 MB / 0.5165 GB, free: 7.605 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009098/0.5378, allocations: 0.6704 MB / 0.5171 GB, free: 6.934 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004402/0.5422, allocations: 0.8827 MB / 0.518 GB, free: 6.051 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04314/0.5853, allocations: 14.72 MB / 0.5324 GB, free: 7.281 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004581/0.5858, allocations: 11.89 kB / 0.5324 GB, free: 7.27 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003739/0.5896, allocations: 376 kB / 0.5327 GB, free: 6.902 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006643/0.5903, allocations: 499.3 kB / 0.5332 GB, free: 6.41 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4321/1.022, allocations: 13.53 MB / 0.5464 GB, free: 115.7 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06144/1.084, allocations: 44.09 MB / 0.5895 GB, free: 81.08 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009704/1.094, allocations: 11.64 MB / 0.6008 GB, free: 68.36 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003955/1.098, allocations: 3.174 MB / 0.6039 GB, free: 65.19 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003954/1.098, allocations: 172.2 kB / 0.6041 GB, free: 65.02 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.058e-05/1.098, allocations: 78.56 kB / 0.6042 GB, free: 64.93 MB / 462.1 MB Notification: Performance of pre-optimization done (n=409): time 5.671e-06/1.098, allocations: 0 / 0.6042 GB, free: 64.93 MB / 462.1 MB Notification: Performance of matching and sorting (n=409): time 0.01879/1.117, allocations: 9.573 MB / 0.6135 GB, free: 55.33 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.88e-05/1.117, allocations: 125.1 kB / 0.6136 GB, free: 55.19 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005703/1.123, allocations: 3.156 MB / 0.6167 GB, free: 52.01 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003925/1.123, allocations: 89.7 kB / 0.6168 GB, free: 51.92 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001811/1.125, allocations: 3.696 MB / 0.6204 GB, free: 48.2 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001176/1.126, allocations: 1.398 MB / 0.6218 GB, free: 46.81 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002196/1.128, allocations: 1.12 MB / 0.6229 GB, free: 45.68 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 4.609e-05/1.128, allocations: 301.1 kB / 0.6232 GB, free: 45.38 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003712/1.132, allocations: 2.839 MB / 0.6259 GB, free: 42.54 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004301/1.136, allocations: 4.91 MB / 0.6307 GB, free: 36.68 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007924/1.144, allocations: 8.255 MB / 0.6388 GB, free: 27.5 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.065e-05/1.144, allocations: 20 kB / 0.6388 GB, free: 27.48 MB / 462.1 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.0136/1.158, allocations: 9.099 MB / 0.6477 GB, free: 18.36 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.073e-05/1.158, allocations: 36 kB / 0.6477 GB, free: 18.32 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.657e-05/1.158, allocations: 64 kB / 0.6478 GB, free: 18.26 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002949/1.161, allocations: 1.15 MB / 0.6489 GB, free: 17.11 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004144/1.165, allocations: 1.295 MB / 0.6502 GB, free: 15.81 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01136/1.177, allocations: 10.81 MB / 0.6607 GB, free: 4.727 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003877/1.181, allocations: 0.7395 MB / 0.6615 GB, free: 3.98 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008523/1.182, allocations: 272 kB / 0.6617 GB, free: 3.715 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.004638/1.186, allocations: 3.419 MB / 0.6651 GB, free: 288 kB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007787/1.187, allocations: 349.8 kB / 0.6654 GB, free: 15.93 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01164/1.199, allocations: 6.913 MB / 0.6721 GB, free: 8.992 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009081/1.208, allocations: 5.737 MB / 0.6778 GB, free: 3.242 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.46e-05/1.208, allocations: 12 kB / 0.6778 GB, free: 3.23 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.229e-05/1.208, allocations: 23.86 kB / 0.6778 GB, free: 3.207 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0282/1.236, allocations: 15.22 MB / 0.6927 GB, free: 3.809 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.824e-05/1.236, allocations: 16 kB / 0.6927 GB, free: 3.793 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002914/1.239, allocations: 0.7879 MB / 0.6934 GB, free: 3.004 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003108/1.242, allocations: 1.064 MB / 0.6945 GB, free: 1.934 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003748/1.243, allocations: 112 kB / 0.6946 GB, free: 1.824 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01411/1.257, allocations: 10.56 MB / 0.7049 GB, free: 6.984 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.576e-05/1.257, allocations: 19.88 kB / 0.7049 GB, free: 6.965 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.018/1.275, allocations: 10.67 MB / 0.7153 GB, free: 12.05 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002731/1.277, allocations: 0.995 MB / 0.7163 GB, free: 11.04 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008428/1.278, allocations: 95.98 kB / 0.7164 GB, free: 10.94 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002927/1.281, allocations: 283.7 kB / 0.7167 GB, free: 10.66 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007992/1.282, allocations: 339.2 kB / 0.717 GB, free: 10.33 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003835/1.282, allocations: 144 kB / 0.7171 GB, free: 10.19 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.003771/1.286, allocations: 2.125 MB / 0.7192 GB, free: 8.062 MB / 0.5138 GB Notification: Performance of sort global known variables: time 5.52e-07/1.286, allocations: 4 kB / 0.7192 GB, free: 8.059 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.006217/1.292, allocations: 2.227 MB / 0.7214 GB, free: 5.824 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.01733/1.31, allocations: 11.43 MB / 0.7325 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0122/1.322, allocations: 7.46 MB / 0.7398 GB, free: 2.684 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.275e-05/1.322, allocations: 0 / 0.7398 GB, free: 2.684 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.1833/1.505, allocations: 3.654 MB / 0.7434 GB, free: 189.2 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004056/1.509, allocations: 0.8022 MB / 0.7442 GB, free: 189.1 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05522/1.565, allocations: 51.64 MB / 0.7946 GB, free: 152.8 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006106/1.571, allocations: 5.93 MB / 0.8004 GB, free: 146.9 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004434/1.575, allocations: 2.161 MB / 0.8025 GB, free: 144.7 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00311/1.578, allocations: 2.999 MB / 0.8054 GB, free: 141.7 MB / 0.5294 GB Notification: Performance of SimCode: time 7.01e-07/1.578, allocations: 0 / 0.8054 GB, free: 141.7 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.588/3.167, allocations: 114.4 MB / 0.9172 GB, free: 27.78 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.65/21.82, allocations: 8.25 kB / 0.9172 GB, free: 27.78 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