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.001034/0.001034, allocations: 104 kB / 17.16 MB, free: 6.32 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.001131/0.001131, allocations: 190 kB / 18.07 MB, free: 5.414 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.39/1.39, allocations: 205.1 MB / 223.9 MB, free: 12.47 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.001262/0.001262, allocations: 51.91 kB / 280.1 MB, free: 3.457 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08189/0.08316, allocations: 46.63 MB / 326.7 MB, free: 4.77 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01539/0.09859, allocations: 16.25 MB / 343 MB, free: 4.438 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.009184/0.1078, allocations: 4.631 MB / 347.6 MB, free: 15.79 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003004/0.1109, allocations: 103.7 kB / 347.7 MB, free: 15.69 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01402/0.125, allocations: 6.803 MB / 354.5 MB, free: 8.863 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006214/0.1312, allocations: 1.7 MB / 356.2 MB, free: 7.156 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004079/0.1353, allocations: 1.547 MB / 357.7 MB, free: 5.605 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0107/0.146, allocations: 9.485 MB / 367.2 MB, free: 12.08 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1783/0.3244, allocations: 17.62 MB / 384.9 MB, free: 16.96 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007131/0.3316, allocations: 4.655 MB / 389.5 MB, free: 16.57 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01048/0.3421, allocations: 5.72 MB / 395.2 MB, free: 15.67 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004245/0.3463, allocations: 1.008 MB / 396.2 MB, free: 15.67 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006197/0.3526, allocations: 1.287 MB / 397.5 MB, free: 15.67 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004371/0.3569, allocations: 2.421 MB / 399.9 MB, free: 15.36 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009393/0.3664, allocations: 4.976 MB / 404.9 MB, free: 12.49 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01379/0.3802, allocations: 17.84 MB / 422.8 MB, free: 1.52 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.3802, allocations: 0 / 422.8 MB, free: 1.52 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3802, allocations: 0 / 422.8 MB, free: 1.52 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.000495/0.3807, allocations: 0 / 422.8 MB, free: 1.52 MB / 318.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.03588/0.4166, allocations: 12.22 MB / 435 MB, free: 5.312 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/0.4167, allocations: 8.031 kB / 435 MB, free: 5.305 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005435/0.4221, allocations: 1.512 MB / 436.5 MB, free: 3.789 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0339/0.456, allocations: 6.189 MB / 442.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01077/0.4668, allocations: 5.152 MB / 447.8 MB, free: 8.719 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006688/0.4675, allocations: 0.6761 MB / 448.5 MB, free: 8.055 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003187/0.4708, allocations: 0.8854 MB / 449.4 MB, free: 7.176 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03536/0.5061, allocations: 14.74 MB / 464.1 MB, free: 8.41 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003165/0.5065, allocations: 11.89 kB / 464.2 MB, free: 8.398 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002575/0.5091, allocations: 376.2 kB / 464.5 MB, free: 8.043 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005032/0.5096, allocations: 0.4914 MB / 465 MB, free: 7.547 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02758/0.5372, allocations: 13.56 MB / 478.6 MB, free: 9.969 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07753/0.6147, allocations: 44.63 MB / 0.5109 GB, free: 13.02 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01329/0.6281, allocations: 11.72 MB / 0.5224 GB, free: 220 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005036/0.6332, allocations: 3.229 MB / 0.5255 GB, free: 12.98 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004742/0.6337, allocations: 180.5 kB / 0.5257 GB, free: 12.8 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.942e-05/0.6338, allocations: 82.12 kB / 0.5258 GB, free: 12.71 MB / 446.1 MB Notification: Performance of pre-optimization done (n=421): time 6.763e-06/0.6338, allocations: 0 / 0.5258 GB, free: 12.71 MB / 446.1 MB Notification: Performance of matching and sorting (n=421): time 0.02245/0.6562, allocations: 9.724 MB / 0.5353 GB, free: 2.984 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.857e-05/0.6564, allocations: 121.1 kB / 0.5354 GB, free: 2.848 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3435/0.9998, allocations: 3.148 MB / 0.5385 GB, free: 145.5 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008889/1.001, allocations: 97.14 kB / 0.5386 GB, free: 145.5 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002553/1.003, allocations: 3.68 MB / 0.5422 GB, free: 143.7 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001988/1.005, allocations: 1.43 MB / 0.5436 GB, free: 142.8 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002255/1.008, allocations: 1.134 MB / 0.5447 GB, free: 142.8 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.984e-05/1.008, allocations: 308.4 kB / 0.545 GB, free: 142.5 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005138/1.013, allocations: 2.907 MB / 0.5478 GB, free: 141.5 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007379/1.02, allocations: 4.983 MB / 0.5527 GB, free: 137.9 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009892/1.03, allocations: 8.406 MB / 0.5609 GB, free: 132.6 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000156/1.03, allocations: 19.72 kB / 0.5609 GB, free: 132.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=755) (initialization): time 0.0173/1.048, allocations: 9.24 MB / 0.5699 GB, free: 129 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.848e-05/1.048, allocations: 36.84 kB / 0.5699 GB, free: 129 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001377/1.048, allocations: 68.91 kB / 0.57 GB, free: 129 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003069/1.051, allocations: 1.123 MB / 0.5711 GB, free: 128.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004914/1.056, allocations: 1.297 MB / 0.5724 GB, free: 128.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01288/1.069, allocations: 9.913 MB / 0.5821 GB, free: 122.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005923/1.075, allocations: 0.7463 MB / 0.5828 GB, free: 122.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002019/1.077, allocations: 272.2 kB / 0.583 GB, free: 122.4 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.01114/1.088, allocations: 3.431 MB / 0.5864 GB, free: 120.9 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002264/1.09, allocations: 349 kB / 0.5867 GB, free: 120.7 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0163/1.107, allocations: 7.044 MB / 0.5936 GB, free: 115.6 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009709/1.116, allocations: 5.874 MB / 0.5993 GB, free: 110.7 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.82e-05/1.116, allocations: 12 kB / 0.5994 GB, free: 110.6 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.634e-05/1.117, allocations: 18.98 kB / 0.5994 GB, free: 110.6 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03249/1.149, allocations: 15.55 MB / 0.6146 GB, free: 95.04 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.607e-05/1.149, allocations: 12 kB / 0.6146 GB, free: 95.02 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003265/1.152, allocations: 0.784 MB / 0.6153 GB, free: 94.24 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00305/1.156, allocations: 1.037 MB / 0.6164 GB, free: 93.2 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008303/1.156, allocations: 108 kB / 0.6165 GB, free: 93.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01195/1.168, allocations: 9.686 MB / 0.6259 GB, free: 83.15 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.144e-05/1.168, allocations: 21.36 kB / 0.6259 GB, free: 83.13 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0187/1.187, allocations: 10.93 MB / 0.6366 GB, free: 71.97 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002822/1.19, allocations: 0.999 MB / 0.6376 GB, free: 70.95 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00135/1.191, allocations: 96 kB / 0.6377 GB, free: 70.86 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003097/1.194, allocations: 279.7 kB / 0.6379 GB, free: 70.58 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00113/1.196, allocations: 347.2 kB / 0.6383 GB, free: 70.24 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000581/1.196, allocations: 140 kB / 0.6384 GB, free: 70.11 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004233/1.2, allocations: 2.125 MB / 0.6405 GB, free: 67.98 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/1.2, allocations: 0 / 0.6405 GB, free: 67.98 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.008433/1.209, allocations: 2.223 MB / 0.6427 GB, free: 65.75 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.01643/1.225, allocations: 11.68 MB / 0.6541 GB, free: 53.84 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01232/1.238, allocations: 7.577 MB / 0.6615 GB, free: 46.24 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.065e-05/1.238, allocations: 4.812 kB / 0.6615 GB, free: 46.23 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006143/1.244, allocations: 3.722 MB / 0.6651 GB, free: 42.5 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005423/1.249, allocations: 0.7644 MB / 0.6659 GB, free: 41.75 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2964/1.546, allocations: 61.21 MB / 0.7256 GB, free: 126.2 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0055/1.551, allocations: 5.934 MB / 0.7314 GB, free: 124 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.005704/1.557, allocations: 2.157 MB / 0.7335 GB, free: 123.8 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003344/1.56, allocations: 3.02 MB / 0.7365 GB, free: 121.2 MB / 446.1 MB Notification: Performance of SimCode: time 1.473e-06/1.56, allocations: 4 kB / 0.7365 GB, free: 121.2 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.205/1.765, allocations: 113.9 MB / 0.8477 GB, free: 16.93 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001875/1.766, allocations: 262.6 kB / 0.848 GB, free: 16.58 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.465/6.231, allocations: 0 / 0.848 GB, free: 16.58 MB / 446.1 MB (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","../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