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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001756/0.001756, allocations: 120 kB / 18.5 MB, free: 4.52 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.002101/0.002101, allocations: 213.6 kB / 21.46 MB, free: 1.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.488/1.488, allocations: 230.2 MB / 254.5 MB, free: 15.43 MB / 206.1 MB " [Timeout remaining time 178] 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=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_trunk_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_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001861/0.001861, allocations: 55.91 kB / 373.8 MB, free: 9.941 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09901/0.1009, allocations: 53.33 MB / 427.2 MB, free: 4.516 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01026/0.1111, allocations: 7.891 MB / 435 MB, free: 12.59 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005217/0.1164, allocations: 2.499 MB / 437.5 MB, free: 10.08 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007381/0.1171, allocations: 59.75 kB / 437.6 MB, free: 10.02 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009821/0.1181, allocations: 468.9 kB / 438.1 MB, free: 9.559 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002217/0.1203, allocations: 0.8781 MB / 438.9 MB, free: 8.676 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008669/0.1212, allocations: 393.8 kB / 439.3 MB, free: 8.293 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003875/0.125, allocations: 3.25 MB / 442.6 MB, free: 5.031 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002585/0.1276, allocations: 2.126 MB / 444.7 MB, free: 2.84 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001752/0.1294, allocations: 1.425 MB / 446.1 MB, free: 1.41 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1828/0.3122, allocations: 1.715 MB / 447.8 MB, free: 11.08 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009362/0.3131, allocations: 359.4 kB / 448.2 MB, free: 11.08 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001053/0.3142, allocations: 492.8 kB / 448.7 MB, free: 11.08 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006031/0.3148, allocations: 0.9108 MB / 449.6 MB, free: 11.08 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001472/0.3162, allocations: 1.613 MB / 451.2 MB, free: 10.93 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004805/0.321, allocations: 4.723 MB / 455.9 MB, free: 10.34 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.321, allocations: 1.875 kB / 455.9 MB, free: 10.34 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.321, allocations: 0.9375 kB / 455.9 MB, free: 10.34 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001365/0.3212, allocations: 0 / 455.9 MB, free: 10.34 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.009196/0.3304, allocations: 3.719 MB / 459.6 MB, free: 8.68 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.3304, allocations: 9.719 kB / 459.7 MB, free: 8.68 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004089/0.3345, allocations: 0.7487 MB / 460.4 MB, free: 8.469 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003434/0.3379, allocations: 1.848 MB / 462.2 MB, free: 7.57 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001304/0.3381, allocations: 208.2 kB / 462.5 MB, free: 7.473 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004461/0.3385, allocations: 258.3 kB / 462.7 MB, free: 7.391 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006/0.3445, allocations: 3.622 MB / 466.3 MB, free: 6.012 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.247e-05/0.3446, allocations: 3.375 kB / 466.3 MB, free: 6.012 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002622/0.3448, allocations: 107.4 kB / 466.4 MB, free: 5.93 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.266e-05/0.3449, allocations: 107.1 kB / 466.5 MB, free: 5.922 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004871/0.3498, allocations: 3.099 MB / 469.6 MB, free: 4.848 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01466/0.3645, allocations: 10.27 MB / 479.9 MB, free: 14.1 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005439/0.3699, allocations: 4.476 MB / 484.4 MB, free: 9.809 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001397/0.3713, allocations: 0.8742 MB / 485.3 MB, free: 9.375 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004448/0.3757, allocations: 2.646 MB / 487.9 MB, free: 7.305 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.214e-05/0.3758, allocations: 56.5 kB / 488 MB, free: 7.25 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 2.404e-06/0.3758, allocations: 0 / 488 MB, free: 7.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=104): time 0.006301/0.3821, allocations: 2.646 MB / 490.6 MB, free: 5.812 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.687e-05/0.3822, allocations: 91.17 kB / 490.7 MB, free: 5.715 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00193/0.3841, allocations: 1.403 MB / 492.1 MB, free: 4.965 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001099/0.3842, allocations: 53.08 kB / 492.1 MB, free: 4.914 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008638/0.3851, allocations: 1.199 MB / 493.3 MB, free: 3.867 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003189/0.3854, allocations: 384.3 kB / 493.7 MB, free: 3.539 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003389/0.3857, allocations: 224.1 kB / 493.9 MB, free: 3.41 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001641/0.3859, allocations: 357 kB / 494.3 MB, free: 3.07 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008776/0.3868, allocations: 0.5621 MB / 494.8 MB, free: 2.785 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001141/0.3879, allocations: 0.844 MB / 495.7 MB, free: 2.145 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002035/0.3899, allocations: 1.461 MB / 497.2 MB, free: 1.199 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.963e-06/0.3899, allocations: 7.188 kB / 497.2 MB, free: 1.195 MB / 382.1 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.003558/0.3935, allocations: 1.962 MB / 499.1 MB, free: 15.29 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.521e-05/0.3935, allocations: 12.03 kB / 499.1 MB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.578e-05/0.3935, allocations: 8 kB / 499.1 MB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001072/0.3946, allocations: 395.8 kB / 499.5 MB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000839/0.3955, allocations: 218.1 kB / 499.7 MB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008195/0.4036, allocations: 6.536 MB / 0.4944 GB, free: 7.898 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001363/0.405, allocations: 139 kB / 0.4945 GB, free: 7.766 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001127/0.4051, allocations: 53.86 kB / 0.4946 GB, free: 7.715 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.001732/0.4069, allocations: 0.8759 MB / 0.4955 GB, free: 6.84 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003114/0.4072, allocations: 143.1 kB / 0.4956 GB, free: 6.699 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003143/0.4103, allocations: 1.632 MB / 0.4972 GB, free: 5.078 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.063e-05/0.4103, allocations: 16 kB / 0.4972 GB, free: 5.062 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.178e-05/0.4103, allocations: 8 kB / 0.4972 GB, free: 5.055 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.227e-05/0.4103, allocations: 3.984 kB / 0.4972 GB, free: 5.051 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007032/0.4174, allocations: 3.915 MB / 0.501 GB, free: 1.094 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.974e-06/0.4174, allocations: 4 kB / 0.501 GB, free: 1.09 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005908/0.418, allocations: 133.4 kB / 0.5012 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000982/0.419, allocations: 394.9 kB / 0.5015 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.325e-05/0.419, allocations: 39.97 kB / 0.5016 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007854/0.4269, allocations: 6.501 MB / 0.5079 GB, free: 9.789 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.693e-06/0.4269, allocations: 7.938 kB / 0.5079 GB, free: 9.781 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004314/0.4312, allocations: 2.475 MB / 0.5104 GB, free: 7.293 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005972/0.4318, allocations: 255.9 kB / 0.5106 GB, free: 7.023 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001859/0.432, allocations: 27.98 kB / 0.5106 GB, free: 6.996 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008051/0.4328, allocations: 79.91 kB / 0.5107 GB, free: 6.918 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002491/0.4331, allocations: 107 kB / 0.5108 GB, free: 6.812 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8e-05/0.4331, allocations: 35.98 kB / 0.5108 GB, free: 6.777 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001542/0.4347, allocations: 0.9764 MB / 0.5118 GB, free: 5.797 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4347, allocations: 0 / 0.5118 GB, free: 5.797 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002065/0.4367, allocations: 0.6813 MB / 0.5125 GB, free: 5.113 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.000335/0.4371, allocations: 171.6 kB / 0.5126 GB, free: 4.953 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003252/0.4403, allocations: 1.733 MB / 0.5143 GB, free: 3.227 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.4403, allocations: 0 / 0.5143 GB, free: 3.227 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001881/0.4422, allocations: 1.093 MB / 0.5154 GB, free: 2.129 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001641/0.4439, allocations: 309.3 kB / 0.5157 GB, free: 1.836 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007897/0.4517, allocations: 4.643 MB / 0.5202 GB, free: 13.14 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002046/0.4538, allocations: 2.191 MB / 0.5223 GB, free: 10.92 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.00101/0.4548, allocations: 339 kB / 0.5227 GB, free: 10.58 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002563/0.4551, allocations: 91.41 kB / 0.5228 GB, free: 10.49 MB / 430.1 MB Notification: Performance of SimCode: time 8.41e-07/0.4551, allocations: 0 / 0.5228 GB, free: 10.49 MB / 430.1 MB Notification: Performance of Templates: time 0.03976/0.4948, allocations: 21.26 MB / 0.5435 GB, free: 5.465 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.194719215855002]