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.001474/0.001474, allocations: 110.5 kB / 17.73 MB, free: 5.359 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.001442/0.001442, allocations: 187.1 kB / 18.66 MB, free: 4.438 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.307/1.307, allocations: 205.1 MB / 224.5 MB, free: 12.29 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.001726/0.001726, allocations: 55.92 kB / 328 MB, free: 3.805 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09288/0.09462, allocations: 46.62 MB / 374.7 MB, free: 5.074 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.1674/0.262, allocations: 16.53 MB / 391.2 MB, free: 3.391 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008982/0.271, allocations: 4.667 MB / 395.9 MB, free: 392 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002632/0.2737, allocations: 111.9 kB / 396 MB, free: 372 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01563/0.2894, allocations: 7.162 MB / 403.1 MB, free: 12.04 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007086/0.2965, allocations: 1.872 MB / 405 MB, free: 10.9 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004359/0.3009, allocations: 1.625 MB / 406.6 MB, free: 9.91 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01232/0.3132, allocations: 9.394 MB / 416 MB, free: 4.348 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0322/0.3455, allocations: 20.84 MB / 436.9 MB, free: 1.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008754/0.3543, allocations: 5.233 MB / 442.1 MB, free: 12.43 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009774/0.3641, allocations: 5.864 MB / 448 MB, free: 6.551 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003732/0.3678, allocations: 1.359 MB / 449.3 MB, free: 5.191 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00559/0.3735, allocations: 1.652 MB / 451 MB, free: 3.539 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004417/0.3779, allocations: 2.79 MB / 453.8 MB, free: 0.7422 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009866/0.3878, allocations: 5.358 MB / 459.1 MB, free: 11.36 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02462/0.4124, allocations: 18.23 MB / 477.4 MB, free: 9.074 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.575e-06/0.4125, allocations: 0 / 477.4 MB, free: 9.074 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.4125, allocations: 0 / 477.4 MB, free: 9.074 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0004989/0.413, allocations: 0 / 477.4 MB, free: 9.074 MB / 398.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.0353/0.4483, allocations: 12.32 MB / 489.7 MB, free: 12.65 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.4484, allocations: 8.031 kB / 489.7 MB, free: 12.64 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004757/0.4532, allocations: 1.513 MB / 491.2 MB, free: 11.12 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03477/0.4879, allocations: 6.288 MB / 497.5 MB, free: 4.82 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01086/0.4988, allocations: 5.177 MB / 0.4909 GB, free: 15.58 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006499/0.4995, allocations: 0.6704 MB / 0.4915 GB, free: 14.91 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003006/0.5025, allocations: 0.8866 MB / 0.4924 GB, free: 14.02 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.032/0.5346, allocations: 14.71 MB / 0.5068 GB, free: 15.26 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002133/0.5348, allocations: 3.953 kB / 0.5068 GB, free: 15.25 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00161/0.5364, allocations: 376 kB / 0.5071 GB, free: 14.89 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000511/0.5369, allocations: 499.2 kB / 0.5076 GB, free: 14.4 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02547/0.5624, allocations: 13.52 MB / 0.5208 GB, free: 0.8477 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4017/0.9641, allocations: 44.21 MB / 0.564 GB, free: 120.6 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0113/0.9755, allocations: 11.65 MB / 0.5754 GB, free: 113.8 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004668/0.9802, allocations: 3.164 MB / 0.5785 GB, free: 113.8 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003954/0.9806, allocations: 174.7 kB / 0.5786 GB, free: 113.7 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.667e-05/0.9807, allocations: 83.06 kB / 0.5787 GB, free: 113.6 MB / 478.1 MB Notification: Performance of pre-optimization done (n=409): time 6.041e-06/0.9807, allocations: 3.906 kB / 0.5787 GB, free: 113.6 MB / 478.1 MB Notification: Performance of matching and sorting (n=409): time 0.0187/0.9994, allocations: 9.609 MB / 0.5881 GB, free: 111.7 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.49e-05/0.9995, allocations: 125.5 kB / 0.5882 GB, free: 111.6 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003629/1.003, allocations: 3.158 MB / 0.5913 GB, free: 110.5 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003114/1.003, allocations: 92.61 kB / 0.5914 GB, free: 110.4 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001518/1.005, allocations: 3.83 MB / 0.5951 GB, free: 108.2 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008459/1.006, allocations: 1.468 MB / 0.5966 GB, free: 107.2 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001307/1.007, allocations: 1.132 MB / 0.5977 GB, free: 106.7 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 5.053e-05/1.007, allocations: 307.2 kB / 0.598 GB, free: 106.4 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003246/1.01, allocations: 2.84 MB / 0.6007 GB, free: 105.4 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003784/1.014, allocations: 4.894 MB / 0.6055 GB, free: 101.7 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007463/1.022, allocations: 8.256 MB / 0.6136 GB, free: 96.2 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.104e-05/1.022, allocations: 25.81 kB / 0.6136 GB, free: 96.2 MB / 478.1 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.01201/1.034, allocations: 9.113 MB / 0.6225 GB, free: 90.71 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.029e-05/1.034, allocations: 32 kB / 0.6225 GB, free: 90.68 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.056e-05/1.034, allocations: 68 kB / 0.6226 GB, free: 90.62 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0028/1.037, allocations: 1.149 MB / 0.6237 GB, free: 89.46 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003876/1.041, allocations: 1.287 MB / 0.625 GB, free: 88.18 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01081/1.051, allocations: 10.83 MB / 0.6355 GB, free: 77.11 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003866/1.055, allocations: 0.7531 MB / 0.6363 GB, free: 76.35 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00073/1.056, allocations: 283.6 kB / 0.6366 GB, free: 76.08 MB / 478.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.004472/1.061, allocations: 3.428 MB / 0.6399 GB, free: 72.64 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006772/1.061, allocations: 361.7 kB / 0.6402 GB, free: 72.28 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009203/1.071, allocations: 6.905 MB / 0.647 GB, free: 65.35 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006999/1.078, allocations: 5.749 MB / 0.6526 GB, free: 59.59 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.478e-05/1.078, allocations: 12 kB / 0.6526 GB, free: 59.57 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.889e-05/1.078, allocations: 19.92 kB / 0.6526 GB, free: 59.55 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01993/1.098, allocations: 15.22 MB / 0.6675 GB, free: 44.18 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.087e-05/1.098, allocations: 16 kB / 0.6675 GB, free: 44.16 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002582/1.1, allocations: 0.7993 MB / 0.6683 GB, free: 43.37 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002619/1.103, allocations: 1.056 MB / 0.6693 GB, free: 42.3 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002673/1.103, allocations: 116 kB / 0.6694 GB, free: 42.19 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01095/1.114, allocations: 10.58 MB / 0.6798 GB, free: 31.35 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.346e-06/1.114, allocations: 19.94 kB / 0.6798 GB, free: 31.33 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01251/1.127, allocations: 10.71 MB / 0.6902 GB, free: 20.39 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001502/1.128, allocations: 1.005 MB / 0.6912 GB, free: 19.36 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004197/1.129, allocations: 95.98 kB / 0.6913 GB, free: 19.27 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001894/1.131, allocations: 275.8 kB / 0.6916 GB, free: 19 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005742/1.131, allocations: 347.2 kB / 0.6919 GB, free: 18.66 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002242/1.131, allocations: 140 kB / 0.692 GB, free: 18.52 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002227/1.134, allocations: 2.125 MB / 0.6941 GB, free: 16.39 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.7e-07/1.134, allocations: 0 / 0.6941 GB, free: 16.39 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004539/1.138, allocations: 2.251 MB / 0.6963 GB, free: 14.14 MB / 478.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 (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.01162/1.15, allocations: 11.44 MB / 0.7075 GB, free: 2.465 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01166/1.161, allocations: 7.463 MB / 0.7148 GB, free: 10.98 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-05/1.162, allocations: 8.062 kB / 0.7148 GB, free: 10.97 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00668/1.168, allocations: 3.646 MB / 0.7183 GB, free: 7.309 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004133/1.172, allocations: 0.8089 MB / 0.7191 GB, free: 6.508 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2619/1.434, allocations: 51.89 MB / 0.7698 GB, free: 148.1 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00508/1.439, allocations: 5.929 MB / 0.7756 GB, free: 145.9 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.004401/1.444, allocations: 2.157 MB / 0.7777 GB, free: 145.7 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003033/1.447, allocations: 3 MB / 0.7806 GB, free: 143.1 MB / 0.4982 GB Notification: Performance of SimCode: time 1.392e-06/1.447, allocations: 0 / 0.7806 GB, free: 143.1 MB / 0.4982 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.804/4.251, allocations: 113.9 MB / 0.8918 GB, free: 33.61 MB / 0.4982 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.1/24.36, allocations: 12.19 kB / 0.8918 GB, free: 33.6 MB / 0.4982 GB (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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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