Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.0009576/0.0009576, allocations: 97.03 kB / 16.31 MB, free: 5.574 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.0009195/0.0009195, allocations: 185.7 kB / 17.2 MB, free: 5.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.253/1.253, allocations: 223.2 MB / 241.1 MB, free: 372 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002626/0.0002626, allocations: 8.547 kB / 300.7 MB, free: 6.426 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08428/0.08456, allocations: 50.41 MB / 351.1 MB, free: 4.004 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.005847/0.09045, allocations: 5.853 MB / 357 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003564/0.09404, allocations: 2.096 MB / 359.1 MB, free: 12.02 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008666/0.09494, allocations: 47.75 kB / 359.1 MB, free: 11.97 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008594/0.09581, allocations: 338.1 kB / 359.5 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001995/0.09782, allocations: 0.7126 MB / 360.2 MB, free: 10.93 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007521/0.09859, allocations: 262.7 kB / 360.4 MB, free: 10.67 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002707/0.1013, allocations: 2.02 MB / 362.5 MB, free: 8.645 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002057/0.1034, allocations: 1.996 MB / 364.5 MB, free: 6.613 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001091/0.1045, allocations: 0.977 MB / 365.4 MB, free: 5.633 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001212/0.1057, allocations: 1.167 MB / 366.6 MB, free: 4.461 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002268/0.1059, allocations: 152 kB / 366.7 MB, free: 4.312 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006395/0.1066, allocations: 259.9 kB / 367 MB, free: 4.059 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004872/0.1071, allocations: 0.6035 MB / 367.6 MB, free: 3.453 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004738/0.1076, allocations: 0.5549 MB / 368.2 MB, free: 2.891 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1551/0.2627, allocations: 3.714 MB / 371.9 MB, free: 12.83 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.2627, allocations: 0 / 371.9 MB, free: 12.83 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.336e-06/0.2628, allocations: 0.8438 kB / 371.9 MB, free: 12.83 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001633/0.2629, allocations: 0 / 371.9 MB, free: 12.83 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.007415/0.2703, allocations: 3.145 MB / 375 MB, free: 11.58 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.2704, allocations: 9.875 kB / 375 MB, free: 11.58 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003607/0.274, allocations: 0.6983 MB / 375.7 MB, free: 11.42 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003243/0.2773, allocations: 1.696 MB / 377.4 MB, free: 11.01 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001302/0.2774, allocations: 199.8 kB / 377.6 MB, free: 11 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004021/0.2778, allocations: 260.8 kB / 377.9 MB, free: 11 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005997/0.2838, allocations: 3.58 MB / 381.5 MB, free: 10.82 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.734e-05/0.2839, allocations: 1.906 kB / 381.5 MB, free: 10.82 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002486/0.2841, allocations: 107.6 kB / 381.6 MB, free: 10.82 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.823e-05/0.2842, allocations: 110.3 kB / 381.7 MB, free: 10.81 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004808/0.2891, allocations: 3.105 MB / 384.8 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0136/0.3027, allocations: 10.41 MB / 395.2 MB, free: 4.512 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003464/0.3062, allocations: 4.576 MB / 399.8 MB, free: 176 kB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00365/0.3098, allocations: 2.448 MB / 402.2 MB, free: 14.38 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.147e-05/0.3099, allocations: 49.33 kB / 402.3 MB, free: 14.32 MB / 318.1 MB Notification: Performance of pre-optimization done (n=108): time 2.585e-06/0.3099, allocations: 2.312 kB / 402.3 MB, free: 14.32 MB / 318.1 MB Notification: Performance of matching and sorting (n=108): time 0.006/0.3159, allocations: 2.724 MB / 405 MB, free: 11.78 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.22e-05/0.316, allocations: 90.11 kB / 405.1 MB, free: 11.68 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00163/0.3176, allocations: 1.354 MB / 406.4 MB, free: 10.31 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.305e-05/0.3177, allocations: 45.7 kB / 406.5 MB, free: 10.26 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007238/0.3184, allocations: 1.147 MB / 407.6 MB, free: 9.098 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002656/0.3187, allocations: 374.9 kB / 408 MB, free: 8.734 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001076/0.3188, allocations: 20 kB / 408 MB, free: 8.715 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001307/0.3189, allocations: 353.9 kB / 408.3 MB, free: 8.363 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009177/0.3199, allocations: 0.5881 MB / 408.9 MB, free: 7.773 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001078/0.3209, allocations: 0.8425 MB / 409.8 MB, free: 6.832 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001085/0.322, allocations: 0.7259 MB / 410.5 MB, free: 6.109 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.3221, allocations: 0 / 410.5 MB, free: 6.109 MB / 318.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003113/0.3252, allocations: 1.995 MB / 412.5 MB, free: 4.16 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/0.3252, allocations: 8 kB / 412.5 MB, free: 4.152 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.3252, allocations: 6.297 kB / 412.5 MB, free: 4.148 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009191/0.3261, allocations: 396 kB / 412.9 MB, free: 3.762 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008524/0.327, allocations: 228 kB / 413.1 MB, free: 3.551 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006955/0.334, allocations: 6.128 MB / 419.3 MB, free: 13.2 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008749/0.3349, allocations: 150.8 kB / 419.4 MB, free: 13.05 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.147e-05/0.335, allocations: 44 kB / 419.4 MB, free: 13.01 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 19,(2,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001301/0.3363, allocations: 0.8599 MB / 420.3 MB, free: 12.15 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002198/0.3365, allocations: 138.4 kB / 420.4 MB, free: 12.01 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002886/0.3394, allocations: 1.727 MB / 422.2 MB, free: 10.29 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.08e-05/0.3394, allocations: 15.98 kB / 422.2 MB, free: 10.28 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.3394, allocations: 4 kB / 422.2 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.094e-05/0.3394, allocations: 3.984 kB / 422.2 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00605/0.3455, allocations: 4.016 MB / 426.2 MB, free: 6.215 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.3455, allocations: 0 / 426.2 MB, free: 6.215 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006212/0.3461, allocations: 154.9 kB / 426.4 MB, free: 6.07 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008631/0.347, allocations: 403.1 kB / 426.7 MB, free: 5.676 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.105e-05/0.3471, allocations: 35.98 kB / 426.8 MB, free: 5.641 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006891/0.354, allocations: 6.093 MB / 432.9 MB, free: 15.31 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.354, allocations: 7.969 kB / 432.9 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003829/0.3579, allocations: 2.66 MB / 435.5 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003674/0.3582, allocations: 249.2 kB / 435.8 MB, free: 12.33 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001657/0.3584, allocations: 24 kB / 435.8 MB, free: 12.31 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007926/0.3592, allocations: 103.9 kB / 435.9 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001932/0.3594, allocations: 100.2 kB / 436 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.145e-05/0.3595, allocations: 35.98 kB / 436 MB, free: 12.08 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001343/0.3608, allocations: 0.9392 MB / 437 MB, free: 11.13 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.3609, allocations: 0 / 437 MB, free: 11.13 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001987/0.3628, allocations: 0.6727 MB / 437.7 MB, free: 10.46 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (converter_e.singlePhaseElectroMagneticConverter[3].Phi.re,converter_e.singlePhaseElectroMagneticConverter[3].Phi.im,loss_m.Phi.re,loss_m.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 (67): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 21,(2,100.0%) 19} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002819/0.3631, allocations: 161.3 kB / 437.8 MB, free: 10.3 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00288/0.366, allocations: 1.825 MB / 439.6 MB, free: 8.473 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.366, allocations: 0 / 439.6 MB, free: 8.473 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001703/0.3678, allocations: 1.155 MB / 440.8 MB, free: 7.312 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001144/0.3689, allocations: 285 kB / 441.1 MB, free: 7.035 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007733/0.3767, allocations: 5.552 MB / 446.6 MB, free: 1.426 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002136/0.3788, allocations: 2.223 MB / 448.8 MB, free: 15.17 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0009543/0.3798, allocations: 343 kB / 449.2 MB, free: 14.83 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002373/0.38, allocations: 90.52 kB / 449.3 MB, free: 14.74 MB / 366.1 MB Notification: Performance of SimCode: time 6.71e-07/0.38, allocations: 0 / 449.3 MB, free: 14.74 MB / 366.1 MB Notification: Performance of Templates: time 0.03264/0.4127, allocations: 18.98 MB / 468.3 MB, free: 12.03 MB / 382.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches