Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.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.0009624/0.0009624, allocations: 82.59 kB / 21.43 MB, free: 3.07 MB / 18.57 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.001193/0.001193, allocations: 171.9 kB / 24.82 MB, free: 9.273 MB / 18.57 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 0.9867/0.9867, allocations: 177 MB / 205.1 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] 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.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|lossPower_e|lossPower_m",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|lossPower_e|lossPower_m",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 273.3 MB, free: 1.203 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.264e-05/1.419e-05, allocations: 2.312 kB / 273.3 MB, free: 1.199 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.02981/0.02982, allocations: 15.48 MB / 288.8 MB, free: 1.637 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1253/0.1551, allocations: 4.628 MB / 293.5 MB, free: 14.38 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001798/0.1569, allocations: 158.4 kB / 293.6 MB, free: 14.38 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008559/0.1655, allocations: 7.463 MB / 301.1 MB, free: 13.5 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003362/0.1689, allocations: 2.021 MB / 303.1 MB, free: 12.63 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002165/0.171, allocations: 1.519 MB / 304.6 MB, free: 11.95 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01269/0.1837, allocations: 9.921 MB / 314.5 MB, free: 6.312 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01948/0.2032, allocations: 13.52 MB / 328.1 MB, free: 10.25 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006416/0.2096, allocations: 7.793 MB / 335.9 MB, free: 2.711 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004884/0.2145, allocations: 5.982 MB / 341.8 MB, free: 13.08 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001793/0.2163, allocations: 1.359 MB / 343.2 MB, free: 11.72 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001786/0.2181, allocations: 1.658 MB / 344.9 MB, free: 10.08 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00138/0.2194, allocations: 2.903 MB / 347.8 MB, free: 7.215 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002982/0.2224, allocations: 3.645 MB / 351.4 MB, free: 3.562 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006969/0.2294, allocations: 9.427 MB / 360.8 MB, free: 10.11 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.2294, allocations: 0 / 360.8 MB, free: 10.11 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.2294, allocations: 0 / 360.8 MB, free: 10.11 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.143e-05/0.2295, allocations: 0 / 360.8 MB, free: 10.11 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2497 * Number of variables: 2497 Notification: Performance of Generate backend data structure: time 0.0139/0.2434, allocations: 11.96 MB / 372.8 MB, free: 14.06 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.2434, allocations: 11.98 kB / 372.8 MB, free: 14.05 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01574/0.2592, allocations: 5.787 MB / 378.6 MB, free: 8.25 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00516/0.2643, allocations: 5.057 MB / 383.6 MB, free: 3.117 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003062/0.2646, allocations: 0.6704 MB / 384.3 MB, free: 2.445 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008645/0.2655, allocations: 0.8788 MB / 385.2 MB, free: 1.566 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008494/0.274, allocations: 7.421 MB / 392.6 MB, free: 10.04 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001149/0.2741, allocations: 15.92 kB / 392.6 MB, free: 10.02 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005708/0.2747, allocations: 376 kB / 393 MB, free: 9.652 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003031/0.275, allocations: 491.3 kB / 393.5 MB, free: 9.168 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004608/0.2796, allocations: 3.413 MB / 396.9 MB, free: 5.703 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03114/0.3107, allocations: 34.69 MB / 431.6 MB, free: 1.992 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2251/0.5358, allocations: 3.555 MB / 435.1 MB, free: 92.09 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002371/0.5382, allocations: 1.169 MB / 436.3 MB, free: 92.04 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003099/0.5385, allocations: 167.6 kB / 436.5 MB, free: 92.01 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.216e-05/0.5385, allocations: 81.28 kB / 436.5 MB, free: 91.96 MB / 378.8 MB Notification: Performance of pre-optimization done (n=409): time 6.883e-06/0.5386, allocations: 3.75 kB / 436.6 MB, free: 91.96 MB / 378.8 MB Notification: Performance of matching and sorting (n=409): time 0.008923/0.5475, allocations: 4.845 MB / 441.4 MB, free: 91.69 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.754e-05/0.5475, allocations: 123.9 kB / 441.5 MB, free: 91.59 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002677/0.5502, allocations: 3.037 MB / 444.6 MB, free: 91.28 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001611/0.5504, allocations: 95.52 kB / 444.6 MB, free: 91.25 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001494/0.5518, allocations: 4.084 MB / 448.7 MB, free: 89.73 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.000659/0.5525, allocations: 1.517 MB / 450.2 MB, free: 88.96 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001111/0.5536, allocations: 1.312 MB / 451.6 MB, free: 88.85 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 4.478e-05/0.5537, allocations: 480.7 kB / 452 MB, free: 88.38 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007544/0.5544, allocations: 0.6871 MB / 452.7 MB, free: 88.36 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001749/0.5562, allocations: 3.822 MB / 456.5 MB, free: 84.73 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00288/0.559, allocations: 5.075 MB / 461.6 MB, free: 81.01 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-05/0.5591, allocations: 19.06 kB / 461.6 MB, free: 81.01 MB / 378.8 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.004685/0.5638, allocations: 4.806 MB / 466.4 MB, free: 80.58 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.387e-05/0.5638, allocations: 32.5 kB / 466.5 MB, free: 80.58 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.866e-05/0.5638, allocations: 68.59 kB / 466.5 MB, free: 80.58 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001715/0.5655, allocations: 1.019 MB / 467.6 MB, free: 80.51 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001874/0.5674, allocations: 1.171 MB / 468.7 MB, free: 80.51 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005181/0.5726, allocations: 7.591 MB / 476.3 MB, free: 76.41 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001582/0.5742, allocations: 0.601 MB / 476.9 MB, free: 76.21 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002375/0.5744, allocations: 235.7 kB / 477.2 MB, free: 76.2 MB / 378.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 303 * 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 (675): * Single equations (assignments): 671 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(6,24,100.0%), (5,33,80.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001338/0.5758, allocations: 0.5299 MB / 477.7 MB, free: 75.9 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004365/0.5762, allocations: 495.7 kB / 478.2 MB, free: 75.47 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003839/0.58, allocations: 3.524 MB / 481.7 MB, free: 73.4 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002652/0.5827, allocations: 2.481 MB / 484.2 MB, free: 71.51 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.03e-05/0.5827, allocations: 12 kB / 484.2 MB, free: 71.5 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.419e-05/0.5827, allocations: 19.36 kB / 484.2 MB, free: 71.5 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009843/0.5926, allocations: 10.84 MB / 495 MB, free: 61.88 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.27e-05/0.5926, allocations: 12 kB / 495.1 MB, free: 61.87 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001251/0.5938, allocations: 0.6763 MB / 495.7 MB, free: 61.24 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001594/0.5954, allocations: 0.9242 MB / 496.7 MB, free: 60.32 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000149/0.5956, allocations: 116 kB / 496.8 MB, free: 60.2 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004828/0.6004, allocations: 7.473 MB / 0.4924 GB, free: 52.66 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.742e-06/0.6004, allocations: 18.94 kB / 0.4924 GB, free: 52.64 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004628/0.605, allocations: 5.005 MB / 0.4973 GB, free: 47.48 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008723/0.6059, allocations: 0.7799 MB / 0.4981 GB, free: 46.7 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002414/0.6061, allocations: 95.98 kB / 0.4982 GB, free: 46.6 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008292/0.607, allocations: 124 kB / 0.4983 GB, free: 46.48 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003447/0.6073, allocations: 363.3 kB / 0.4986 GB, free: 46.14 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001522/0.6075, allocations: 116 kB / 0.4988 GB, free: 46.02 MB / 378.8 MB Notification: Performance of sorting global known variables: time 0.001111/0.6086, allocations: 1.258 MB / 0.5 GB, free: 44.88 MB / 378.8 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6086, allocations: 0.875 kB / 0.5 GB, free: 44.88 MB / 378.8 MB Notification: Performance of remove unused functions: time 0.004342/0.6129, allocations: 2.251 MB / 0.5022 GB, free: 42.62 MB / 378.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 58 * Number of states: 2 (sineVoltage_m.plug_p.reference.gamma,sineVoltage_e.plug_p.reference.gamma) * 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 (415): * Single equations (assignments): 411 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(6,24,91.7%), (5,33,80.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003799/0.6133, allocations: 303.6 kB / 0.5025 GB, free: 42.37 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.003817/0.6171, allocations: 4.055 MB / 0.5064 GB, free: 38.57 MB / 378.8 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.6171, allocations: 1.875 kB / 0.5064 GB, free: 38.57 MB / 378.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001854/0.619, allocations: 2.249 MB / 0.5086 GB, free: 36.44 MB / 378.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001904/0.6209, allocations: 0.8196 MB / 0.5094 GB, free: 35.66 MB / 378.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01125/0.6321, allocations: 13.25 MB / 0.5224 GB, free: 22.2 MB / 378.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001396/0.6335, allocations: 2.497 MB / 0.5248 GB, free: 19.67 MB / 378.8 MB Notification: Performance of simCode: alias equations: time 0.001348/0.6349, allocations: 0.644 MB / 0.5254 GB, free: 19.02 MB / 378.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001297/0.6362, allocations: 0.9158 MB / 0.5263 GB, free: 18.11 MB / 378.8 MB Notification: Performance of SimCode: time 1.002e-06/0.6362, allocations: 0 / 0.5263 GB, free: 18.11 MB / 378.8 MB Notification: Performance of Templates: time 0.1971/0.8333, allocations: 60.25 MB / 0.5852 GB, free: 116 MB / 410.8 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/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: 4.544965457171202]