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.001049/0.001049, 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.001037/0.001037, allocations: 167.7 kB / 24.99 MB, free: 8.219 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.912/0.912, allocations: 177 MB / 205.2 MB, free: 5.551 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.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_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.[0-9,]+..Phi.re|converter_e.singlePhaseElectroMagneticConverter.[0-9,]+..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 1.523e-06/1.523e-06, allocations: 0 / 273 MB, free: 1.738 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.652e-05/1.804e-05, allocations: 2.312 kB / 273 MB, free: 1.734 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.006941/0.006959, allocations: 7.675 MB / 280.7 MB, free: 10.02 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002563/0.009522, allocations: 2.448 MB / 283.1 MB, free: 7.559 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003448/0.009867, allocations: 71.56 kB / 283.2 MB, free: 7.488 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006243/0.01049, allocations: 472.7 kB / 283.6 MB, free: 7.023 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001207/0.0117, allocations: 0.8892 MB / 284.5 MB, free: 6.129 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000441/0.01214, allocations: 407.1 kB / 284.9 MB, free: 5.73 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002189/0.01433, allocations: 3.334 MB / 288.3 MB, free: 2.383 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001235/0.01556, allocations: 1.556 MB / 289.8 MB, free: 0.7617 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.103/0.1186, allocations: 2.119 MB / 291.9 MB, free: 15.97 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002538/0.1211, allocations: 1.684 MB / 293.6 MB, free: 15.97 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007959/0.1219, allocations: 358.8 kB / 294 MB, free: 15.97 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009544/0.1229, allocations: 486.4 kB / 294.5 MB, free: 15.97 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007584/0.1236, allocations: 0.9458 MB / 295.4 MB, free: 15.97 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001434/0.1251, allocations: 1.119 MB / 296.5 MB, free: 15.97 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00297/0.128, allocations: 2.808 MB / 299.3 MB, free: 15.64 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1281, allocations: 0 / 299.3 MB, free: 15.64 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1281, allocations: 0 / 299.3 MB, free: 15.64 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.374e-05/0.1281, allocations: 1.25 kB / 299.3 MB, free: 15.64 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.005861/0.1339, allocations: 3.874 MB / 303.2 MB, free: 13.7 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.134, allocations: 17.14 kB / 303.2 MB, free: 13.7 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003594/0.1376, allocations: 1.068 MB / 304.3 MB, free: 13.34 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001999/0.1396, allocations: 1.637 MB / 305.9 MB, free: 12.54 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001003/0.1397, allocations: 202.6 kB / 306.1 MB, free: 12.45 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003122/0.14, allocations: 264.4 kB / 306.4 MB, free: 12.36 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003221/0.1432, allocations: 2.282 MB / 308.7 MB, free: 11.37 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.7e-05/0.1433, allocations: 0 / 308.7 MB, free: 11.37 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002269/0.1435, allocations: 110.6 kB / 308.8 MB, free: 11.29 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.672e-05/0.1436, allocations: 106.2 kB / 308.9 MB, free: 11.27 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002173/0.1457, allocations: 0.9691 MB / 309.8 MB, free: 11.07 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008533/0.1543, allocations: 8.215 MB / 318.1 MB, free: 3.371 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002244/0.1565, allocations: 1.344 MB / 319.4 MB, free: 2.051 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006266/0.1571, allocations: 458.9 kB / 319.8 MB, free: 1.602 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002142/0.1593, allocations: 1.77 MB / 321.6 MB, free: 15.84 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.958e-05/0.1593, allocations: 54.38 kB / 321.7 MB, free: 15.78 MB / 282.7 MB Notification: Performance of pre-optimization done (n=104): time 2.455e-06/0.1593, allocations: 0 / 321.7 MB, free: 15.78 MB / 282.7 MB Notification: Performance of matching and sorting (n=104): time 0.003461/0.1628, allocations: 1.579 MB / 323.2 MB, free: 14.21 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.714e-05/0.1628, allocations: 86.11 kB / 323.3 MB, free: 14.11 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001045/0.1639, allocations: 1.152 MB / 324.5 MB, free: 12.95 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.258e-05/0.1639, allocations: 45.7 kB / 324.5 MB, free: 12.9 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005675/0.1645, allocations: 1.29 MB / 325.8 MB, free: 11.6 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001968/0.1647, allocations: 399.1 kB / 326.2 MB, free: 11.21 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002251/0.1649, allocations: 240.5 kB / 326.4 MB, free: 10.97 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001411/0.1651, allocations: 0.5414 MB / 327 MB, free: 10.43 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000295/0.1654, allocations: 170.5 kB / 327.2 MB, free: 10.26 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004658/0.1658, allocations: 0.5841 MB / 327.7 MB, free: 9.523 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009559/0.1668, allocations: 0.8463 MB / 328.6 MB, free: 8.559 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.016e-06/0.1668, allocations: 11.94 kB / 328.6 MB, free: 8.547 MB / 282.7 MB Notification: Performance of matching and sorting (n=152) (initialization): time 0.00141/0.1682, allocations: 1.139 MB / 329.7 MB, free: 7.461 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.1682, allocations: 8.625 kB / 329.7 MB, free: 7.453 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.1682, allocations: 8 kB / 329.8 MB, free: 7.445 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007441/0.169, allocations: 390 kB / 330.1 MB, free: 7.066 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000421/0.1694, allocations: 215.3 kB / 330.3 MB, free: 6.867 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003936/0.1733, allocations: 5.812 MB / 336.2 MB, free: 0.8594 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000387/0.1737, allocations: 139.1 kB / 336.3 MB, free: 0.7227 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.81e-05/0.1738, allocations: 44 kB / 336.3 MB, free: 0.6797 MB / 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.0003237/0.1741, allocations: 227.2 kB / 336.6 MB, free: 472 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001704/0.1743, allocations: 187 kB / 336.7 MB, free: 284 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001227/0.1755, allocations: 0.9483 MB / 337.7 MB, free: 15.34 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.1755, allocations: 12 kB / 337.7 MB, free: 15.32 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.1755, allocations: 8 kB / 337.7 MB, free: 15.32 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.125e-06/0.1755, allocations: 3.984 kB / 337.7 MB, free: 15.31 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003022/0.1785, allocations: 2.907 MB / 340.6 MB, free: 12.38 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/0.1785, allocations: 4 kB / 340.6 MB, free: 12.37 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002759/0.1788, allocations: 124.3 kB / 340.7 MB, free: 12.25 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006948/0.1795, allocations: 385.2 kB / 341.1 MB, free: 11.88 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.619e-05/0.1796, allocations: 31.97 kB / 341.1 MB, free: 11.84 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003847/0.1834, allocations: 5.802 MB / 347 MB, free: 5.832 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.1834, allocations: 0 / 347 MB, free: 5.832 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001533/0.1849, allocations: 1.447 MB / 348.4 MB, free: 4.355 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000143/0.1851, allocations: 162.8 kB / 348.6 MB, free: 4.195 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000109/0.1852, allocations: 28 kB / 348.6 MB, free: 4.168 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000374/0.1856, allocations: 83.92 kB / 348.7 MB, free: 4.086 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000171/0.1857, allocations: 108.5 kB / 348.8 MB, free: 3.984 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.116e-05/0.1858, allocations: 27.98 kB / 348.8 MB, free: 3.957 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0006011/0.1864, allocations: 0.6663 MB / 349.5 MB, free: 3.285 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1864, allocations: 0 / 349.5 MB, free: 3.285 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.00133/0.1877, allocations: 0.6891 MB / 350.2 MB, free: 2.594 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.0002265/0.1879, allocations: 151.9 kB / 350.3 MB, free: 2.441 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001304/0.1892, allocations: 1.246 MB / 351.5 MB, free: 1.188 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.1892, allocations: 0 / 351.5 MB, free: 1.188 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008086/0.1901, allocations: 0.9101 MB / 352.5 MB, free: 260 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008363/0.1909, allocations: 298 kB / 352.8 MB, free: 15.97 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004286/0.1952, allocations: 4.007 MB / 356.8 MB, free: 11.89 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006798/0.1959, allocations: 0.7649 MB / 357.5 MB, free: 11.09 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0004612/0.1963, allocations: 274.7 kB / 357.8 MB, free: 10.82 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001615/0.1965, allocations: 96.47 kB / 357.9 MB, free: 10.73 MB / 314.7 MB Notification: Performance of SimCode: time 9.61e-07/0.1965, allocations: 0 / 357.9 MB, free: 10.73 MB / 314.7 MB Notification: Performance of Templates: time 0.02364/0.2201, allocations: 20.47 MB / 378.4 MB, free: 6.648 MB / 330.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 240] 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","",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.12267543701455]