Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001033/0.001033, allocations: 79.59 kB / 21.18 MB, free: 3.387 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001067/0.001067, allocations: 161 kB / 24.56 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9737/0.9737, allocations: 177.1 MB / 205 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.[0-9,]+..Phi.re|converter_e.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|loss_m.Phi.im|loss_m.Phi.re",fileNamePrefix="Modelica_4.1.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.[0-9,]+..Phi.re|converter_e.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|loss_m.Phi.im|loss_m.Phi.re",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 273 MB, free: 1.496 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.592e-05/2.778e-05, allocations: 2.312 kB / 273 MB, free: 1.492 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.008511/0.008538, allocations: 7.704 MB / 280.7 MB, free: 9.746 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004126/0.01266, allocations: 2.448 MB / 283.1 MB, free: 7.289 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005913/0.01326, allocations: 71.56 kB / 283.2 MB, free: 7.219 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007249/0.01398, allocations: 472.7 kB / 283.7 MB, free: 6.754 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001708/0.01569, allocations: 0.8853 MB / 284.6 MB, free: 5.863 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006371/0.01633, allocations: 413.9 kB / 285 MB, free: 5.461 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002747/0.01907, allocations: 3.347 MB / 288.3 MB, free: 2.102 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001382/0.02045, allocations: 1.549 MB / 289.9 MB, free: 500 kB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1299/0.1504, allocations: 2.12 MB / 292 MB, free: 15.92 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002103/0.1525, allocations: 1.691 MB / 293.7 MB, free: 15.92 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006116/0.1531, allocations: 361.2 kB / 294 MB, free: 15.92 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001005/0.1541, allocations: 480.8 kB / 294.5 MB, free: 15.92 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007137/0.1548, allocations: 0.9501 MB / 295.4 MB, free: 15.92 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001189/0.156, allocations: 1.119 MB / 296.6 MB, free: 15.92 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002927/0.1589, allocations: 2.806 MB / 299.4 MB, free: 15.48 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.1589, allocations: 0 / 299.4 MB, free: 15.48 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1589, allocations: 1.844 kB / 299.4 MB, free: 15.48 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.749e-05/0.159, allocations: 0 / 299.4 MB, free: 15.48 MB / 266.7 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.005924/0.1649, allocations: 3.869 MB / 303.2 MB, free: 13.42 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.1649, allocations: 11.62 kB / 303.3 MB, free: 13.42 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003233/0.1682, allocations: 1.068 MB / 304.3 MB, free: 13.07 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002217/0.1704, allocations: 1.638 MB / 306 MB, free: 12.26 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001053/0.1705, allocations: 201.4 kB / 306.2 MB, free: 12.17 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003281/0.1708, allocations: 270 kB / 306.4 MB, free: 12.08 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003336/0.1742, allocations: 2.276 MB / 308.7 MB, free: 11.09 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.49e-05/0.1742, allocations: 1.406 kB / 308.7 MB, free: 11.09 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002176/0.1744, allocations: 111.2 kB / 308.8 MB, free: 11.01 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-05/0.1745, allocations: 104.4 kB / 308.9 MB, free: 11 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002206/0.1767, allocations: 0.9696 MB / 309.9 MB, free: 10.75 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009091/0.1858, allocations: 8.216 MB / 318.1 MB, free: 3.031 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002235/0.188, allocations: 1.351 MB / 319.4 MB, free: 1.703 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006663/0.1887, allocations: 459.2 kB / 319.9 MB, free: 1.246 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002385/0.1911, allocations: 1.767 MB / 321.7 MB, free: 15.49 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.93e-05/0.1911, allocations: 54.38 kB / 321.7 MB, free: 15.43 MB / 282.7 MB Notification: Performance of pre-optimization done (n=104): time 3.316e-06/0.1911, allocations: 0 / 321.7 MB, free: 15.43 MB / 282.7 MB Notification: Performance of matching and sorting (n=104): time 0.003889/0.195, allocations: 1.577 MB / 323.3 MB, free: 13.86 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.344e-05/0.1951, allocations: 86.11 kB / 323.4 MB, free: 13.76 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001345/0.1964, allocations: 1.152 MB / 324.5 MB, free: 12.6 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6e-05/0.1965, allocations: 45.7 kB / 324.6 MB, free: 12.55 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007497/0.1972, allocations: 1.291 MB / 325.9 MB, free: 11.25 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005123/0.1977, allocations: 395.6 kB / 326.2 MB, free: 10.86 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003101/0.198, allocations: 240.5 kB / 326.5 MB, free: 10.62 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001757/0.1982, allocations: 0.5394 MB / 327 MB, free: 10.07 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003845/0.1986, allocations: 170.5 kB / 327.2 MB, free: 9.906 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006086/0.1992, allocations: 0.5815 MB / 327.8 MB, free: 9.176 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001058/0.2003, allocations: 0.854 MB / 328.6 MB, free: 8.207 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.366e-06/0.2003, allocations: 11.94 kB / 328.6 MB, free: 8.195 MB / 282.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.001854/0.2021, allocations: 1.138 MB / 329.8 MB, free: 7.109 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.259e-05/0.2022, allocations: 8 kB / 329.8 MB, free: 7.102 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.449e-05/0.2022, allocations: 8 kB / 329.8 MB, free: 7.094 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009725/0.2031, allocations: 396.5 kB / 330.2 MB, free: 6.711 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005677/0.2037, allocations: 217.6 kB / 330.4 MB, free: 6.512 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005105/0.2088, allocations: 5.813 MB / 336.2 MB, free: 0.4961 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005972/0.2094, allocations: 135.1 kB / 336.3 MB, free: 372 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.506e-05/0.2095, allocations: 44 kB / 336.4 MB, free: 328 kB / 282.7 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.0005629/0.2101, allocations: 227.5 kB / 336.6 MB, free: 104 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002419/0.2103, allocations: 187 kB / 336.8 MB, free: 15.92 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0016/0.2119, allocations: 0.9441 MB / 337.7 MB, free: 14.98 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.146e-05/0.2119, allocations: 12 kB / 337.7 MB, free: 14.97 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.175e-06/0.2119, allocations: 8 kB / 337.7 MB, free: 14.96 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.032e-05/0.2119, allocations: 3.984 kB / 337.7 MB, free: 14.96 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004111/0.216, allocations: 2.907 MB / 340.7 MB, free: 12.02 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.132e-06/0.216, allocations: 4 kB / 340.7 MB, free: 12.02 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002795/0.2163, allocations: 127.3 kB / 340.8 MB, free: 11.9 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007007/0.217, allocations: 389.3 kB / 341.2 MB, free: 11.52 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.858e-05/0.2171, allocations: 39.72 kB / 341.2 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003731/0.2208, allocations: 5.793 MB / 347 MB, free: 5.477 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.2208, allocations: 7.75 kB / 347 MB, free: 5.473 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00182/0.2226, allocations: 1.44 MB / 348.4 MB, free: 4.004 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001714/0.2228, allocations: 166.8 kB / 348.6 MB, free: 3.84 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001019/0.2229, allocations: 28 kB / 348.6 MB, free: 3.812 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003652/0.2233, allocations: 79.92 kB / 348.7 MB, free: 3.734 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001707/0.2234, allocations: 108.5 kB / 348.8 MB, free: 3.633 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.166e-05/0.2235, allocations: 27.98 kB / 348.8 MB, free: 3.605 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0006348/0.2241, allocations: 0.6663 MB / 349.5 MB, free: 2.934 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2241, allocations: 0 / 349.5 MB, free: 2.934 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001483/0.2256, allocations: 0.6891 MB / 350.2 MB, free: 2.242 MB / 298.7 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.0002743/0.2259, allocations: 146.2 kB / 350.3 MB, free: 2.094 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001456/0.2273, allocations: 1.248 MB / 351.6 MB, free: 0.832 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.2273, allocations: 0 / 351.6 MB, free: 0.832 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000828/0.2282, allocations: 0.9187 MB / 352.5 MB, free: 15.89 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008587/0.229, allocations: 294.3 kB / 352.8 MB, free: 15.61 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005553/0.2346, allocations: 4.004 MB / 356.8 MB, free: 11.52 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005928/0.2352, allocations: 0.7653 MB / 357.6 MB, free: 10.73 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0005036/0.2357, allocations: 274.7 kB / 357.8 MB, free: 10.46 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001785/0.2359, allocations: 92.48 kB / 357.9 MB, free: 10.37 MB / 314.7 MB Notification: Performance of SimCode: time 8.02e-07/0.2359, allocations: 0 / 357.9 MB, free: 10.37 MB / 314.7 MB Notification: Performance of Templates: time 0.02678/0.2626, allocations: 20.47 MB / 378.4 MB, free: 6.27 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.4780444842763245]