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.00148/0.00148, allocations: 112.2 kB / 17.28 MB, free: 6.219 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.001799/0.001799, allocations: 185.3 kB / 18.2 MB, free: 5.301 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.306/1.306, allocations: 205.1 MB / 224.1 MB, free: 12.35 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.001211/0.001211, allocations: 47.92 kB / 280.2 MB, free: 3.477 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08152/0.08274, allocations: 46.63 MB / 326.8 MB, free: 4.777 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.007655/0.09044, allocations: 7.147 MB / 333.9 MB, free: 13.59 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004267/0.09475, allocations: 2.2 MB / 336.1 MB, free: 11.38 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009432/0.09577, allocations: 39.81 kB / 336.2 MB, free: 11.34 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000967/0.09674, allocations: 382 kB / 336.5 MB, free: 10.96 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002189/0.09894, allocations: 0.7855 MB / 337.3 MB, free: 10.17 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007849/0.09974, allocations: 347.4 kB / 337.7 MB, free: 9.832 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00331/0.1031, allocations: 3.128 MB / 340.8 MB, free: 6.691 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002797/0.1059, allocations: 2.855 MB / 343.7 MB, free: 3.773 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001812/0.1077, allocations: 1.417 MB / 345.1 MB, free: 2.352 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001988/0.1097, allocations: 1.716 MB / 346.8 MB, free: 0.6289 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004272/0.1101, allocations: 364 kB / 347.1 MB, free: 280 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008656/0.111, allocations: 487.9 kB / 347.6 MB, free: 15.8 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000683/0.1117, allocations: 0.8998 MB / 348.5 MB, free: 14.89 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001671/0.1134, allocations: 1.61 MB / 350.1 MB, free: 13.28 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00419/0.1176, allocations: 4.611 MB / 354.7 MB, free: 8.652 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.1176, allocations: 0 / 354.7 MB, free: 8.652 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.1176, allocations: 0 / 354.7 MB, free: 8.652 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.275e-05/0.1177, allocations: 0 / 354.7 MB, free: 8.652 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.008124/0.1259, allocations: 3.613 MB / 358.4 MB, free: 4.977 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.1259, allocations: 12.03 kB / 358.4 MB, free: 4.965 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003478/0.1294, allocations: 0.696 MB / 359.1 MB, free: 4.266 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002676/0.1321, allocations: 1.667 MB / 360.7 MB, free: 2.539 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001375/0.1322, allocations: 201.7 kB / 360.9 MB, free: 2.34 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003721/0.1326, allocations: 272.1 kB / 361.2 MB, free: 2.074 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005728/0.1384, allocations: 3.607 MB / 364.8 MB, free: 14.41 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.959e-05/0.1384, allocations: 4 kB / 364.8 MB, free: 14.41 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002409/0.1387, allocations: 104 kB / 364.9 MB, free: 14.3 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.953e-05/0.1388, allocations: 109.4 kB / 365 MB, free: 14.2 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004827/0.1436, allocations: 3.089 MB / 368.1 MB, free: 11.09 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01532/0.159, allocations: 10.5 MB / 378.6 MB, free: 260 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1472/0.3062, allocations: 4.67 MB / 383.3 MB, free: 47.12 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00174/0.308, allocations: 0.9561 MB / 384.2 MB, free: 46.95 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004736/0.3128, allocations: 2.458 MB / 386.7 MB, free: 45.62 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.766e-05/0.3129, allocations: 48.48 kB / 386.7 MB, free: 45.57 MB / 318.1 MB Notification: Performance of pre-optimization done (n=104): time 4.248e-06/0.3129, allocations: 0 / 386.7 MB, free: 45.57 MB / 318.1 MB Notification: Performance of matching and sorting (n=104): time 0.00723/0.3201, allocations: 2.695 MB / 389.4 MB, free: 44.7 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.716e-05/0.3202, allocations: 92.27 kB / 389.5 MB, free: 44.6 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002423/0.3226, allocations: 1.378 MB / 390.9 MB, free: 44.12 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001101/0.3228, allocations: 46.86 kB / 390.9 MB, free: 44.07 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005972/0.3234, allocations: 1.161 MB / 392.1 MB, free: 43.29 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002621/0.3236, allocations: 362.9 kB / 392.5 MB, free: 43.01 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003603/0.324, allocations: 216.6 kB / 392.7 MB, free: 42.91 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.85e-05/0.3241, allocations: 356.6 kB / 393 MB, free: 42.58 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000959/0.3251, allocations: 0.578 MB / 393.6 MB, free: 42.39 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001059/0.3261, allocations: 0.8621 MB / 394.5 MB, free: 41.87 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001673/0.3278, allocations: 1.488 MB / 395.9 MB, free: 41.05 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.113e-05/0.3278, allocations: 0 / 395.9 MB, free: 41.05 MB / 318.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003066/0.3309, allocations: 1.996 MB / 397.9 MB, free: 40.28 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.443e-05/0.331, allocations: 9.625 kB / 397.9 MB, free: 40.28 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.986e-05/0.331, allocations: 12.19 kB / 398 MB, free: 40.27 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009746/0.332, allocations: 407.4 kB / 398.4 MB, free: 40.17 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007601/0.3327, allocations: 219.1 kB / 398.6 MB, free: 40.15 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005642/0.3384, allocations: 6.655 MB / 405.2 MB, free: 35.12 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000915/0.3393, allocations: 145.9 kB / 405.4 MB, free: 35.03 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.33e-05/0.3394, allocations: 51.03 kB / 405.4 MB, free: 35.02 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.00106/0.3405, allocations: 0.8599 MB / 406.3 MB, free: 34.45 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000201/0.3407, allocations: 136.6 kB / 406.4 MB, free: 34.38 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002286/0.343, allocations: 1.678 MB / 408.1 MB, free: 33.39 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.685e-06/0.343, allocations: 12 kB / 408.1 MB, free: 33.38 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.343, allocations: 8 kB / 408.1 MB, free: 33.37 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.568e-06/0.343, allocations: 3.984 kB / 408.1 MB, free: 33.37 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004695/0.3477, allocations: 3.991 MB / 412.1 MB, free: 29.31 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.3478, allocations: 4 kB / 412.1 MB, free: 29.3 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005074/0.3483, allocations: 140 kB / 412.2 MB, free: 29.17 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007781/0.3491, allocations: 389.9 kB / 412.6 MB, free: 28.78 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.69e-05/0.3491, allocations: 31.98 kB / 412.7 MB, free: 28.75 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007022/0.3562, allocations: 6.649 MB / 419.3 MB, free: 21.84 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/0.3562, allocations: 8.844 kB / 419.3 MB, free: 21.83 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004419/0.3606, allocations: 2.5 MB / 421.8 MB, free: 19.29 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005552/0.3612, allocations: 247.2 kB / 422.1 MB, free: 19.03 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002724/0.3615, allocations: 31.98 kB / 422.1 MB, free: 19 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001103/0.3626, allocations: 87.91 kB / 422.2 MB, free: 18.91 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003001/0.3629, allocations: 96.67 kB / 422.3 MB, free: 18.82 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.348e-05/0.363, allocations: 35.98 kB / 422.3 MB, free: 18.78 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001456/0.3645, allocations: 0.963 MB / 423.3 MB, free: 17.81 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.813e-06/0.3645, allocations: 0 / 423.3 MB, free: 17.81 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002114/0.3667, allocations: 0.6809 MB / 423.9 MB, free: 17.13 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.0002838/0.3669, allocations: 153.7 kB / 424.1 MB, free: 16.98 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002824/0.3698, allocations: 1.956 MB / 426.1 MB, free: 15 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 7.143e-06/0.3698, allocations: 4 kB / 426.1 MB, free: 14.99 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00147/0.3713, allocations: 1.144 MB / 427.2 MB, free: 13.82 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001528/0.3728, allocations: 307.1 kB / 427.5 MB, free: 13.52 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009401/0.3822, allocations: 5.747 MB / 433.3 MB, free: 7.73 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001828/0.3841, allocations: 2.18 MB / 435.4 MB, free: 5.512 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.001533/0.3857, allocations: 343 kB / 435.8 MB, free: 5.172 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003109/0.386, allocations: 87.42 kB / 435.9 MB, free: 5.086 MB / 318.1 MB Notification: Performance of SimCode: time 1.332e-06/0.386, allocations: 0 / 435.9 MB, free: 5.086 MB / 318.1 MB Notification: Performance of Templates: time 0.03765/0.4237, allocations: 20.61 MB / 456.5 MB, free: 484 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 -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/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