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/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: 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001555/0.001555, allocations: 105.4 kB / 18.35 MB, free: 4.77 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.001629/0.001629, allocations: 188.1 kB / 19.29 MB, free: 3.844 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.368/1.368, allocations: 205.1 MB / 225.2 MB, free: 12.27 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.001271/0.001271, allocations: 63.91 kB / 282.1 MB, free: 2.461 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09/0.09128, allocations: 46.62 MB / 328.7 MB, free: 3.766 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.007468/0.09878, allocations: 7.202 MB / 335.9 MB, free: 12.52 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003399/0.1022, allocations: 2.231 MB / 338.2 MB, free: 10.28 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00042/0.1027, allocations: 47.75 kB / 338.2 MB, free: 10.23 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008263/0.1035, allocations: 449 kB / 338.7 MB, free: 9.789 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001728/0.1052, allocations: 0.8741 MB / 339.5 MB, free: 8.91 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007029/0.1059, allocations: 371.3 kB / 339.9 MB, free: 8.547 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002933/0.1089, allocations: 3.144 MB / 343 MB, free: 5.391 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002638/0.1115, allocations: 2.855 MB / 345.9 MB, free: 2.473 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00131/0.1129, allocations: 1.414 MB / 347.3 MB, free: 1.055 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001701/0.1146, allocations: 1.685 MB / 349 MB, free: 15.36 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003905/0.115, allocations: 360 kB / 349.3 MB, free: 15.01 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007052/0.1157, allocations: 475.9 kB / 349.8 MB, free: 14.55 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006682/0.1164, allocations: 0.9037 MB / 350.7 MB, free: 13.64 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001392/0.1178, allocations: 1.602 MB / 352.3 MB, free: 12.03 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003598/0.1214, allocations: 4.658 MB / 357 MB, free: 7.359 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.1214, allocations: 0 / 357 MB, free: 7.359 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.1214, allocations: 0 / 357 MB, free: 7.359 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.671e-05/0.1215, allocations: 0 / 357 MB, free: 7.359 MB / 302.1 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.007279/0.1288, allocations: 3.625 MB / 360.6 MB, free: 3.672 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.1288, allocations: 8.031 kB / 360.6 MB, free: 3.664 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003461/0.1323, allocations: 0.6882 MB / 361.3 MB, free: 2.973 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002806/0.1351, allocations: 1.702 MB / 363 MB, free: 1.211 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001376/0.1353, allocations: 201.7 kB / 363.2 MB, free: 1.012 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003746/0.1356, allocations: 264.1 kB / 363.4 MB, free: 0.7539 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005651/0.1413, allocations: 3.607 MB / 367 MB, free: 13.09 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.703e-05/0.1414, allocations: 4 kB / 367.1 MB, free: 13.09 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002412/0.1416, allocations: 108 kB / 367.2 MB, free: 12.98 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.849e-05/0.1417, allocations: 105.4 kB / 367.3 MB, free: 12.88 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004882/0.1466, allocations: 3.089 MB / 370.4 MB, free: 9.777 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1642/0.3108, allocations: 10.36 MB / 380.7 MB, free: 48.25 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004738/0.3156, allocations: 4.675 MB / 385.4 MB, free: 44.82 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001503/0.3171, allocations: 0.9472 MB / 386.3 MB, free: 44.8 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004646/0.3218, allocations: 2.45 MB / 388.8 MB, free: 43.57 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.202e-05/0.3218, allocations: 44.92 kB / 388.8 MB, free: 43.53 MB / 318.1 MB Notification: Performance of pre-optimization done (n=104): time 2.896e-06/0.3219, allocations: 0 / 388.8 MB, free: 43.53 MB / 318.1 MB Notification: Performance of matching and sorting (n=104): time 0.006301/0.3282, allocations: 2.7 MB / 391.5 MB, free: 42.68 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.503e-05/0.3282, allocations: 87.8 kB / 391.6 MB, free: 42.58 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001828/0.3301, allocations: 1.377 MB / 393 MB, free: 42.1 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.702e-05/0.3301, allocations: 46.58 kB / 393 MB, free: 42.05 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005581/0.3307, allocations: 1.168 MB / 394.2 MB, free: 41.26 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002061/0.3309, allocations: 360.6 kB / 394.6 MB, free: 40.98 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003118/0.3312, allocations: 211.8 kB / 394.8 MB, free: 40.88 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.087e-05/0.3313, allocations: 357.8 kB / 395.1 MB, free: 40.55 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008105/0.3321, allocations: 0.5749 MB / 395.7 MB, free: 40.37 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008585/0.333, allocations: 0.8568 MB / 396.5 MB, free: 39.84 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001811/0.3348, allocations: 1.492 MB / 398 MB, free: 39.02 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.055e-05/0.3349, allocations: 6.578 kB / 398 MB, free: 39.02 MB / 318.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003175/0.338, allocations: 1.998 MB / 400 MB, free: 38.25 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.467e-05/0.3381, allocations: 7.875 kB / 400 MB, free: 38.25 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.416e-05/0.3381, allocations: 7.906 kB / 400.1 MB, free: 38.25 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008644/0.339, allocations: 410.8 kB / 400.5 MB, free: 38.15 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007456/0.3397, allocations: 217.8 kB / 400.7 MB, free: 38.13 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005874/0.3456, allocations: 6.643 MB / 407.3 MB, free: 32.93 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008645/0.3465, allocations: 148 kB / 407.5 MB, free: 32.83 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.483e-05/0.3466, allocations: 50.61 kB / 407.5 MB, free: 32.82 MB / 318.1 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.00116/0.3477, allocations: 0.8726 MB / 408.4 MB, free: 32.25 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001858/0.3479, allocations: 136.6 kB / 408.5 MB, free: 32.18 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002365/0.3503, allocations: 1.666 MB / 410.2 MB, free: 31.23 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.3503, allocations: 7.406 kB / 410.2 MB, free: 31.23 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.655e-06/0.3503, allocations: 7.438 kB / 410.2 MB, free: 31.23 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.538e-06/0.3504, allocations: 7.969 kB / 410.2 MB, free: 31.22 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005259/0.3556, allocations: 3.992 MB / 414.2 MB, free: 27.73 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/0.3556, allocations: 0 / 414.2 MB, free: 27.73 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005244/0.3562, allocations: 135.8 kB / 414.3 MB, free: 27.6 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007794/0.357, allocations: 397.4 kB / 414.7 MB, free: 27.21 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.029e-05/0.357, allocations: 35.97 kB / 414.8 MB, free: 27.17 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005549/0.3626, allocations: 6.626 MB / 421.4 MB, free: 20.27 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.3626, allocations: 4 kB / 421.4 MB, free: 20.27 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003078/0.3657, allocations: 2.512 MB / 423.9 MB, free: 17.72 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003706/0.3661, allocations: 243.2 kB / 424.1 MB, free: 17.46 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001578/0.3663, allocations: 33.8 kB / 424.2 MB, free: 17.43 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007335/0.367, allocations: 92.84 kB / 424.3 MB, free: 17.34 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002278/0.3672, allocations: 100.8 kB / 424.4 MB, free: 17.24 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.238e-05/0.3673, allocations: 35.98 kB / 424.4 MB, free: 17.21 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001031/0.3683, allocations: 0.963 MB / 425.4 MB, free: 16.24 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3684, allocations: 0 / 425.4 MB, free: 16.24 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001572/0.3699, allocations: 0.6727 MB / 426 MB, free: 15.56 MB / 318.1 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.0002468/0.3702, allocations: 151.9 kB / 426.2 MB, free: 15.41 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002351/0.3725, allocations: 1.813 MB / 428 MB, free: 13.57 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.3726, allocations: 4.984 kB / 428 MB, free: 13.56 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001407/0.374, allocations: 1.137 MB / 429.1 MB, free: 12.4 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001246/0.3752, allocations: 304 kB / 429.4 MB, free: 12.11 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005557/0.3808, allocations: 4.573 MB / 434 MB, free: 7.488 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001251/0.3821, allocations: 2.184 MB / 436.2 MB, free: 5.266 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0008025/0.3829, allocations: 346.9 kB / 436.5 MB, free: 4.922 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002096/0.3831, allocations: 90.7 kB / 436.6 MB, free: 4.836 MB / 318.1 MB Notification: Performance of SimCode: time 6.92e-07/0.3831, allocations: 0 / 436.6 MB, free: 4.836 MB / 318.1 MB Notification: Performance of Templates: time 0.03439/0.4175, allocations: 20.68 MB / 457.3 MB, free: 152 kB / 334.1 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches