Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001274/0.001274, allocations: 114 kB / 21.18 MB, free: 0.7422 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001412/0.001412, allocations: 214.1 kB / 24.48 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.418/1.418, allocations: 230.4 MB / 258.1 MB, free: 8.148 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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=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.1.0-beta.om_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.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001936/0.001936, allocations: 71.83 kB / 378.7 MB, free: 2.879 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2145/0.2165, allocations: 53.31 MB / 432.1 MB, free: 7.387 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01019/0.2267, allocations: 7.925 MB / 440 MB, free: 15.43 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004626/0.2313, allocations: 2.507 MB / 442.5 MB, free: 12.91 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008219/0.2321, allocations: 59.75 kB / 442.5 MB, free: 12.85 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001013/0.2331, allocations: 464.9 kB / 443 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002089/0.2352, allocations: 0.8743 MB / 443.9 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000853/0.2361, allocations: 403.1 kB / 444.3 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003701/0.2398, allocations: 3.24 MB / 447.5 MB, free: 7.875 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00205/0.2418, allocations: 1.583 MB / 449.1 MB, free: 6.227 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001718/0.2435, allocations: 1.429 MB / 450.5 MB, free: 4.793 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002214/0.2457, allocations: 1.716 MB / 452.2 MB, free: 3.07 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004712/0.2462, allocations: 360 kB / 452.6 MB, free: 2.719 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009104/0.2471, allocations: 487.9 kB / 453.1 MB, free: 2.242 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008328/0.248, allocations: 0.9269 MB / 454 MB, free: 1.312 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001679/0.2496, allocations: 1.606 MB / 455.6 MB, free: 15.7 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004901/0.2545, allocations: 4.719 MB / 460.3 MB, free: 10.96 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.2545, allocations: 0 / 460.3 MB, free: 10.96 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2545, allocations: 0 / 460.3 MB, free: 10.96 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.146e-05/0.2546, allocations: 0 / 460.3 MB, free: 10.96 MB / 366.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.008472/0.2631, allocations: 3.727 MB / 464 MB, free: 7.172 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.2631, allocations: 8.031 kB / 464.1 MB, free: 7.164 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004152/0.2673, allocations: 0.7406 MB / 464.8 MB, free: 6.422 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003848/0.2711, allocations: 1.863 MB / 466.7 MB, free: 4.5 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001581/0.2713, allocations: 193.7 kB / 466.8 MB, free: 4.309 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004162/0.2717, allocations: 268.1 kB / 467.1 MB, free: 4.047 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006087/0.2778, allocations: 3.614 MB / 470.7 MB, free: 388 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.954e-05/0.2778, allocations: 0 / 470.7 MB, free: 388 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003/0.2781, allocations: 112 kB / 470.8 MB, free: 276 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001096/0.2782, allocations: 109.3 kB / 470.9 MB, free: 164 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005338/0.2836, allocations: 3.097 MB / 474 MB, free: 13.05 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01704/0.3006, allocations: 10.27 MB / 484.3 MB, free: 2.438 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005452/0.3061, allocations: 4.468 MB / 488.8 MB, free: 13.32 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001477/0.3075, allocations: 0.876 MB / 489.7 MB, free: 12.44 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004753/0.3123, allocations: 2.647 MB / 492.3 MB, free: 9.648 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.135e-05/0.3123, allocations: 47.44 kB / 492.3 MB, free: 9.59 MB / 398.1 MB Notification: Performance of pre-optimization done (n=104): time 2.976e-06/0.3123, allocations: 0 / 492.3 MB, free: 9.59 MB / 398.1 MB Notification: Performance of matching and sorting (n=104): time 0.006659/0.319, allocations: 2.661 MB / 495 MB, free: 6.883 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.814e-05/0.3191, allocations: 85.98 kB / 495.1 MB, free: 6.777 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002048/0.3211, allocations: 1.4 MB / 496.5 MB, free: 5.367 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 8.661e-05/0.3212, allocations: 45.7 kB / 496.5 MB, free: 5.316 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009159/0.3221, allocations: 1.199 MB / 497.7 MB, free: 4.105 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003324/0.3224, allocations: 388.7 kB / 498.1 MB, free: 3.723 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003517/0.3228, allocations: 218.9 kB / 498.3 MB, free: 3.504 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001736/0.323, allocations: 361.9 kB / 498.7 MB, free: 3.145 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009798/0.324, allocations: 0.5646 MB / 499.2 MB, free: 2.578 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001211/0.3252, allocations: 0.8458 MB / 0.4884 GB, free: 1.621 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002221/0.3274, allocations: 1.457 MB / 0.4898 GB, free: 48 kB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.214e-06/0.3274, allocations: 7.938 kB / 0.4898 GB, free: 40 kB / 398.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003556/0.3309, allocations: 1.957 MB / 0.4917 GB, free: 14.07 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.666e-05/0.331, allocations: 16.03 kB / 0.4917 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.764e-05/0.331, allocations: 8 kB / 0.4917 GB, free: 14.04 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00103/0.332, allocations: 401.2 kB / 0.4921 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008707/0.3329, allocations: 211.7 kB / 0.4923 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008319/0.3412, allocations: 6.53 MB / 0.4987 GB, free: 6.637 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009865/0.3422, allocations: 143 kB / 0.4988 GB, free: 6.496 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001359/0.3423, allocations: 55.92 kB / 0.4989 GB, free: 6.441 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.001471/0.3438, allocations: 0.8721 MB / 0.4997 GB, free: 5.559 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003521/0.3442, allocations: 147.1 kB / 0.4999 GB, free: 5.414 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003226/0.3474, allocations: 1.632 MB / 0.5015 GB, free: 3.77 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.451e-05/0.3474, allocations: 11.81 kB / 0.5015 GB, free: 3.762 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.3474, allocations: 0 / 0.5015 GB, free: 3.762 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004598/0.3479, allocations: 255.9 kB / 0.5017 GB, free: 3.492 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000215/0.3481, allocations: 20 kB / 0.5017 GB, free: 3.473 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008026/0.3489, allocations: 87.86 kB / 0.5018 GB, free: 3.387 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002352/0.3491, allocations: 108.7 kB / 0.5019 GB, free: 3.281 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003945/0.3531, allocations: 1.821 MB / 0.5037 GB, free: 1.449 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003316/0.3564, allocations: 2.143 MB / 0.5058 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009204/0.3573, allocations: 0.5571 MB / 0.5063 GB, free: 14.73 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001527/0.3588, allocations: 0.9834 MB / 0.5073 GB, free: 13.74 MB / 430.1 MB Notification: Performance of Backend: time 1.8e-07/0.3588, allocations: 0 / 0.5073 GB, free: 13.74 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003254/0.3621, allocations: 1.438 MB / 0.5087 GB, free: 12.27 MB / 430.1 MB Notification: Performance of SimCode: time 0.008536/0.3706, allocations: 5.264 MB / 0.5139 GB, free: 6.934 MB / 430.1 MB Notification: Performance of Templates: time 0.21/0.5806, allocations: 24.35 MB / 0.5376 GB, free: 103.6 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.0158552108332515]