Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=8000,variableFilter="time|converter_e.singlePhaseElectroMagneticConverter.1..Phi.re|converter_e.singlePhaseElectroMagneticConverter.2..Phi.im|loss_m.Phi.im|loss_m.Phi.re",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses") translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=8000,variableFilter="time|converter_e.singlePhaseElectroMagneticConverter.1..Phi.re|converter_e.singlePhaseElectroMagneticConverter.2..Phi.im|loss_m.Phi.im|loss_m.Phi.re",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001046/0.001046, allocations: 187 kB / 17.92 MB, free: 3.852 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.165/1.165, allocations: 205.1 MB / 223.7 MB, free: 8.473 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009134/0.0009134, allocations: 110 kB / 271.2 MB, free: 8.43 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007739/0.0007739, allocations: 47.92 kB / 327.2 MB, free: 316 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1958/0.1966, allocations: 46.61 MB / 373.8 MB, free: 45.67 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.006196/0.2029, allocations: 7.151 MB / 381 MB, free: 40.17 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003615/0.2065, allocations: 2.212 MB / 383.2 MB, free: 38.36 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000776/0.2073, allocations: 41.28 kB / 383.2 MB, free: 38.35 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007683/0.2082, allocations: 384.5 kB / 383.6 MB, free: 38.06 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001812/0.21, allocations: 0.8025 MB / 384.4 MB, free: 37.45 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006298/0.2106, allocations: 348.2 kB / 384.7 MB, free: 37.17 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003044/0.2137, allocations: 3.476 MB / 388.2 MB, free: 35.07 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001819/0.2155, allocations: 2.39 MB / 390.6 MB, free: 32.62 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001257/0.2168, allocations: 1.222 MB / 391.8 MB, free: 31.39 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001245/0.2181, allocations: 1.619 MB / 393.5 MB, free: 29.77 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002606/0.2183, allocations: 236 kB / 393.7 MB, free: 29.54 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006727/0.219, allocations: 355.9 kB / 394 MB, free: 29.19 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004213/0.2194, allocations: 0.7709 MB / 394.8 MB, free: 28.41 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001042/0.2205, allocations: 1.462 MB / 396.3 MB, free: 26.95 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002647/0.2231, allocations: 4.502 MB / 400.8 MB, free: 22.43 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.2232, allocations: 4 kB / 400.8 MB, free: 22.43 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.2232, allocations: 0 / 400.8 MB, free: 22.43 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.377e-05/0.2233, allocations: 3.938 kB / 400.8 MB, free: 22.42 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 689 * Number of variables: 689 Notification: Performance of Generate backend data structure: time 0.006472/0.2297, allocations: 3.621 MB / 404.4 MB, free: 18.74 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/0.2298, allocations: 8.031 kB / 404.4 MB, free: 18.73 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002936/0.2328, allocations: 0.6882 MB / 405.1 MB, free: 18.04 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002488/0.2353, allocations: 1.671 MB / 406.8 MB, free: 16.31 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.841e-05/0.2354, allocations: 197.7 kB / 407 MB, free: 16.11 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002729/0.2356, allocations: 268 kB / 407.2 MB, free: 15.85 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00418/0.2398, allocations: 3.611 MB / 410.8 MB, free: 12.19 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.074e-05/0.2399, allocations: 7.938 kB / 410.8 MB, free: 12.18 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001921/0.2401, allocations: 104 kB / 410.9 MB, free: 12.08 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.22e-05/0.2401, allocations: 109.3 kB / 411 MB, free: 11.97 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00368/0.2438, allocations: 3.085 MB / 414.1 MB, free: 8.871 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01247/0.2563, allocations: 10.5 MB / 424.6 MB, free: 14.02 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004472/0.2608, allocations: 4.681 MB / 429.3 MB, free: 8.688 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001256/0.2621, allocations: 0.9486 MB / 430.3 MB, free: 7.738 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003743/0.2659, allocations: 2.464 MB / 432.7 MB, free: 5.184 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.736e-05/0.2659, allocations: 43.44 kB / 432.8 MB, free: 5.133 MB / 314.7 MB Notification: Performance of pre-optimization done (n=104): time 2.885e-06/0.2659, allocations: 4 kB / 432.8 MB, free: 5.129 MB / 314.7 MB Notification: Performance of matching and sorting (n=104): time 0.005648/0.2716, allocations: 2.696 MB / 435.5 MB, free: 2.379 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.136e-05/0.2716, allocations: 85.98 kB / 435.5 MB, free: 2.277 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001563/0.2732, allocations: 1.382 MB / 436.9 MB, free: 0.8828 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.676e-05/0.2733, allocations: 45.7 kB / 437 MB, free: 0.832 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000602/0.2739, allocations: 1.164 MB / 438.1 MB, free: 15.65 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002221/0.2741, allocations: 362.8 kB / 438.5 MB, free: 15.29 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002937/0.2744, allocations: 218.8 kB / 438.7 MB, free: 15.07 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001051/0.2745, allocations: 353.9 kB / 439.1 MB, free: 14.72 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008116/0.2753, allocations: 0.5725 MB / 439.6 MB, free: 14.14 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000947/0.2763, allocations: 0.8575 MB / 440.5 MB, free: 13.17 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001748/0.2781, allocations: 1.492 MB / 442 MB, free: 11.57 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.501e-06/0.2781, allocations: 0 / 442 MB, free: 11.57 MB / 330.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.002929/0.281, allocations: 1.995 MB / 444 MB, free: 9.551 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.271e-05/0.281, allocations: 11.28 kB / 444 MB, free: 9.543 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.482e-05/0.2811, allocations: 16.19 kB / 444 MB, free: 9.527 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009025/0.282, allocations: 411 kB / 444.4 MB, free: 9.121 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000749/0.2827, allocations: 227.6 kB / 444.6 MB, free: 8.898 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00637/0.2891, allocations: 6.081 MB / 450.7 MB, free: 2.551 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008001/0.2899, allocations: 142.8 kB / 450.8 MB, free: 2.41 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.598e-05/0.29, allocations: 55.97 kB / 450.9 MB, free: 2.355 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (110): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(2,19,100.0%), (2,21,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001134/0.2912, allocations: 0.8603 MB / 451.8 MB, free: 1.484 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000179/0.2913, allocations: 138.3 kB / 451.9 MB, free: 1.348 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002518/0.2939, allocations: 1.675 MB / 453.6 MB, free: 15.66 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.227e-06/0.2939, allocations: 12 kB / 453.6 MB, free: 15.64 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.645e-06/0.2939, allocations: 8 kB / 453.6 MB, free: 15.64 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.205e-05/0.2939, allocations: 7.969 kB / 453.6 MB, free: 15.63 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005416/0.2993, allocations: 3.992 MB / 457.6 MB, free: 11.55 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.121e-06/0.2994, allocations: 4 kB / 457.6 MB, free: 11.55 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005054/0.2999, allocations: 135.8 kB / 457.7 MB, free: 11.41 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007859/0.3007, allocations: 389.6 kB / 458.1 MB, free: 11.03 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.89e-05/0.3007, allocations: 31.98 kB / 458.1 MB, free: 11 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005911/0.3067, allocations: 6.079 MB / 464.2 MB, free: 4.645 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.64e-06/0.3067, allocations: 15.91 kB / 464.2 MB, free: 4.629 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01828/0.325, allocations: 14.74 MB / 479 MB, free: 5.418 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003041/0.3253, allocations: 239.2 kB / 479.2 MB, free: 5.164 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001392/0.3255, allocations: 31.98 kB / 479.2 MB, free: 5.133 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007241/0.3262, allocations: 91.84 kB / 479.3 MB, free: 5.043 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002193/0.3264, allocations: 96.73 kB / 479.4 MB, free: 4.949 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.339e-05/0.3265, allocations: 31.98 kB / 479.5 MB, free: 4.918 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001095/0.3276, allocations: 0.963 MB / 480.4 MB, free: 3.949 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3276, allocations: 0 / 480.4 MB, free: 3.949 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001835/0.3294, allocations: 0.8288 MB / 481.2 MB, free: 3.117 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (converter_e.singlePhaseElectroMagneticConverter[3].Phi.re,converter_e.singlePhaseElectroMagneticConverter[3].Phi.im,converter_m.singlePhaseElectroMagneticConverter[3].Phi.re,converter_m.singlePhaseElectroMagneticConverter[3].Phi.im) * 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 (64): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(2,21,100.0%), (2,19,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002423/0.3297, allocations: 155.1 kB / 481.4 MB, free: 2.957 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002617/0.3323, allocations: 1.814 MB / 483.2 MB, free: 1.125 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.3323, allocations: 0 / 483.2 MB, free: 1.125 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00154/0.3339, allocations: 1.134 MB / 484.3 MB, free: 15.96 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001289/0.3352, allocations: 300.4 kB / 484.6 MB, free: 15.67 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007925/0.3431, allocations: 6.846 MB / 491.5 MB, free: 8.715 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001643/0.3448, allocations: 2.212 MB / 493.7 MB, free: 6.465 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0009953/0.3458, allocations: 351 kB / 494 MB, free: 6.117 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002101/0.346, allocations: 79.42 kB / 494.1 MB, free: 6.043 MB / 378.7 MB Notification: Performance of SimCode: time 5.81e-07/0.346, allocations: 4 kB / 494.1 MB, free: 6.039 MB / 378.7 MB Notification: Performance of Templates: time 0.157/0.503, allocations: 23.12 MB / 0.5051 GB, free: 120.8 MB / 394.7 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches