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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001772/0.001772, allocations: 114.9 kB / 19.04 MB, free: 3.281 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002068/0.002068, allocations: 190 kB / 22.21 MB, free: 112 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.394/1.394, allocations: 225.6 MB / 250.8 MB, free: 13.38 MB / 206.1 MB " [Timeout remaining time 178] 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=4000,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=4000,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001479/0.001479, allocations: 47.92 kB / 368.7 MB, free: 10.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2323/0.2338, allocations: 52.13 MB / 420.9 MB, free: 15.13 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01012/0.2439, allocations: 7.321 MB / 428.2 MB, free: 7.773 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00506/0.2489, allocations: 2.199 MB / 430.4 MB, free: 5.566 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009478/0.2499, allocations: 55.75 kB / 430.4 MB, free: 5.512 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001033/0.2509, allocations: 457 kB / 430.9 MB, free: 5.062 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002484/0.2534, allocations: 0.9093 MB / 431.8 MB, free: 4.148 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008847/0.2543, allocations: 366.7 kB / 432.2 MB, free: 3.793 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00397/0.2583, allocations: 3.145 MB / 435.3 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002102/0.2604, allocations: 1.569 MB / 436.9 MB, free: 15 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002003/0.2624, allocations: 1.433 MB / 438.3 MB, free: 13.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00256/0.2649, allocations: 1.705 MB / 440 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005847/0.2655, allocations: 359.9 kB / 440.4 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001077/0.2666, allocations: 491.8 kB / 440.8 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008498/0.2674, allocations: 0.9037 MB / 441.7 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001939/0.2694, allocations: 1.61 MB / 443.4 MB, free: 8.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005186/0.2746, allocations: 4.679 MB / 448 MB, free: 3.809 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.2746, allocations: 0 / 448 MB, free: 3.809 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.2746, allocations: 0 / 448 MB, free: 3.809 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.466e-05/0.2747, allocations: 0 / 448 MB, free: 3.809 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.008246/0.2829, allocations: 3.703 MB / 451.7 MB, free: 40 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.283, allocations: 12.02 kB / 451.7 MB, free: 28 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00358/0.2865, allocations: 0.7055 MB / 452.5 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003155/0.2897, allocations: 1.804 MB / 454.3 MB, free: 13.46 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001599/0.2898, allocations: 201.7 kB / 454.5 MB, free: 13.26 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004215/0.2903, allocations: 264.1 kB / 454.7 MB, free: 13 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006462/0.2967, allocations: 3.622 MB / 458.3 MB, free: 9.324 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.013e-05/0.2968, allocations: 0 / 458.3 MB, free: 9.324 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002729/0.2971, allocations: 104 kB / 458.4 MB, free: 9.223 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000112/0.2972, allocations: 105.4 kB / 458.5 MB, free: 9.117 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005487/0.3027, allocations: 3.097 MB / 461.6 MB, free: 6.008 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01638/0.319, allocations: 10.26 MB / 471.9 MB, free: 11.41 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005058/0.3241, allocations: 4.469 MB / 476.4 MB, free: 6.285 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001398/0.3255, allocations: 0.8759 MB / 477.2 MB, free: 5.406 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003813/0.3293, allocations: 2.39 MB / 479.6 MB, free: 2.93 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.927e-05/0.3293, allocations: 47.44 kB / 479.7 MB, free: 2.871 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 2.675e-06/0.3293, allocations: 4 kB / 479.7 MB, free: 2.867 MB / 382.1 MB Notification: Performance of matching and sorting (n=104): time 0.006337/0.3357, allocations: 2.638 MB / 482.3 MB, free: 188 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.154e-05/0.3357, allocations: 89.98 kB / 482.4 MB, free: 76 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001961/0.3377, allocations: 1.378 MB / 483.8 MB, free: 14.68 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.742e-05/0.3378, allocations: 45.7 kB / 483.8 MB, free: 14.63 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008722/0.3386, allocations: 1.191 MB / 485 MB, free: 13.43 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003111/0.339, allocations: 380.8 kB / 485.4 MB, free: 13.05 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003488/0.3393, allocations: 218.9 kB / 485.6 MB, free: 12.84 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001649/0.3395, allocations: 353.9 kB / 486 MB, free: 12.48 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009501/0.3404, allocations: 0.5608 MB / 486.5 MB, free: 11.92 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001181/0.3416, allocations: 0.8452 MB / 487.4 MB, free: 10.96 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002144/0.3437, allocations: 1.461 MB / 488.8 MB, free: 9.391 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/0.3438, allocations: 0 / 488.8 MB, free: 9.391 MB / 398.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003433/0.3472, allocations: 1.957 MB / 490.8 MB, free: 7.414 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.178e-05/0.3472, allocations: 8 kB / 490.8 MB, free: 7.406 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.585e-05/0.3472, allocations: 8 kB / 490.8 MB, free: 7.398 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009871/0.3482, allocations: 402.6 kB / 491.2 MB, free: 7.004 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008475/0.3491, allocations: 227.6 kB / 491.4 MB, free: 6.781 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007862/0.3569, allocations: 6.526 MB / 497.9 MB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009282/0.3578, allocations: 151 kB / 498.1 MB, free: 15.83 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.809e-05/0.3579, allocations: 44 kB / 498.1 MB, free: 15.79 MB / 414.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.001397/0.3593, allocations: 0.8603 MB / 499 MB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002387/0.3596, allocations: 147.1 kB / 499.1 MB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002995/0.3626, allocations: 1.644 MB / 0.489 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.158e-05/0.3626, allocations: 12 kB / 0.489 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.457e-06/0.3626, allocations: 8 kB / 0.4891 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.161e-05/0.3626, allocations: 7.969 kB / 0.4891 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006325/0.3689, allocations: 3.902 MB / 0.4929 GB, free: 9.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.3689, allocations: 4.031 kB / 0.4929 GB, free: 9.086 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005795/0.3695, allocations: 139.7 kB / 0.493 GB, free: 8.949 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009539/0.3705, allocations: 391.4 kB / 0.4934 GB, free: 8.562 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.848e-05/0.3705, allocations: 27.98 kB / 0.4934 GB, free: 8.535 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00788/0.3784, allocations: 6.519 MB / 0.4998 GB, free: 1.738 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.3784, allocations: 0 / 0.4998 GB, free: 1.738 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004146/0.3826, allocations: 2.47 MB / 0.5022 GB, free: 15.23 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004075/0.383, allocations: 251.9 kB / 0.5024 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001626/0.3831, allocations: 27.98 kB / 0.5025 GB, free: 14.93 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007546/0.3839, allocations: 87.91 kB / 0.5025 GB, free: 14.85 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002471/0.3841, allocations: 100.6 kB / 0.5026 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.415e-05/0.3842, allocations: 35.98 kB / 0.5027 GB, free: 14.71 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001376/0.3856, allocations: 0.9552 MB / 0.5036 GB, free: 13.75 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3856, allocations: 0 / 0.5036 GB, free: 13.75 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001841/0.3874, allocations: 0.6814 MB / 0.5043 GB, free: 13.07 MB / 430.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.0002922/0.3877, allocations: 151 kB / 0.5044 GB, free: 12.91 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003058/0.3908, allocations: 1.735 MB / 0.5061 GB, free: 11.16 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.232e-06/0.3908, allocations: 4 kB / 0.5061 GB, free: 11.15 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00184/0.3926, allocations: 1.094 MB / 0.5072 GB, free: 10.03 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001497/0.3941, allocations: 304.3 kB / 0.5075 GB, free: 9.734 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007626/0.4018, allocations: 4.67 MB / 0.512 GB, free: 5 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002028/0.4038, allocations: 2.188 MB / 0.5142 GB, free: 2.777 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001063/0.4048, allocations: 343 kB / 0.5145 GB, free: 2.438 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000238/0.4051, allocations: 91.42 kB / 0.5146 GB, free: 2.348 MB / 430.1 MB Notification: Performance of SimCode: time 1.523e-06/0.4051, allocations: 0 / 0.5146 GB, free: 2.348 MB / 430.1 MB Notification: Performance of Templates: time 0.231/0.6361, allocations: 21.4 MB / 0.5355 GB, free: 106.3 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.162231431342661]