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.0009835/0.0009835, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.001558/0.001558, allocations: 156.4 kB / 24.98 MB, free: 8.75 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.9902/0.9902, allocations: 177 MB / 205.2 MB, free: 5.59 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 2.955e-06/2.955e-06, allocations: 3.984 kB / 273 MB, free: 1.723 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.585e-05/2.88e-05, allocations: 2.312 kB / 273 MB, free: 1.719 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01725/0.01728, allocations: 16.02 MB / 289.1 MB, free: 1.613 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1204/0.1377, allocations: 4.636 MB / 293.7 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002604/0.1403, allocations: 159.9 kB / 293.8 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009214/0.1495, allocations: 7.676 MB / 301.5 MB, free: 12.9 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005334/0.1549, allocations: 2.035 MB / 303.6 MB, free: 12.03 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002742/0.1576, allocations: 1.534 MB / 305.1 MB, free: 11.36 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.007945/0.1655, allocations: 9.91 MB / 315 MB, free: 5.75 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01556/0.1811, allocations: 13.52 MB / 328.5 MB, free: 9.984 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01045/0.1916, allocations: 7.796 MB / 336.3 MB, free: 2.445 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007707/0.1993, allocations: 5.793 MB / 342.1 MB, free: 13 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003159/0.2024, allocations: 1.359 MB / 343.5 MB, free: 11.64 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00407/0.2065, allocations: 1.66 MB / 345.1 MB, free: 9.996 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002693/0.2092, allocations: 2.902 MB / 348 MB, free: 7.129 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005938/0.2151, allocations: 3.641 MB / 351.7 MB, free: 3.48 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01003/0.2252, allocations: 9.428 MB / 361.1 MB, free: 10.02 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.2252, allocations: 0 / 361.1 MB, free: 10.02 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.2252, allocations: 4 kB / 361.1 MB, free: 10.02 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.000389/0.2255, allocations: 4 kB / 361.1 MB, free: 10.01 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.02043/0.246, allocations: 13.08 MB / 374.2 MB, free: 12.85 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.246, allocations: 11.98 kB / 374.2 MB, free: 12.84 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02208/0.2681, allocations: 7.631 MB / 381.8 MB, free: 5.191 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008252/0.2764, allocations: 5.487 MB / 387.3 MB, free: 15.63 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006163/0.277, allocations: 0.6704 MB / 388 MB, free: 14.96 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002174/0.2791, allocations: 0.875 MB / 388.9 MB, free: 14.08 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01669/0.2958, allocations: 8.082 MB / 396.9 MB, free: 5.891 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000165/0.296, allocations: 7.953 kB / 396.9 MB, free: 5.883 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006759/0.2967, allocations: 372 kB / 397.3 MB, free: 5.52 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003465/0.297, allocations: 499.3 kB / 397.8 MB, free: 5.027 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01145/0.3085, allocations: 4.364 MB / 402.2 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2514/0.5599, allocations: 35.4 MB / 437.6 MB, free: 99.86 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006243/0.5661, allocations: 4.14 MB / 441.7 MB, free: 99.68 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002181/0.5683, allocations: 1.352 MB / 443.1 MB, free: 99.63 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003083/0.5686, allocations: 139.2 kB / 443.2 MB, free: 99.63 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.617e-05/0.5687, allocations: 86.64 kB / 443.3 MB, free: 99.58 MB / 378.8 MB Notification: Performance of pre-optimization done (n=409): time 7.173e-06/0.5687, allocations: 2.906 kB / 443.3 MB, free: 99.58 MB / 378.8 MB Notification: Performance of matching and sorting (n=409): time 0.009725/0.5784, allocations: 5.429 MB / 448.7 MB, free: 99.31 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.231e-05/0.5784, allocations: 118.9 kB / 448.8 MB, free: 99.21 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002999/0.5814, allocations: 3.079 MB / 451.9 MB, free: 98.9 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.000206/0.5817, allocations: 90.58 kB / 452 MB, free: 98.87 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001484/0.5831, allocations: 4.078 MB / 456.1 MB, free: 97.2 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007219/0.5839, allocations: 1.496 MB / 457.6 MB, free: 96.44 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001054/0.5849, allocations: 1.288 MB / 458.9 MB, free: 96.33 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 3.763e-05/0.585, allocations: 480.7 kB / 459.3 MB, free: 95.86 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001408/0.5864, allocations: 0.9079 MB / 460.2 MB, free: 95.84 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002124/0.5885, allocations: 4.007 MB / 464.2 MB, free: 92.17 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004021/0.5925, allocations: 5.433 MB / 469.7 MB, free: 88.18 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-05/0.5925, allocations: 24.38 kB / 469.7 MB, free: 88.18 MB / 378.8 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.006815/0.5994, allocations: 5.323 MB / 475 MB, free: 87.28 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.763e-05/0.5994, allocations: 35.72 kB / 475.1 MB, free: 87.28 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.801e-05/0.5994, allocations: 66.72 kB / 475.1 MB, free: 87.28 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002158/0.6016, allocations: 1.087 MB / 476.2 MB, free: 87.04 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002265/0.6039, allocations: 1.298 MB / 477.5 MB, free: 85.98 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006319/0.6102, allocations: 7.919 MB / 485.4 MB, free: 79.88 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002592/0.6128, allocations: 0.7491 MB / 486.2 MB, free: 79.29 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003426/0.6131, allocations: 282.9 kB / 486.4 MB, free: 79.07 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.002039/0.6152, allocations: 0.5223 MB / 487 MB, free: 78.61 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005841/0.6157, allocations: 497.6 kB / 487.5 MB, free: 78.13 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004983/0.6207, allocations: 3.912 MB / 491.4 MB, free: 74.94 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003672/0.6244, allocations: 2.864 MB / 494.2 MB, free: 72.23 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-05/0.6244, allocations: 12 kB / 494.2 MB, free: 72.21 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.296e-05/0.6244, allocations: 23.86 kB / 494.3 MB, free: 72.19 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01355/0.638, allocations: 11.36 MB / 0.4938 GB, free: 60.63 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.381e-05/0.638, allocations: 16 kB / 0.4938 GB, free: 60.62 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001512/0.6395, allocations: 0.7957 MB / 0.4946 GB, free: 59.82 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002029/0.6415, allocations: 1.002 MB / 0.4955 GB, free: 58.81 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001676/0.6417, allocations: 118 kB / 0.4957 GB, free: 58.7 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005972/0.6477, allocations: 7.799 MB / 0.5033 GB, free: 50.67 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.053e-06/0.6477, allocations: 23.92 kB / 0.5033 GB, free: 50.64 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006367/0.6541, allocations: 5.582 MB / 0.5087 GB, free: 44.76 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001176/0.6552, allocations: 0.8555 MB / 0.5096 GB, free: 43.9 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002957/0.6555, allocations: 98.92 kB / 0.5097 GB, free: 43.8 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001026/0.6566, allocations: 271.7 kB / 0.5099 GB, free: 43.54 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004265/0.657, allocations: 371 kB / 0.5103 GB, free: 43.18 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001571/0.6571, allocations: 144 kB / 0.5104 GB, free: 43.04 MB / 378.8 MB Notification: Performance of sorting global known variables: time 0.001408/0.6585, allocations: 1.343 MB / 0.5117 GB, free: 41.69 MB / 378.8 MB Notification: Performance of sort global known variables: time 8e-08/0.6585, allocations: 0 / 0.5117 GB, free: 41.69 MB / 378.8 MB Notification: Performance of remove unused functions: time 0.00455/0.6631, allocations: 2.256 MB / 0.5139 GB, free: 39.43 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.000499/0.6636, allocations: 294.5 kB / 0.5142 GB, free: 39.13 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.00565/0.6692, allocations: 4.468 MB / 0.5186 GB, free: 34.62 MB / 378.8 MB Notification: Performance of simCode: created event and clocks part: time 7.815e-06/0.6692, allocations: 4 kB / 0.5186 GB, free: 34.62 MB / 378.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002618/0.6719, allocations: 2.456 MB / 0.521 GB, free: 32.13 MB / 378.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002377/0.6742, allocations: 0.8055 MB / 0.5218 GB, free: 31.37 MB / 378.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01397/0.6882, allocations: 13.4 MB / 0.5349 GB, free: 17.63 MB / 378.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00164/0.6899, allocations: 2.493 MB / 0.5373 GB, free: 15.11 MB / 378.8 MB Notification: Performance of simCode: alias equations: time 0.002812/0.6927, allocations: 1.818 MB / 0.5391 GB, free: 13.29 MB / 378.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000601/0.6933, allocations: 340.4 kB / 0.5394 GB, free: 12.95 MB / 378.8 MB Notification: Performance of SimCode: time 2.174e-06/0.6933, allocations: 0 / 0.5394 GB, free: 12.95 MB / 378.8 MB Notification: Performance of Templates: time 0.1803/0.8736, allocations: 55.32 MB / 0.5934 GB, free: 111.5 MB / 394.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.799892575014383]