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.0013/0.001305, allocations: 107.4 kB / 17.98 MB, free: 5.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001393/0.001393, allocations: 213.8 kB / 18.92 MB, free: 4.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.424/1.424, allocations: 227.4 MB / 247.1 MB, free: 10.65 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001811/0.001811, allocations: 63.2 kB / 307.1 MB, free: 0.9023 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09295/0.09477, allocations: 50.54 MB / 357.7 MB, free: 14.37 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.009417/0.1042, allocations: 7.793 MB / 365.5 MB, free: 6.531 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004716/0.109, allocations: 2.449 MB / 367.9 MB, free: 4.074 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009451/0.11, allocations: 55.75 kB / 368 MB, free: 4.02 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001008/0.111, allocations: 378 kB / 368.3 MB, free: 3.648 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002353/0.1134, allocations: 0.7816 MB / 369.1 MB, free: 2.863 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000937/0.1143, allocations: 363 kB / 369.5 MB, free: 2.512 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.1683/0.2826, allocations: 3.221 MB / 372.7 MB, free: 9.484 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005623/0.2883, allocations: 2.896 MB / 375.6 MB, free: 8.953 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002135/0.2905, allocations: 1.426 MB / 377 MB, free: 8.793 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002685/0.2932, allocations: 1.73 MB / 378.8 MB, free: 8.504 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001066/0.2943, allocations: 359.6 kB / 379.1 MB, free: 8.504 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00169/0.296, allocations: 491.7 kB / 379.6 MB, free: 8.504 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001061/0.2971, allocations: 0.9108 MB / 380.5 MB, free: 8.395 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001965/0.299, allocations: 1.617 MB / 382.1 MB, free: 7.395 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003942/0.303, allocations: 3.889 MB / 386 MB, free: 6.328 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.303, allocations: 4 kB / 386 MB, free: 6.324 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.434e-06/0.303, allocations: 1.312 kB / 386 MB, free: 6.324 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001443/0.3032, allocations: 3.938 kB / 386 MB, free: 6.32 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.008994/0.3122, allocations: 3.65 MB / 389.7 MB, free: 4.441 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.3122, allocations: 8.656 kB / 389.7 MB, free: 4.441 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004006/0.3162, allocations: 0.7254 MB / 390.4 MB, free: 4.109 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003086/0.3193, allocations: 1.79 MB / 392.2 MB, free: 2.957 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001341/0.3195, allocations: 200.2 kB / 392.4 MB, free: 2.863 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004698/0.32, allocations: 265.7 kB / 392.6 MB, free: 2.777 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006085/0.3261, allocations: 3.613 MB / 396.2 MB, free: 0.668 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.387e-05/0.3262, allocations: 5.531 kB / 396.3 MB, free: 0.668 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000263/0.3264, allocations: 108.1 kB / 396.4 MB, free: 0.582 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.457e-05/0.3265, allocations: 107.3 kB / 396.5 MB, free: 0.5664 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004936/0.3315, allocations: 3.099 MB / 399.6 MB, free: 14.96 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0185/0.35, allocations: 10.36 MB / 409.9 MB, free: 4.695 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005636/0.3557, allocations: 4.572 MB / 414.5 MB, free: 15.48 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001599/0.3573, allocations: 0.9457 MB / 415.4 MB, free: 14.53 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004615/0.3619, allocations: 2.663 MB / 418.1 MB, free: 11.76 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.106e-05/0.362, allocations: 51 kB / 418.2 MB, free: 11.7 MB / 334.1 MB Notification: Performance of pre-optimization done (n=104): time 5.03e-06/0.362, allocations: 0 / 418.2 MB, free: 11.7 MB / 334.1 MB Notification: Performance of matching and sorting (n=104): time 0.006667/0.3687, allocations: 2.657 MB / 420.8 MB, free: 9.016 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.531e-05/0.3688, allocations: 93.97 kB / 420.9 MB, free: 8.906 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002161/0.3709, allocations: 1.396 MB / 422.3 MB, free: 7.5 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 9.749e-05/0.371, allocations: 45.7 kB / 422.3 MB, free: 7.449 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009213/0.372, allocations: 1.175 MB / 423.5 MB, free: 6.262 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003257/0.3723, allocations: 357.5 kB / 423.9 MB, free: 5.918 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003721/0.3727, allocations: 222.1 kB / 424.1 MB, free: 5.695 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001819/0.3729, allocations: 361.9 kB / 424.4 MB, free: 5.336 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009828/0.3738, allocations: 0.5686 MB / 425 MB, free: 4.77 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001225/0.3751, allocations: 0.8444 MB / 425.9 MB, free: 3.812 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002232/0.3773, allocations: 1.463 MB / 427.3 MB, free: 2.266 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.746e-06/0.3773, allocations: 4 kB / 427.3 MB, free: 2.262 MB / 334.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.00357/0.3809, allocations: 1.977 MB / 429.3 MB, free: 348 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.46e-05/0.381, allocations: 8 kB / 429.3 MB, free: 340 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.562e-05/0.381, allocations: 8 kB / 429.3 MB, free: 332 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001035/0.382, allocations: 401.4 kB / 429.7 MB, free: 15.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008425/0.3829, allocations: 214.1 kB / 429.9 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008198/0.3911, allocations: 6.518 MB / 436.4 MB, free: 8.973 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00117/0.3923, allocations: 138.7 kB / 436.6 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001238/0.3924, allocations: 51.98 kB / 436.6 MB, free: 8.785 MB / 350.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.001567/0.394, allocations: 0.8736 MB / 437.5 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000342/0.3944, allocations: 138.3 kB / 437.6 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003172/0.3975, allocations: 1.651 MB / 439.3 MB, free: 6.129 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.736e-05/0.3976, allocations: 16 kB / 439.3 MB, free: 6.113 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.169e-05/0.3976, allocations: 8 kB / 439.3 MB, free: 6.105 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.336e-05/0.3976, allocations: 7.969 kB / 439.3 MB, free: 6.098 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006805/0.4044, allocations: 3.933 MB / 443.2 MB, free: 2.129 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.4044, allocations: 0 / 443.2 MB, free: 2.129 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005802/0.405, allocations: 131.4 kB / 443.4 MB, free: 2.008 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009909/0.406, allocations: 406.4 kB / 443.8 MB, free: 1.609 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.133e-05/0.4061, allocations: 31.98 kB / 443.8 MB, free: 1.578 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008134/0.4143, allocations: 6.507 MB / 450.3 MB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/0.4143, allocations: 3.938 kB / 450.3 MB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004278/0.4186, allocations: 2.488 MB / 452.8 MB, free: 8.312 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005561/0.4192, allocations: 247.2 kB / 453 MB, free: 8.051 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001946/0.4194, allocations: 27.94 kB / 453.1 MB, free: 8.023 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008011/0.4202, allocations: 95.84 kB / 453.2 MB, free: 7.93 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000242/0.4204, allocations: 96.23 kB / 453.3 MB, free: 7.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.649e-05/0.4205, allocations: 35.98 kB / 453.3 MB, free: 7.805 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001546/0.4221, allocations: 0.9795 MB / 454.3 MB, free: 6.82 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.4221, allocations: 0 / 454.3 MB, free: 6.82 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002103/0.4242, allocations: 0.6766 MB / 454.9 MB, free: 6.141 MB / 366.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.0003445/0.4245, allocations: 156.7 kB / 455.1 MB, free: 5.988 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003626/0.4282, allocations: 1.936 MB / 457 MB, free: 4.062 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.99e-06/0.4282, allocations: 0 / 457 MB, free: 4.062 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001918/0.4301, allocations: 1.131 MB / 458.2 MB, free: 2.922 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001688/0.4318, allocations: 306.3 kB / 458.5 MB, free: 2.625 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008912/0.4408, allocations: 5.709 MB / 464.2 MB, free: 12.86 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002073/0.4429, allocations: 2.139 MB / 466.3 MB, free: 10.69 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004377/0.4433, allocations: 99.41 kB / 466.4 MB, free: 10.59 MB / 382.1 MB Notification: Performance of SimCode: time 9.21e-07/0.4433, allocations: 0 / 466.4 MB, free: 10.59 MB / 382.1 MB Notification: Performance of Templates: time 0.06655/0.5099, allocations: 53.18 MB / 0.5074 GB, free: 5.508 MB / 430.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins1/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