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.001181/0.001181, allocations: 111.2 kB / 17.29 MB, free: 6.059 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.001257/0.001257, allocations: 197.3 kB / 18.21 MB, free: 5.145 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.336/1.336, allocations: 222.9 MB / 241.9 MB, free: 15.4 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001102/0.001102, allocations: 41.94 kB / 300.8 MB, free: 6.203 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09616/0.09728, allocations: 49.44 MB / 350.2 MB, free: 4.754 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.008673/0.106, allocations: 7.209 MB / 357.4 MB, free: 13.5 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004122/0.1102, allocations: 2.145 MB / 359.6 MB, free: 11.35 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001179/0.1114, allocations: 51.81 kB / 359.6 MB, free: 11.3 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001295/0.1127, allocations: 378 kB / 360 MB, free: 10.93 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002662/0.1154, allocations: 0.8087 MB / 360.8 MB, free: 10.11 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000931/0.1164, allocations: 330.4 kB / 361.1 MB, free: 9.793 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003651/0.12, allocations: 3.125 MB / 364.3 MB, free: 6.652 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003388/0.1234, allocations: 2.895 MB / 367.2 MB, free: 3.695 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001887/0.1253, allocations: 1.421 MB / 368.6 MB, free: 2.27 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002474/0.1278, allocations: 1.724 MB / 370.3 MB, free: 0.5391 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007054/0.1286, allocations: 360 kB / 370.7 MB, free: 192 kB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.154/0.2825, allocations: 477.8 kB / 371.1 MB, free: 13.9 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001364/0.2839, allocations: 0.9042 MB / 372 MB, free: 13.9 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003296/0.2872, allocations: 1.612 MB / 373.6 MB, free: 13.64 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004704/0.292, allocations: 3.864 MB / 377.5 MB, free: 13.42 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.259e-06/0.292, allocations: 0 / 377.5 MB, free: 13.42 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.292, allocations: 3.562 kB / 377.5 MB, free: 13.42 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.000146/0.2922, allocations: 3.938 kB / 377.5 MB, free: 13.42 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.0104/0.3026, allocations: 3.614 MB / 381.1 MB, free: 12.11 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.686e-05/0.3026, allocations: 11.75 kB / 381.1 MB, free: 12.11 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00378/0.3064, allocations: 0.6918 MB / 381.8 MB, free: 11.91 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003342/0.3097, allocations: 1.742 MB / 383.6 MB, free: 11.03 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000156/0.3099, allocations: 198.4 kB / 383.8 MB, free: 10.94 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005839/0.3105, allocations: 261.8 kB / 384 MB, free: 10.86 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007189/0.3177, allocations: 3.621 MB / 387.6 MB, free: 9.203 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.34e-05/0.3178, allocations: 0 / 387.6 MB, free: 9.203 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002874/0.3181, allocations: 106.8 kB / 387.7 MB, free: 9.121 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001111/0.3182, allocations: 111.4 kB / 387.9 MB, free: 9.105 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005992/0.3242, allocations: 3.089 MB / 390.9 MB, free: 7.504 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01552/0.3398, allocations: 10.36 MB / 401.3 MB, free: 328 kB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004425/0.3442, allocations: 4.566 MB / 405.9 MB, free: 11.92 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001371/0.3456, allocations: 0.9526 MB / 406.8 MB, free: 10.97 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003818/0.3494, allocations: 2.403 MB / 409.2 MB, free: 8.512 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.68e-05/0.3495, allocations: 50.06 kB / 409.3 MB, free: 8.457 MB / 318.1 MB Notification: Performance of pre-optimization done (n=104): time 2.454e-06/0.3495, allocations: 0 / 409.3 MB, free: 8.457 MB / 318.1 MB Notification: Performance of matching and sorting (n=104): time 0.006148/0.3557, allocations: 2.65 MB / 411.9 MB, free: 5.777 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.373e-05/0.3557, allocations: 85.98 kB / 412 MB, free: 5.676 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002021/0.3578, allocations: 1.377 MB / 413.4 MB, free: 4.289 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.87e-05/0.3579, allocations: 41.7 kB / 413.4 MB, free: 4.242 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007078/0.3586, allocations: 1.164 MB / 414.6 MB, free: 3.066 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002879/0.3589, allocations: 360.3 kB / 414.9 MB, free: 2.719 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003711/0.3593, allocations: 222.4 kB / 415.2 MB, free: 2.496 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001311/0.3594, allocations: 361.9 kB / 415.5 MB, free: 2.137 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008975/0.3603, allocations: 0.5646 MB / 416.1 MB, free: 1.574 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001055/0.3614, allocations: 0.8439 MB / 416.9 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001983/0.3634, allocations: 1.459 MB / 418.4 MB, free: 15.07 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.486e-06/0.3634, allocations: 6.062 kB / 418.4 MB, free: 15.07 MB / 334.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003282/0.3667, allocations: 1.96 MB / 420.3 MB, free: 13.16 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.384e-05/0.3667, allocations: 8 kB / 420.4 MB, free: 13.15 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.687e-05/0.3667, allocations: 8.875 kB / 420.4 MB, free: 13.14 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001023/0.3678, allocations: 403.7 kB / 420.8 MB, free: 12.75 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008466/0.3686, allocations: 218.4 kB / 421 MB, free: 12.55 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007277/0.3759, allocations: 6.53 MB / 427.5 MB, free: 5.777 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001169/0.3771, allocations: 142.8 kB / 427.6 MB, free: 5.637 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001376/0.3773, allocations: 48 kB / 427.7 MB, free: 5.59 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.001577/0.3788, allocations: 0.8697 MB / 428.6 MB, free: 4.727 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003702/0.3792, allocations: 142.3 kB / 428.7 MB, free: 4.586 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002983/0.3822, allocations: 1.65 MB / 430.3 MB, free: 2.941 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.026e-05/0.3822, allocations: 12 kB / 430.4 MB, free: 2.93 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.249e-05/0.3822, allocations: 4 kB / 430.4 MB, free: 2.926 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.253e-05/0.3823, allocations: 3.984 kB / 430.4 MB, free: 2.922 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006737/0.389, allocations: 3.913 MB / 434.3 MB, free: 14.97 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.123e-06/0.389, allocations: 4.188 kB / 434.3 MB, free: 14.97 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000603/0.3897, allocations: 137.5 kB / 434.4 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009742/0.3906, allocations: 400.2 kB / 434.8 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.513e-05/0.3907, allocations: 31.97 kB / 434.8 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007207/0.398, allocations: 6.503 MB / 441.3 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.874e-06/0.398, allocations: 7.969 kB / 441.3 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004095/0.4021, allocations: 2.478 MB / 443.8 MB, free: 5.156 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005659/0.4027, allocations: 239.3 kB / 444.1 MB, free: 4.902 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003565/0.403, allocations: 26.81 kB / 444.1 MB, free: 4.879 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001015/0.4041, allocations: 95.91 kB / 444.2 MB, free: 4.785 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002591/0.4043, allocations: 100.6 kB / 444.3 MB, free: 4.688 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.631e-05/0.4044, allocations: 35.98 kB / 444.3 MB, free: 4.652 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001639/0.4061, allocations: 0.9552 MB / 445.3 MB, free: 3.691 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.4061, allocations: 0 / 445.3 MB, free: 3.691 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002319/0.4084, allocations: 0.6727 MB / 445.9 MB, free: 3.016 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.0003718/0.4088, allocations: 152.2 kB / 446.1 MB, free: 2.867 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003717/0.4125, allocations: 1.933 MB / 448 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.614e-06/0.4126, allocations: 1.188 kB / 448 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001971/0.4146, allocations: 1.128 MB / 449.2 MB, free: 15.81 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002259/0.4168, allocations: 309.8 kB / 449.5 MB, free: 15.51 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009702/0.4266, allocations: 5.687 MB / 455.1 MB, free: 9.762 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002255/0.4289, allocations: 2.117 MB / 457.3 MB, free: 7.605 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004915/0.4294, allocations: 99.41 kB / 457.4 MB, free: 7.512 MB / 366.1 MB Notification: Performance of SimCode: time 8.52e-07/0.4294, allocations: 0 / 457.4 MB, free: 7.512 MB / 366.1 MB Notification: Performance of Templates: time 0.07005/0.4994, allocations: 52.62 MB / 0.498 GB, free: 3.012 MB / 414.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins1/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