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.001003/0.001003, allocations: 112.7 kB / 17.07 MB, free: 5.988 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.00107/0.00107, allocations: 191 kB / 18 MB, free: 5.078 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.423/1.423, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001053/0.001053, allocations: 51.92 kB / 351.3 MB, free: 3.27 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2443/0.2453, allocations: 49.42 MB / 400.7 MB, free: 8.758 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.008222/0.2536, allocations: 7.251 MB / 408 MB, free: 1.609 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004082/0.2577, allocations: 2.18 MB / 410.2 MB, free: 15.42 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001035/0.2588, allocations: 51.81 kB / 410.2 MB, free: 15.37 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001226/0.26, allocations: 452.9 kB / 410.6 MB, free: 14.93 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002598/0.2627, allocations: 0.878 MB / 411.5 MB, free: 14.04 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009938/0.2637, allocations: 366.3 kB / 411.9 MB, free: 13.68 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004225/0.2679, allocations: 3.155 MB / 415 MB, free: 10.52 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004352/0.2723, allocations: 2.887 MB / 417.9 MB, free: 7.566 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001836/0.2741, allocations: 1.41 MB / 419.3 MB, free: 6.152 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002648/0.2768, allocations: 1.693 MB / 421 MB, free: 4.453 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004748/0.2773, allocations: 360 kB / 421.4 MB, free: 4.102 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009478/0.2782, allocations: 487.8 kB / 421.9 MB, free: 3.625 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007099/0.279, allocations: 0.896 MB / 422.7 MB, free: 2.727 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001626/0.2806, allocations: 1.61 MB / 424.4 MB, free: 1.109 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004176/0.2848, allocations: 4.683 MB / 429 MB, free: 12.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.2848, allocations: 0 / 429 MB, free: 12.41 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.2848, allocations: 4 kB / 429 MB, free: 12.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.081e-05/0.2849, allocations: 0 / 429 MB, free: 12.41 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.007901/0.2928, allocations: 3.702 MB / 432.7 MB, free: 8.645 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.2929, allocations: 12.03 kB / 432.8 MB, free: 8.633 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003545/0.2964, allocations: 0.7016 MB / 433.5 MB, free: 7.93 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00287/0.2993, allocations: 1.804 MB / 435.3 MB, free: 6.066 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001439/0.2995, allocations: 201.7 kB / 435.5 MB, free: 5.867 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000369/0.2998, allocations: 268.1 kB / 435.7 MB, free: 5.605 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005827/0.3057, allocations: 3.614 MB / 439.3 MB, free: 1.938 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.012e-05/0.3057, allocations: 0 / 439.3 MB, free: 1.938 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002514/0.306, allocations: 108 kB / 439.4 MB, free: 1.832 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.522e-05/0.3061, allocations: 105.4 kB / 439.5 MB, free: 1.727 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004991/0.3111, allocations: 3.097 MB / 442.6 MB, free: 14.61 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01477/0.3259, allocations: 10.25 MB / 452.9 MB, free: 4.023 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004986/0.3309, allocations: 4.581 MB / 457.5 MB, free: 14.79 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001374/0.3323, allocations: 0.9415 MB / 458.4 MB, free: 13.84 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00372/0.3361, allocations: 2.394 MB / 460.8 MB, free: 11.36 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.311e-05/0.3361, allocations: 51.36 kB / 460.9 MB, free: 11.3 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 2.514e-06/0.3361, allocations: 4 kB / 460.9 MB, free: 11.3 MB / 382.1 MB Notification: Performance of matching and sorting (n=104): time 0.005979/0.3421, allocations: 2.657 MB / 463.5 MB, free: 8.594 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.605e-05/0.3422, allocations: 89.98 kB / 463.6 MB, free: 8.484 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001743/0.3439, allocations: 1.378 MB / 465 MB, free: 7.094 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.89e-05/0.344, allocations: 45.7 kB / 465 MB, free: 7.043 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007056/0.3447, allocations: 1.187 MB / 466.2 MB, free: 5.844 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002638/0.345, allocations: 392.7 kB / 466.6 MB, free: 5.457 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003121/0.3453, allocations: 210.9 kB / 466.8 MB, free: 5.246 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001322/0.3454, allocations: 353.9 kB / 467.2 MB, free: 4.895 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008623/0.3463, allocations: 0.5608 MB / 467.7 MB, free: 4.332 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001027/0.3473, allocations: 0.8491 MB / 468.6 MB, free: 3.371 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001917/0.3493, allocations: 1.457 MB / 470 MB, free: 1.805 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.636e-06/0.3493, allocations: 4 kB / 470 MB, free: 1.801 MB / 382.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003119/0.3524, allocations: 1.973 MB / 472 MB, free: 15.81 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.161e-05/0.3525, allocations: 8 kB / 472 MB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.423e-05/0.3525, allocations: 8 kB / 472 MB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001/0.3535, allocations: 407.1 kB / 472.4 MB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007905/0.3543, allocations: 215.7 kB / 472.6 MB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007378/0.3617, allocations: 6.527 MB / 479.2 MB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009411/0.3626, allocations: 151 kB / 479.3 MB, free: 8.234 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001115/0.3628, allocations: 47.98 kB / 479.3 MB, free: 8.188 MB / 398.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.001376/0.3641, allocations: 0.8642 MB / 480.2 MB, free: 7.312 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003788/0.3645, allocations: 143.2 kB / 480.4 MB, free: 7.172 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003187/0.3677, allocations: 1.652 MB / 482 MB, free: 5.5 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.055e-05/0.3678, allocations: 12 kB / 482 MB, free: 5.488 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.893e-05/0.3678, allocations: 8 kB / 482 MB, free: 5.48 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.138e-05/0.3678, allocations: 3.984 kB / 482 MB, free: 5.477 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006548/0.3743, allocations: 3.914 MB / 485.9 MB, free: 1.477 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.773e-06/0.3744, allocations: 8.188 kB / 485.9 MB, free: 1.469 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005486/0.3749, allocations: 135.8 kB / 486.1 MB, free: 1.336 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009118/0.3758, allocations: 389.3 kB / 486.5 MB, free: 0.9492 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.951e-05/0.3759, allocations: 31.98 kB / 486.5 MB, free: 0.918 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007019/0.383, allocations: 6.515 MB / 493 MB, free: 10.12 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/0.383, allocations: 4.031 kB / 493 MB, free: 10.12 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003803/0.3868, allocations: 2.493 MB / 495.5 MB, free: 7.582 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004184/0.3872, allocations: 251.8 kB / 495.7 MB, free: 7.316 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000236/0.3875, allocations: 24 kB / 495.8 MB, free: 7.293 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008458/0.3883, allocations: 91.91 kB / 495.9 MB, free: 7.203 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002123/0.3886, allocations: 96.67 kB / 496 MB, free: 7.109 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.243e-05/0.3887, allocations: 35.98 kB / 496 MB, free: 7.074 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001484/0.3902, allocations: 0.9591 MB / 497 MB, free: 6.109 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3902, allocations: 0 / 497 MB, free: 6.109 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001828/0.392, allocations: 0.6775 MB / 497.6 MB, free: 5.43 MB / 414.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.0002954/0.3923, allocations: 155 kB / 497.8 MB, free: 5.27 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003058/0.3954, allocations: 1.785 MB / 499.6 MB, free: 3.461 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.3954, allocations: 0 / 499.6 MB, free: 3.461 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001911/0.3973, allocations: 1.137 MB / 0.489 GB, free: 2.301 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001643/0.399, allocations: 301.7 kB / 0.4893 GB, free: 2.008 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007649/0.4066, allocations: 4.639 MB / 0.4938 GB, free: 13.3 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002083/0.4087, allocations: 2.176 MB / 0.4959 GB, free: 11.09 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0009239/0.4097, allocations: 346.9 kB / 0.4962 GB, free: 10.75 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002627/0.4099, allocations: 87.42 kB / 0.4963 GB, free: 10.66 MB / 430.1 MB Notification: Performance of SimCode: time 5.61e-07/0.4099, allocations: 4 kB / 0.4963 GB, free: 10.66 MB / 430.1 MB Notification: Performance of Templates: time 0.03599/0.4459, allocations: 20.81 MB / 0.5166 GB, free: 6.07 MB / 446.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