Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001646/0.001646, allocations: 109.4 kB / 18.4 MB, free: 4.703 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.001996/0.001996, allocations: 193.2 kB / 19.33 MB, free: 3.781 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.573/1.573, allocations: 205.1 MB / 225.2 MB, free: 12.27 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001394/0.001394, allocations: 51.94 kB / 329.2 MB, free: 3.32 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09773/0.09913, allocations: 46.62 MB / 375.8 MB, free: 4.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.1938/0.293, allocations: 7.188 MB / 383 MB, free: 9.621 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004036/0.2971, allocations: 2.245 MB / 385.2 MB, free: 8.656 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007305/0.2979, allocations: 44.34 kB / 385.3 MB, free: 8.645 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009777/0.2989, allocations: 435.8 kB / 385.7 MB, free: 8.473 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002246/0.3012, allocations: 0.8743 MB / 386.6 MB, free: 7.98 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009358/0.3021, allocations: 378.7 kB / 387 MB, free: 7.754 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003464/0.3056, allocations: 3.146 MB / 390.1 MB, free: 6.27 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003019/0.3086, allocations: 2.856 MB / 393 MB, free: 5.094 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002131/0.3108, allocations: 1.423 MB / 394.4 MB, free: 4.414 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002332/0.3131, allocations: 1.686 MB / 396.1 MB, free: 3.594 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000752/0.3139, allocations: 359.9 kB / 396.4 MB, free: 3.594 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001259/0.3152, allocations: 476.8 kB / 396.9 MB, free: 3.555 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008402/0.316, allocations: 0.9093 MB / 397.8 MB, free: 3.012 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001883/0.3179, allocations: 1.6 MB / 399.4 MB, free: 1.973 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00558/0.3235, allocations: 4.662 MB / 404.1 MB, free: 15.69 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.3235, allocations: 0 / 404.1 MB, free: 15.69 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.3235, allocations: 0 / 404.1 MB, free: 15.69 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001162/0.3237, allocations: 1.438 kB / 404.1 MB, free: 15.69 MB / 334.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.009325/0.333, allocations: 3.622 MB / 407.7 MB, free: 13.3 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.333, allocations: 9.594 kB / 407.7 MB, free: 13.3 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003874/0.3369, allocations: 0.694 MB / 408.4 MB, free: 12.96 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003357/0.3403, allocations: 1.68 MB / 410.1 MB, free: 11.81 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001209/0.3404, allocations: 201.8 kB / 410.3 MB, free: 11.72 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004292/0.3409, allocations: 260.9 kB / 410.5 MB, free: 11.63 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006446/0.3473, allocations: 3.613 MB / 414.1 MB, free: 9.164 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.561e-05/0.3474, allocations: 0 / 414.1 MB, free: 9.164 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002669/0.3477, allocations: 119.9 kB / 414.3 MB, free: 9.047 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001093/0.3478, allocations: 105.3 kB / 414.4 MB, free: 8.941 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00515/0.353, allocations: 3.093 MB / 417.4 MB, free: 5.836 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01617/0.3691, allocations: 10.36 MB / 427.8 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005034/0.3742, allocations: 4.678 MB / 432.5 MB, free: 5.809 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001405/0.3757, allocations: 0.9498 MB / 433.4 MB, free: 4.852 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004167/0.3798, allocations: 2.452 MB / 435.9 MB, free: 2.312 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.65e-05/0.3799, allocations: 47.44 kB / 435.9 MB, free: 2.258 MB / 350.1 MB Notification: Performance of pre-optimization done (n=104): time 3.116e-06/0.3799, allocations: 0 / 435.9 MB, free: 2.258 MB / 350.1 MB Notification: Performance of matching and sorting (n=104): time 0.006359/0.3863, allocations: 2.699 MB / 438.6 MB, free: 15.5 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.26e-05/0.3863, allocations: 97.91 kB / 438.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0022/0.3886, allocations: 1.374 MB / 440.1 MB, free: 14 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001056/0.3887, allocations: 41.7 kB / 440.1 MB, free: 13.96 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007915/0.3895, allocations: 1.168 MB / 441.3 MB, free: 12.77 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002948/0.3898, allocations: 354.8 kB / 441.7 MB, free: 12.42 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003615/0.3901, allocations: 222.8 kB / 441.9 MB, free: 12.2 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.3903, allocations: 353.9 kB / 442.2 MB, free: 11.85 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009515/0.3913, allocations: 0.5842 MB / 442.8 MB, free: 11.26 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001156/0.3924, allocations: 0.8569 MB / 443.7 MB, free: 10.29 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002097/0.3945, allocations: 1.488 MB / 445.1 MB, free: 8.688 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.275e-06/0.3946, allocations: 0 / 445.1 MB, free: 8.688 MB / 366.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003581/0.3981, allocations: 1.999 MB / 447.1 MB, free: 6.676 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.779e-05/0.3982, allocations: 8 kB / 447.2 MB, free: 6.668 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.24e-05/0.3982, allocations: 8 kB / 447.2 MB, free: 6.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001116/0.3993, allocations: 405.2 kB / 447.6 MB, free: 6.258 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008931/0.4002, allocations: 223.6 kB / 447.8 MB, free: 6.039 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007855/0.4081, allocations: 6.635 MB / 454.4 MB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001193/0.4093, allocations: 146.8 kB / 454.6 MB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000141/0.4095, allocations: 47.94 kB / 454.6 MB, free: 14.93 MB / 382.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.001678/0.4112, allocations: 0.8721 MB / 455.5 MB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004085/0.4116, allocations: 130.4 kB / 455.6 MB, free: 13.92 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003095/0.4147, allocations: 1.667 MB / 457.3 MB, free: 12.23 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.157e-05/0.4147, allocations: 12 kB / 457.3 MB, free: 12.22 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.598e-05/0.4147, allocations: 8 kB / 457.3 MB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.057e-05/0.4147, allocations: 7.984 kB / 457.3 MB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007048/0.4218, allocations: 3.988 MB / 461.3 MB, free: 8.125 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.035e-05/0.4218, allocations: 7.984 kB / 461.3 MB, free: 8.117 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006139/0.4225, allocations: 131.8 kB / 461.4 MB, free: 7.988 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009586/0.4234, allocations: 401.8 kB / 461.8 MB, free: 7.59 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.834e-05/0.4235, allocations: 39.97 kB / 461.9 MB, free: 7.551 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007727/0.4313, allocations: 6.64 MB / 468.5 MB, free: 0.6289 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.4313, allocations: 4.062 kB / 468.5 MB, free: 0.625 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004178/0.4355, allocations: 2.504 MB / 471 MB, free: 14.08 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005989/0.4361, allocations: 243.3 kB / 471.2 MB, free: 13.82 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003539/0.4365, allocations: 35.98 kB / 471.3 MB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009693/0.4375, allocations: 87.84 kB / 471.4 MB, free: 13.7 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002433/0.4377, allocations: 108.6 kB / 471.5 MB, free: 13.59 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.136e-05/0.4378, allocations: 31.98 kB / 471.5 MB, free: 13.56 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001542/0.4394, allocations: 0.963 MB / 472.5 MB, free: 12.59 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4394, allocations: 0 / 472.5 MB, free: 12.59 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00212/0.4415, allocations: 0.6765 MB / 473.1 MB, free: 11.91 MB / 398.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,converter_m.singlePhaseElectroMagneticConverter[3].Phi.re,converter_m.singlePhaseElectroMagneticConverter[3].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.0003246/0.4418, allocations: 151 kB / 473.3 MB, free: 11.76 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003106/0.4449, allocations: 1.813 MB / 475.1 MB, free: 9.918 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.524e-06/0.445, allocations: 4 kB / 475.1 MB, free: 9.914 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001851/0.4468, allocations: 1.141 MB / 476.2 MB, free: 8.742 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001816/0.4486, allocations: 309.8 kB / 476.5 MB, free: 8.441 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008481/0.4571, allocations: 4.537 MB / 481.1 MB, free: 3.84 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002116/0.4593, allocations: 2.124 MB / 483.2 MB, free: 1.68 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003921/0.4597, allocations: 95.41 kB / 483.3 MB, free: 1.586 MB / 398.1 MB Notification: Performance of SimCode: time 7.42e-07/0.4597, allocations: 0 / 483.3 MB, free: 1.586 MB / 398.1 MB Notification: Performance of Templates: time 0.06398/0.5237, allocations: 53.13 MB / 0.5239 GB, free: 12.36 MB / 462.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches