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.0009459/0.0009461, allocations: 90.44 kB / 16.65 MB, free: 6.598 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.001215/0.001215, allocations: 183.1 kB / 17.56 MB, free: 6.203 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.325/1.325, allocations: 223.3 MB / 241.6 MB, free: 14.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002499/0.0002499, allocations: 12.84 kB / 301.4 MB, free: 5.871 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08672/0.08698, allocations: 50.41 MB / 351.8 MB, free: 3.449 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.00666/0.09368, allocations: 6.695 MB / 358.5 MB, free: 12.71 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003706/0.09742, allocations: 2.141 MB / 360.7 MB, free: 10.57 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005937/0.09804, allocations: 43.81 kB / 360.7 MB, free: 10.52 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007605/0.09881, allocations: 382 kB / 361.1 MB, free: 10.15 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001867/0.1007, allocations: 0.8119 MB / 361.9 MB, free: 9.336 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000689/0.1014, allocations: 323.5 kB / 362.2 MB, free: 9.02 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003675/0.1051, allocations: 3.439 MB / 365.7 MB, free: 5.566 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003092/0.1082, allocations: 2.404 MB / 368.1 MB, free: 3.102 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001598/0.1098, allocations: 1.031 MB / 369.1 MB, free: 2.066 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002167/0.112, allocations: 1.388 MB / 370.5 MB, free: 0.6719 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005075/0.1125, allocations: 152 kB / 370.6 MB, free: 0.5234 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001115/0.1136, allocations: 279.8 kB / 370.9 MB, free: 256 kB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.1594/0.2731, allocations: 0.6384 MB / 371.5 MB, free: 12.69 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001822/0.2749, allocations: 1.344 MB / 372.9 MB, free: 12.48 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004485/0.2794, allocations: 4.364 MB / 377.2 MB, free: 11.95 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.2794, allocations: 1.031 kB / 377.2 MB, free: 11.95 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.2794, allocations: 0 / 377.2 MB, free: 11.95 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001196/0.2796, allocations: 0 / 377.2 MB, free: 11.95 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.006954/0.2865, allocations: 3.118 MB / 380.4 MB, free: 10.68 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.2866, allocations: 10 kB / 380.4 MB, free: 10.68 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003597/0.2902, allocations: 0.6949 MB / 381.1 MB, free: 10.53 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002553/0.2927, allocations: 1.742 MB / 382.8 MB, free: 10.06 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001398/0.2929, allocations: 202 kB / 383 MB, free: 10.05 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003883/0.2933, allocations: 265.1 kB / 383.3 MB, free: 10.04 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005741/0.299, allocations: 3.626 MB / 386.9 MB, free: 9.266 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.162e-05/0.2991, allocations: 3.469 kB / 386.9 MB, free: 9.266 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002618/0.2994, allocations: 112.8 kB / 387 MB, free: 9.18 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001266/0.2995, allocations: 102.3 kB / 387.1 MB, free: 9.168 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00516/0.3047, allocations: 3.125 MB / 390.2 MB, free: 7.559 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01331/0.318, allocations: 10.41 MB / 400.6 MB, free: 376 kB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004528/0.3226, allocations: 4.573 MB / 405.2 MB, free: 12.04 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001395/0.324, allocations: 0.9554 MB / 406.2 MB, free: 11.21 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003682/0.3277, allocations: 2.41 MB / 408.6 MB, free: 8.746 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.503e-05/0.3277, allocations: 47.42 kB / 408.6 MB, free: 8.691 MB / 318.1 MB Notification: Performance of pre-optimization done (n=104): time 2.685e-06/0.3277, allocations: 4 kB / 408.6 MB, free: 8.688 MB / 318.1 MB Notification: Performance of matching and sorting (n=104): time 0.006238/0.334, allocations: 2.72 MB / 411.4 MB, free: 5.945 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.159e-05/0.3341, allocations: 89.83 kB / 411.4 MB, free: 5.844 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001847/0.3359, allocations: 1.374 MB / 412.8 MB, free: 4.457 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.966e-05/0.336, allocations: 49.64 kB / 412.9 MB, free: 4.402 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007199/0.3367, allocations: 1.164 MB / 414 MB, free: 3.227 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002588/0.337, allocations: 359 kB / 414.4 MB, free: 2.879 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001394/0.3371, allocations: 105.7 kB / 414.5 MB, free: 2.77 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001209/0.3373, allocations: 357.9 kB / 414.8 MB, free: 2.414 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00092/0.3382, allocations: 0.5686 MB / 415.4 MB, free: 1.844 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001085/0.3393, allocations: 0.8647 MB / 416.3 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002059/0.3414, allocations: 1.479 MB / 417.7 MB, free: 15.3 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.651e-06/0.3414, allocations: 4 kB / 417.7 MB, free: 15.3 MB / 334.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003297/0.3447, allocations: 1.984 MB / 419.7 MB, free: 13.37 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.406e-05/0.3447, allocations: 8 kB / 419.7 MB, free: 13.36 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.864e-05/0.3447, allocations: 12.91 kB / 419.8 MB, free: 13.35 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000954/0.3457, allocations: 402.3 kB / 420.1 MB, free: 12.95 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008381/0.3466, allocations: 220.5 kB / 420.4 MB, free: 12.75 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007003/0.3536, allocations: 5.992 MB / 426.4 MB, free: 6.523 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001082/0.3547, allocations: 150.8 kB / 426.5 MB, free: 6.375 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001144/0.3548, allocations: 52 kB / 426.6 MB, free: 6.324 MB / 334.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.001568/0.3564, allocations: 0.8681 MB / 427.4 MB, free: 5.461 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003513/0.3567, allocations: 134.4 kB / 427.6 MB, free: 5.328 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003148/0.3599, allocations: 1.667 MB / 429.2 MB, free: 3.66 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.819e-06/0.3599, allocations: 15.94 kB / 429.2 MB, free: 3.645 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.255e-05/0.3599, allocations: 8 kB / 429.2 MB, free: 3.637 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.032e-05/0.3599, allocations: 3.984 kB / 429.2 MB, free: 3.633 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006721/0.3667, allocations: 3.937 MB / 433.2 MB, free: 15.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/0.3667, allocations: 4 kB / 433.2 MB, free: 15.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005909/0.3673, allocations: 144.2 kB / 433.3 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009222/0.3682, allocations: 399.7 kB / 433.7 MB, free: 15.13 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.646e-05/0.3683, allocations: 27.98 kB / 433.7 MB, free: 15.1 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007033/0.3754, allocations: 5.967 MB / 439.7 MB, free: 8.898 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.952e-06/0.3754, allocations: 6.656 kB / 439.7 MB, free: 8.895 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00414/0.3795, allocations: 2.523 MB / 442.2 MB, free: 6.344 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005603/0.3801, allocations: 243.1 kB / 442.5 MB, free: 6.086 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000305/0.3804, allocations: 24 kB / 442.5 MB, free: 6.062 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009667/0.3814, allocations: 99.91 kB / 442.6 MB, free: 5.965 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002314/0.3816, allocations: 99.58 kB / 442.7 MB, free: 5.871 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.334e-05/0.3817, allocations: 43.92 kB / 442.7 MB, free: 5.828 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001577/0.3833, allocations: 0.9552 MB / 443.7 MB, free: 4.867 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3833, allocations: 0 / 443.7 MB, free: 4.867 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002166/0.3855, allocations: 0.6727 MB / 444.4 MB, free: 4.191 MB / 350.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.0003331/0.3858, allocations: 152.3 kB / 444.5 MB, free: 4.043 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003396/0.3892, allocations: 1.798 MB / 446.3 MB, free: 2.25 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 9.708e-06/0.3893, allocations: 4 kB / 446.3 MB, free: 2.246 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002283/0.3916, allocations: 1.142 MB / 447.5 MB, free: 1.102 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003091/0.3947, allocations: 298.3 kB / 447.8 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01046/0.4052, allocations: 5.817 MB / 453.6 MB, free: 10.93 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002359/0.4076, allocations: 2.18 MB / 455.7 MB, free: 8.715 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001178/0.4087, allocations: 346.9 kB / 456.1 MB, free: 8.371 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002847/0.409, allocations: 90.33 kB / 456.2 MB, free: 8.289 MB / 366.1 MB Notification: Performance of SimCode: time 7.72e-07/0.4091, allocations: 0 / 456.2 MB, free: 8.289 MB / 366.1 MB Notification: Performance of Templates: time 0.03565/0.4447, allocations: 19.31 MB / 475.5 MB, free: 5.234 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches