Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.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.0008387/0.0008387, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001133/0.001972, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007321/0.0007321, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008875/0.00162, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.9843/0.9843, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08468/1.069, allocations: 53.65 MB / 243.3 MB, free: 15.6 MB / 250.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.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|lossPower_e|lossPower_m",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 244.5 MB, free: 14.33 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.77e-05/1.898e-05, allocations: 2.312 kB / 244.5 MB, free: 14.33 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.0112/0.01122, allocations: 15.65 MB / 260.2 MB, free: 14.6 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006766/0.01798, allocations: 4.947 MB / 265.1 MB, free: 9.633 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008183/0.0188, allocations: 159.2 kB / 265.3 MB, free: 9.477 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006336/0.02514, allocations: 7.63 MB / 272.9 MB, free: 1.812 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1341/0.1593, allocations: 2.015 MB / 274.9 MB, free: 0.8906 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003881/0.1632, allocations: 1.511 MB / 276.4 MB, free: 0.8906 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01197/0.1751, allocations: 9.984 MB / 286.4 MB, free: 14.84 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01663/0.1918, allocations: 13.52 MB / 299.9 MB, free: 8.527 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01034/0.2021, allocations: 8.008 MB / 307.9 MB, free: 2.719 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007282/0.2094, allocations: 6.086 MB / 314 MB, free: 13.73 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002186/0.2116, allocations: 1.359 MB / 315.4 MB, free: 12.37 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002394/0.214, allocations: 1.681 MB / 317.1 MB, free: 10.73 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001531/0.2155, allocations: 2.261 MB / 319.3 MB, free: 8.469 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003202/0.2187, allocations: 3.011 MB / 322.3 MB, free: 5.453 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007589/0.2263, allocations: 8.876 MB / 331.2 MB, free: 13.05 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.213e-05/0.2263, allocations: 0.9688 kB / 331.2 MB, free: 13.05 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.2263, allocations: 0 / 331.2 MB, free: 13.05 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001421/0.2264, allocations: 0 / 331.2 MB, free: 13.05 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.01595/0.2424, allocations: 12.98 MB / 344.2 MB, free: 0.6133 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.411e-05/0.2424, allocations: 12.03 kB / 344.2 MB, free: 0.6016 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01603/0.2585, allocations: 6.185 MB / 350.4 MB, free: 10.66 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004939/0.2634, allocations: 3.1 MB / 353.5 MB, free: 7.746 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003164/0.2637, allocations: 0.6722 MB / 354.2 MB, free: 7.082 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009256/0.2646, allocations: 0.8834 MB / 355.1 MB, free: 6.211 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008816/0.2735, allocations: 7.597 MB / 362.7 MB, free: 14.92 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001162/0.2736, allocations: 7.906 kB / 362.7 MB, free: 14.92 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006044/0.2742, allocations: 368.4 kB / 363 MB, free: 14.57 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003056/0.2745, allocations: 0.4915 MB / 363.5 MB, free: 14.07 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005393/0.2799, allocations: 3.896 MB / 367.4 MB, free: 10.12 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02976/0.3096, allocations: 26.84 MB / 394.2 MB, free: 92 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003536/0.3132, allocations: 3.264 MB / 397.5 MB, free: 12.9 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001074/0.3142, allocations: 1.006 MB / 398.5 MB, free: 11.93 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002359/0.3145, allocations: 136.8 kB / 398.7 MB, free: 11.79 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.01e-05/0.3145, allocations: 82.12 kB / 398.7 MB, free: 11.71 MB / 378.7 MB Notification: Performance of pre-optimization done (n=409): time 5.731e-06/0.3145, allocations: 0 / 398.7 MB, free: 11.71 MB / 378.7 MB Notification: Performance of matching and sorting (n=409): time 0.007384/0.3219, allocations: 4.048 MB / 402.8 MB, free: 7.715 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.154e-05/0.322, allocations: 125 kB / 402.9 MB, free: 7.578 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001483/0.3235, allocations: 2.066 MB / 405 MB, free: 5.898 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001649/0.3236, allocations: 89.7 kB / 405.1 MB, free: 5.805 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001336/0.325, allocations: 3.549 MB / 408.6 MB, free: 2.355 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008997/0.3259, allocations: 1.444 MB / 410 MB, free: 0.9922 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009814/0.3268, allocations: 1.035 MB / 411.1 MB, free: 60 kB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.23e-05/0.3269, allocations: 304.8 kB / 411.4 MB, free: 15.76 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009725/0.3279, allocations: 0.8315 MB / 412.2 MB, free: 14.92 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001966/0.3298, allocations: 2.656 MB / 414.9 MB, free: 11.49 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003383/0.3332, allocations: 4.016 MB / 418.9 MB, free: 6.934 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.572e-05/0.3333, allocations: 27.92 kB / 418.9 MB, free: 6.906 MB / 394.7 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.004656/0.3379, allocations: 3.918 MB / 422.8 MB, free: 3.445 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.56e-05/0.338, allocations: 36 kB / 422.9 MB, free: 3.41 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.273e-05/0.338, allocations: 68 kB / 422.9 MB, free: 3.344 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00189/0.3399, allocations: 0.9598 MB / 423.9 MB, free: 2.391 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002359/0.3423, allocations: 1.318 MB / 425.2 MB, free: 1.16 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.14/0.4823, allocations: 5.791 MB / 431 MB, free: 92.76 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002627/0.4849, allocations: 0.5974 MB / 431.6 MB, free: 92.76 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003531/0.4853, allocations: 225.2 kB / 431.8 MB, free: 92.76 MB / 394.7 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.001772/0.487, allocations: 494.4 kB / 432.3 MB, free: 92.64 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005909/0.4876, allocations: 339.3 kB / 432.6 MB, free: 92.64 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004368/0.492, allocations: 2.929 MB / 435.6 MB, free: 92.43 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002509/0.4945, allocations: 1.904 MB / 437.5 MB, free: 92.28 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.16e-05/0.4945, allocations: 11 kB / 437.5 MB, free: 92.28 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.671e-05/0.4946, allocations: 25.91 kB / 437.5 MB, free: 92.28 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01133/0.5059, allocations: 8.215 MB / 445.7 MB, free: 91.15 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.226e-05/0.5059, allocations: 12.78 kB / 445.7 MB, free: 91.15 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002063/0.508, allocations: 0.774 MB / 446.5 MB, free: 91.15 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008474/0.5088, allocations: 0.561 MB / 447.1 MB, free: 90.98 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001678/0.5105, allocations: 0.8857 MB / 447.9 MB, free: 90.93 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00016/0.5107, allocations: 105.1 kB / 448.1 MB, free: 90.93 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004581/0.5152, allocations: 5.618 MB / 453.7 MB, free: 88.25 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-05/0.5152, allocations: 25.88 kB / 453.7 MB, free: 88.24 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003968/0.5192, allocations: 4.112 MB / 457.8 MB, free: 87.08 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003109/0.5195, allocations: 97.44 kB / 457.9 MB, free: 87.08 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008454/0.5204, allocations: 122.8 kB / 458 MB, free: 87.08 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003238/0.5207, allocations: 356.6 kB / 458.4 MB, free: 87.06 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000161/0.5209, allocations: 102.5 kB / 458.5 MB, free: 87.06 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0007191/0.5216, allocations: 0.9124 MB / 459.4 MB, free: 86.97 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.5216, allocations: 0 / 459.4 MB, free: 86.97 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003614/0.5252, allocations: 2.257 MB / 461.6 MB, free: 86.43 MB / 394.7 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.0003891/0.5256, allocations: 291.9 kB / 461.9 MB, free: 86.34 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003513/0.5291, allocations: 3.461 MB / 465.4 MB, free: 85.8 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001272/0.5292, allocations: 106.6 kB / 465.5 MB, free: 85.75 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001747/0.531, allocations: 1.927 MB / 467.4 MB, free: 85.39 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001964/0.5329, allocations: 1.105 MB / 468.5 MB, free: 85.33 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04428/0.5772, allocations: 14.02 MB / 482.5 MB, free: 75.61 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001515/0.5787, allocations: 1.867 MB / 484.4 MB, free: 74.3 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002309/0.581, allocations: 0.6428 MB / 485 MB, free: 73.79 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001708/0.5827, allocations: 0.8188 MB / 485.9 MB, free: 73.05 MB / 394.7 MB Notification: Performance of SimCode: time 1.794e-06/0.5827, allocations: 0 / 485.9 MB, free: 73.05 MB / 394.7 MB Notification: Performance of Templates: time 0.07889/0.6616, allocations: 62.67 MB / 0.5357 GB, free: 12.53 MB / 394.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.4097833363339305]