Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001423/0.001423, allocations: 96.3 kB / 21.73 MB, free: 2.703 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.001533/0.001533, allocations: 166.4 kB / 25.02 MB, free: 8.945 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.365/1.365, allocations: 158.6 MB / 186.8 MB, free: 2.926 MB / 170.7 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 250.4 MB, free: 7.828 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.37e-05/4.571e-05, allocations: 10.11 kB / 250.4 MB, free: 7.82 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.02088/0.02093, allocations: 14.26 MB / 264.6 MB, free: 9.484 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01149/0.03242, allocations: 4.557 MB / 269.2 MB, free: 4.914 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003021/0.03544, allocations: 135.3 kB / 269.3 MB, free: 4.781 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01904/0.05448, allocations: 7.077 MB / 276.4 MB, free: 13.67 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008573/0.06306, allocations: 1.915 MB / 278.3 MB, free: 11.75 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005412/0.06847, allocations: 1.613 MB / 279.9 MB, free: 10.13 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01618/0.08465, allocations: 9.813 MB / 289.7 MB, free: 288 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02674/0.1114, allocations: 13.51 MB / 303.2 MB, free: 2.625 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01624/0.1276, allocations: 7.738 MB / 311 MB, free: 10.88 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01134/0.139, allocations: 5.259 MB / 316.2 MB, free: 5.605 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003966/0.1429, allocations: 1.363 MB / 317.6 MB, free: 4.242 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00613/0.1491, allocations: 1.644 MB / 319.3 MB, free: 2.598 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005141/0.1542, allocations: 2.852 MB / 322.1 MB, free: 15.74 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.008901/0.1631, allocations: 3.595 MB / 325.7 MB, free: 12.14 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02965/0.1928, allocations: 18.48 MB / 344.2 MB, free: 9.602 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/0.1928, allocations: 3.938 kB / 344.2 MB, free: 9.598 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1928, allocations: 3.938 kB / 344.2 MB, free: 9.594 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0005514/0.1933, allocations: 0 / 344.2 MB, free: 9.594 MB / 330.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.2537/0.447, allocations: 12.15 MB / 356.3 MB, free: 90.99 MB / 330.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.876e-05/0.4471, allocations: 15.8 kB / 356.4 MB, free: 90.98 MB / 330.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03718/0.4843, allocations: 7.71 MB / 364.1 MB, free: 87.27 MB / 330.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01288/0.4972, allocations: 5.374 MB / 369.4 MB, free: 82.28 MB / 330.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007228/0.4979, allocations: 0.6738 MB / 370.1 MB, free: 81.62 MB / 330.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004468/0.5023, allocations: 0.8823 MB / 371 MB, free: 80.74 MB / 330.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04463/0.547, allocations: 14.94 MB / 385.9 MB, free: 65.73 MB / 330.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006363/0.5476, allocations: 7.953 kB / 385.9 MB, free: 65.72 MB / 330.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004472/0.5521, allocations: 375.3 kB / 386.3 MB, free: 65.37 MB / 330.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006339/0.5527, allocations: 499.3 kB / 386.8 MB, free: 64.88 MB / 330.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03215/0.5849, allocations: 13.47 MB / 400.3 MB, free: 51.38 MB / 330.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08523/0.6701, allocations: 39.6 MB / 439.9 MB, free: 11.5 MB / 330.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01408/0.6842, allocations: 5.954 MB / 445.8 MB, free: 5.734 MB / 330.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006427/0.6906, allocations: 2.85 MB / 448.7 MB, free: 2.887 MB / 330.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005906/0.6912, allocations: 115.9 kB / 448.8 MB, free: 2.773 MB / 330.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.253e-05/0.6913, allocations: 82.56 kB / 448.9 MB, free: 2.684 MB / 330.8 MB Notification: Performance of pre-optimization done (n=409): time 1.19e-05/0.6913, allocations: 0 / 448.9 MB, free: 2.684 MB / 330.8 MB Notification: Performance of matching and sorting (n=409): time 0.03498/0.7263, allocations: 9.562 MB / 458.4 MB, free: 9.113 MB / 346.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001577/0.7264, allocations: 117.1 kB / 458.5 MB, free: 8.98 MB / 346.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01112/0.7376, allocations: 3.228 MB / 461.8 MB, free: 5.785 MB / 346.8 MB Notification: Performance of collectPreVariables (initialization): time 0.00114/0.7387, allocations: 89.7 kB / 461.8 MB, free: 5.691 MB / 346.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.005389/0.7441, allocations: 3.812 MB / 465.7 MB, free: 1.867 MB / 346.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.003037/0.7471, allocations: 1.447 MB / 467.1 MB, free: 452 kB / 346.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005211/0.7523, allocations: 1.117 MB / 468.2 MB, free: 15.31 MB / 362.8 MB Notification: Performance of setup shared object (initialization): time 0.0002097/0.7526, allocations: 305.1 kB / 468.5 MB, free: 15.01 MB / 362.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008639/0.7612, allocations: 2.838 MB / 471.4 MB, free: 12.17 MB / 362.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01167/0.7729, allocations: 4.896 MB / 476.3 MB, free: 6.328 MB / 362.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01551/0.7884, allocations: 8.255 MB / 484.5 MB, free: 13.14 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001001/0.7885, allocations: 20 kB / 484.5 MB, free: 13.12 MB / 378.8 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.02201/0.8105, allocations: 9.363 MB / 493.9 MB, free: 3.742 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001115/0.8106, allocations: 36 kB / 493.9 MB, free: 3.707 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001785/0.8108, allocations: 64 kB / 494 MB, free: 3.645 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005309/0.8161, allocations: 1.377 MB / 495.4 MB, free: 2.262 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005629/0.8217, allocations: 1.287 MB / 496.7 MB, free: 0.9727 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1908/1.012, allocations: 10.45 MB / 0.4952 GB, free: 117.2 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005247/1.018, allocations: 0.7443 MB / 0.4959 GB, free: 117.2 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008882/1.019, allocations: 271.8 kB / 0.4962 GB, free: 117.1 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.005681/1.024, allocations: 3.436 MB / 0.4996 GB, free: 115.7 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001268/1.026, allocations: 494.8 kB / 0.5 GB, free: 115.6 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01102/1.037, allocations: 6.876 MB / 0.5067 GB, free: 113.1 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008074/1.045, allocations: 5.695 MB / 0.5123 GB, free: 111.1 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.755e-05/1.045, allocations: 13 kB / 0.5123 GB, free: 111.1 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.775e-05/1.045, allocations: 20.39 kB / 0.5123 GB, free: 111.1 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02291/1.068, allocations: 13.44 MB / 0.5255 GB, free: 100.3 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.403e-05/1.068, allocations: 16 kB / 0.5255 GB, free: 100.3 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002858/1.071, allocations: 0.7918 MB / 0.5263 GB, free: 99.48 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003835/1.074, allocations: 1.269 MB / 0.5275 GB, free: 98.23 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003457/1.075, allocations: 112 kB / 0.5276 GB, free: 98.12 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01164/1.086, allocations: 10.22 MB / 0.5376 GB, free: 87.75 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.709e-06/1.086, allocations: 15.94 kB / 0.5376 GB, free: 87.73 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01343/1.1, allocations: 10.79 MB / 0.5481 GB, free: 76.71 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00237/1.102, allocations: 0.9614 MB / 0.5491 GB, free: 75.81 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006245/1.103, allocations: 92 kB / 0.5492 GB, free: 75.72 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002086/1.105, allocations: 279.7 kB / 0.5494 GB, free: 75.45 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006909/1.106, allocations: 359 kB / 0.5498 GB, free: 75.1 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002499/1.106, allocations: 144 kB / 0.5499 GB, free: 74.96 MB / 378.8 MB Notification: Performance of sorting global known variables: time 0.002572/1.108, allocations: 2.085 MB / 0.5519 GB, free: 72.87 MB / 378.8 MB Notification: Performance of sort global known variables: time 1.01e-07/1.108, allocations: 0 / 0.5519 GB, free: 72.87 MB / 378.8 MB Notification: Performance of remove unused functions: time 0.005534/1.114, allocations: 2.256 MB / 0.5541 GB, free: 70.85 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.0006653/1.115, allocations: 292.2 kB / 0.5544 GB, free: 70.57 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.009786/1.124, allocations: 7.156 MB / 0.5614 GB, free: 63.39 MB / 378.8 MB Notification: Performance of simCode: created event and clocks part: time 1.606e-05/1.124, allocations: 0 / 0.5614 GB, free: 63.39 MB / 378.8 MB Notification: Performance of simCode: created simulation system equations: time 0.004879/1.129, allocations: 3.41 MB / 0.5647 GB, free: 59.96 MB / 378.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004209/1.133, allocations: 0.8018 MB / 0.5655 GB, free: 59.19 MB / 378.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02656/1.16, allocations: 16.46 MB / 0.5816 GB, free: 42.47 MB / 378.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00522/1.165, allocations: 5.469 MB / 0.5869 GB, free: 36.96 MB / 378.8 MB Notification: Performance of simCode: alias equations: time 0.005016/1.17, allocations: 2.157 MB / 0.589 GB, free: 34.79 MB / 378.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001041/1.171, allocations: 320.4 kB / 0.5894 GB, free: 34.48 MB / 378.8 MB Notification: Performance of SimCode: time 2.585e-06/1.171, allocations: 0 / 0.5894 GB, free: 34.48 MB / 378.8 MB Notification: Performance of Templates: time 0.2515/1.423, allocations: 54.61 MB / 0.6427 GB, free: 122.8 MB / 394.8 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.786617825040594]