Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001068/0.001069, allocations: 118.8 kB / 17.78 MB, free: 5.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001157/0.001157, allocations: 202 kB / 18.72 MB, free: 4.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.339/1.339, allocations: 227.4 MB / 246.9 MB, free: 10.51 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001112/0.001112, allocations: 55.91 kB / 358.7 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2456/0.2467, allocations: 50.55 MB / 409.2 MB, free: 1.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.00812/0.2548, allocations: 7.847 MB / 417.1 MB, free: 9.684 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005452/0.2603, allocations: 2.472 MB / 419.6 MB, free: 7.203 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008135/0.2611, allocations: 63.69 kB / 419.6 MB, free: 7.141 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008725/0.2621, allocations: 448.9 kB / 420.1 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001767/0.2638, allocations: 0.8431 MB / 420.9 MB, free: 5.852 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007561/0.2646, allocations: 402.8 kB / 421.3 MB, free: 5.461 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003101/0.2677, allocations: 3.248 MB / 424.5 MB, free: 2.203 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00272/0.2705, allocations: 2.899 MB / 427.4 MB, free: 15.24 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00151/0.272, allocations: 1.425 MB / 428.9 MB, free: 13.81 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001778/0.2738, allocations: 1.693 MB / 430.6 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004114/0.2742, allocations: 360 kB / 430.9 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008927/0.2751, allocations: 495.8 kB / 431.4 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000699/0.2758, allocations: 0.8999 MB / 432.3 MB, free: 10.37 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001528/0.2773, allocations: 1.622 MB / 433.9 MB, free: 8.742 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004407/0.2818, allocations: 4.698 MB / 438.6 MB, free: 4.035 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.757e-06/0.2818, allocations: 0 / 438.6 MB, free: 4.035 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.434e-06/0.2818, allocations: 0 / 438.6 MB, free: 4.035 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001294/0.2819, allocations: 0 / 438.6 MB, free: 4.035 MB / 350.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.008161/0.2901, allocations: 3.656 MB / 442.3 MB, free: 324 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.2902, allocations: 12.03 kB / 442.3 MB, free: 312 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003811/0.294, allocations: 0.739 MB / 443 MB, free: 15.56 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003118/0.2971, allocations: 1.839 MB / 444.9 MB, free: 13.66 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001252/0.2973, allocations: 197.7 kB / 445.1 MB, free: 13.46 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003625/0.2976, allocations: 268 kB / 445.3 MB, free: 13.2 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005382/0.303, allocations: 3.618 MB / 448.9 MB, free: 9.531 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.012e-05/0.3031, allocations: 3.984 kB / 448.9 MB, free: 9.527 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002269/0.3033, allocations: 104 kB / 449 MB, free: 9.426 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.767e-05/0.3034, allocations: 105.4 kB / 449.1 MB, free: 9.32 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004523/0.3079, allocations: 3.097 MB / 452.2 MB, free: 6.211 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01398/0.3219, allocations: 10.22 MB / 462.5 MB, free: 11.65 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004527/0.3265, allocations: 4.578 MB / 467 MB, free: 6.418 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001283/0.3278, allocations: 0.9386 MB / 468 MB, free: 5.48 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003749/0.3316, allocations: 2.643 MB / 470.6 MB, free: 2.695 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.266e-05/0.3316, allocations: 51.42 kB / 470.7 MB, free: 2.633 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 2.314e-06/0.3316, allocations: 0 / 470.7 MB, free: 2.633 MB / 382.1 MB Notification: Performance of matching and sorting (n=104): time 0.005882/0.3375, allocations: 2.645 MB / 473.3 MB, free: 15.94 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.601e-05/0.3376, allocations: 89.98 kB / 473.4 MB, free: 15.83 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001642/0.3392, allocations: 1.407 MB / 474.8 MB, free: 14.41 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.345e-05/0.3393, allocations: 49.7 kB / 474.9 MB, free: 14.36 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006727/0.34, allocations: 1.172 MB / 476 MB, free: 13.17 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002765/0.3403, allocations: 358.8 kB / 476.4 MB, free: 12.82 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003048/0.3406, allocations: 214.9 kB / 476.6 MB, free: 12.6 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001219/0.3407, allocations: 353.9 kB / 476.9 MB, free: 12.25 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008321/0.3415, allocations: 0.5647 MB / 477.5 MB, free: 11.68 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001014/0.3426, allocations: 0.8452 MB / 478.3 MB, free: 10.73 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001907/0.3445, allocations: 1.461 MB / 479.8 MB, free: 9.148 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.63e-06/0.3445, allocations: 0 / 479.8 MB, free: 9.148 MB / 398.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003045/0.3475, allocations: 1.968 MB / 481.8 MB, free: 7.164 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.303e-05/0.3476, allocations: 8 kB / 481.8 MB, free: 7.156 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.252e-05/0.3476, allocations: 12.19 kB / 481.8 MB, free: 7.145 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009063/0.3485, allocations: 404.5 kB / 482.2 MB, free: 6.746 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007817/0.3493, allocations: 215.7 kB / 482.4 MB, free: 6.535 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006926/0.3562, allocations: 6.531 MB / 488.9 MB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009472/0.3572, allocations: 138.7 kB / 489.1 MB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.104e-05/0.3573, allocations: 51.98 kB / 489.1 MB, free: 15.54 MB / 414.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.001286/0.3586, allocations: 0.8798 MB / 490 MB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002225/0.3588, allocations: 138.3 kB / 490.1 MB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002771/0.3616, allocations: 1.648 MB / 491.8 MB, free: 12.85 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.819e-06/0.3616, allocations: 12 kB / 491.8 MB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.787e-06/0.3616, allocations: 8 kB / 491.8 MB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.164e-05/0.3617, allocations: 7.969 kB / 491.8 MB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006153/0.3678, allocations: 3.911 MB / 495.7 MB, free: 8.824 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/0.3679, allocations: 4 kB / 495.7 MB, free: 8.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005661/0.3684, allocations: 131.8 kB / 495.9 MB, free: 8.691 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009239/0.3694, allocations: 397.4 kB / 496.2 MB, free: 8.297 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.579e-05/0.3694, allocations: 27.98 kB / 496.3 MB, free: 8.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007165/0.3766, allocations: 6.528 MB / 0.491 GB, free: 1.465 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.3767, allocations: 4 kB / 0.491 GB, free: 1.461 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003855/0.3805, allocations: 2.477 MB / 0.4934 GB, free: 14.94 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004922/0.381, allocations: 243.2 kB / 0.4937 GB, free: 14.68 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001553/0.3812, allocations: 35.92 kB / 0.4937 GB, free: 14.65 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007723/0.382, allocations: 79.92 kB / 0.4938 GB, free: 14.57 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00025/0.3822, allocations: 96.67 kB / 0.4939 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.799e-05/0.3823, allocations: 31.98 kB / 0.4939 GB, free: 14.45 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001281/0.3836, allocations: 0.9873 MB / 0.4949 GB, free: 13.45 MB / 430.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.3836, allocations: 4 kB / 0.4949 GB, free: 13.45 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001885/0.3855, allocations: 0.6765 MB / 0.4955 GB, free: 12.77 MB / 430.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,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 (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.0002953/0.3858, allocations: 155 kB / 0.4957 GB, free: 12.61 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002915/0.3887, allocations: 1.789 MB / 0.4974 GB, free: 10.79 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.3887, allocations: 4.125 kB / 0.4974 GB, free: 10.79 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00174/0.3905, allocations: 1.117 MB / 0.4985 GB, free: 9.645 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001627/0.3921, allocations: 312.4 kB / 0.4988 GB, free: 9.34 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007465/0.3996, allocations: 4.587 MB / 0.5033 GB, free: 4.691 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001761/0.4014, allocations: 2.188 MB / 0.5054 GB, free: 2.469 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0009381/0.4023, allocations: 335 kB / 0.5058 GB, free: 2.137 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002344/0.4026, allocations: 87.42 kB / 0.5058 GB, free: 2.051 MB / 430.1 MB Notification: Performance of SimCode: time 6.41e-07/0.4026, allocations: 0 / 0.5058 GB, free: 2.051 MB / 430.1 MB Notification: Performance of Templates: time 0.04018/0.4428, allocations: 21.2 MB / 0.5265 GB, free: 13.05 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) diffSimulationResults("Modelica_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches