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.001855/0.001855, allocations: 99.53 kB / 21.73 MB, free: 2.691 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.001926/0.001926, allocations: 165.6 kB / 25.03 MB, free: 8.914 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.344/1.344, allocations: 158.6 MB / 186.8 MB, free: 2.883 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 1.963e-06/1.963e-06, allocations: 0 / 250.4 MB, free: 7.824 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.965e-05/3.161e-05, allocations: 2.312 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.02284/0.02287, allocations: 15.9 MB / 266.3 MB, free: 7.84 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01248/0.03535, allocations: 4.627 MB / 270.9 MB, free: 3.199 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003902/0.03925, allocations: 135.3 kB / 271 MB, free: 3.066 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02035/0.0596, allocations: 7.651 MB / 278.7 MB, free: 11.38 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008105/0.0677, allocations: 1.922 MB / 280.6 MB, free: 9.449 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005247/0.07295, allocations: 1.632 MB / 282.2 MB, free: 7.812 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01629/0.08924, allocations: 9.82 MB / 292.1 MB, free: 13.95 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03424/0.1235, allocations: 13.51 MB / 305.6 MB, free: 304 kB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01639/0.1399, allocations: 7.805 MB / 313.4 MB, free: 8.48 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01156/0.1514, allocations: 5.782 MB / 319.2 MB, free: 2.688 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004304/0.1557, allocations: 1.359 MB / 320.5 MB, free: 1.328 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006616/0.1624, allocations: 1.648 MB / 322.2 MB, free: 15.68 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00546/0.1678, allocations: 2.895 MB / 325.1 MB, free: 12.78 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00921/0.177, allocations: 3.645 MB / 328.7 MB, free: 9.125 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02842/0.2054, allocations: 18.61 MB / 347.3 MB, free: 6.461 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.166e-06/0.2055, allocations: 3.938 kB / 347.3 MB, free: 6.457 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.983e-06/0.2055, allocations: 0 / 347.3 MB, free: 6.457 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0006125/0.2061, allocations: 0 / 347.3 MB, free: 6.457 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.2572/0.4632, allocations: 13.89 MB / 361.2 MB, free: 90.94 MB / 330.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/0.4633, allocations: 15.98 kB / 361.2 MB, free: 90.93 MB / 330.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03381/0.4971, allocations: 7.729 MB / 369 MB, free: 83.36 MB / 330.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0129/0.51, allocations: 4.734 MB / 373.7 MB, free: 78.98 MB / 330.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004229/0.5104, allocations: 0.666 MB / 374.4 MB, free: 78.32 MB / 330.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002861/0.5133, allocations: 0.8814 MB / 375.2 MB, free: 77.45 MB / 330.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02865/0.5419, allocations: 15.07 MB / 390.3 MB, free: 62.29 MB / 330.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002249/0.5422, allocations: 15.89 kB / 390.3 MB, free: 62.27 MB / 330.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001205/0.5434, allocations: 378.9 kB / 390.7 MB, free: 61.91 MB / 330.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003538/0.5437, allocations: 0.4915 MB / 391.2 MB, free: 61.41 MB / 330.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01981/0.5635, allocations: 11.97 MB / 403.2 MB, free: 49.41 MB / 330.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08354/0.6471, allocations: 58.11 MB / 461.3 MB, free: 5.52 MB / 346.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01243/0.6595, allocations: 5.459 MB / 466.7 MB, free: 252 kB / 346.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004993/0.6645, allocations: 2.486 MB / 469.2 MB, free: 13.76 MB / 362.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004141/0.6649, allocations: 115.9 kB / 469.3 MB, free: 13.64 MB / 362.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.028e-05/0.665, allocations: 81.39 kB / 469.4 MB, free: 13.55 MB / 362.8 MB Notification: Performance of pre-optimization done (n=409): time 7.675e-06/0.665, allocations: 0 / 469.4 MB, free: 13.55 MB / 362.8 MB Notification: Performance of matching and sorting (n=409): time 0.02441/0.6894, allocations: 8.391 MB / 477.8 MB, free: 5.152 MB / 362.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001209/0.6895, allocations: 125.1 kB / 477.9 MB, free: 5.012 MB / 362.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008566/0.6981, allocations: 4.566 MB / 482.5 MB, free: 468 kB / 362.8 MB Notification: Performance of collectPreVariables (initialization): time 0.00109/0.6992, allocations: 97.64 kB / 482.6 MB, free: 364 kB / 362.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004872/0.7041, allocations: 4.254 MB / 486.8 MB, free: 12.09 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002947/0.707, allocations: 1.558 MB / 488.4 MB, free: 10.52 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003088/0.7101, allocations: 1.44 MB / 489.8 MB, free: 9.062 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 0.0002784/0.7104, allocations: 480.8 kB / 490.3 MB, free: 8.59 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004999/0.7154, allocations: 2.322 MB / 492.6 MB, free: 6.262 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1824/0.8977, allocations: 5.584 MB / 498.2 MB, free: 107.8 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01009/0.9078, allocations: 8.752 MB / 0.4951 GB, free: 104 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001196/0.908, allocations: 18.38 kB / 0.4951 GB, free: 104 MB / 378.8 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.01479/0.9227, allocations: 8.382 MB / 0.5033 GB, free: 103.3 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 7.514e-05/0.9228, allocations: 40.75 kB / 0.5033 GB, free: 103.3 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001568/0.923, allocations: 64.12 kB / 0.5034 GB, free: 103.3 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004179/0.9272, allocations: 1.345 MB / 0.5047 GB, free: 103.2 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004935/0.9321, allocations: 1.291 MB / 0.506 GB, free: 103.1 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01409/0.9462, allocations: 11.54 MB / 0.5172 GB, free: 98.88 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00513/0.9513, allocations: 0.7503 MB / 0.518 GB, free: 98.74 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009878/0.9523, allocations: 274.9 kB / 0.5182 GB, free: 98.7 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.005527/0.9578, allocations: 3.157 MB / 0.5213 GB, free: 97.14 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001178/0.959, allocations: 0.4932 MB / 0.5218 GB, free: 96.89 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01031/0.9693, allocations: 5.995 MB / 0.5276 GB, free: 93.13 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007272/0.9766, allocations: 4.927 MB / 0.5325 GB, free: 88.19 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.581e-05/0.9766, allocations: 19.92 kB / 0.5325 GB, free: 88.17 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.861e-05/0.9766, allocations: 23.91 kB / 0.5325 GB, free: 88.14 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02903/1.006, allocations: 15.99 MB / 0.5481 GB, free: 72.04 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.412e-05/1.006, allocations: 12 kB / 0.5481 GB, free: 72.03 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002862/1.009, allocations: 0.7879 MB / 0.5489 GB, free: 71.24 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003843/1.012, allocations: 1.256 MB / 0.5501 GB, free: 69.98 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000528/1.013, allocations: 112 kB / 0.5502 GB, free: 69.87 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01301/1.026, allocations: 11.3 MB / 0.5613 GB, free: 58.37 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.115e-05/1.026, allocations: 23.88 kB / 0.5613 GB, free: 58.34 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01476/1.041, allocations: 9.477 MB / 0.5705 GB, free: 48.56 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003192/1.044, allocations: 0.8533 MB / 0.5714 GB, free: 47.77 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008438/1.045, allocations: 95.98 kB / 0.5715 GB, free: 47.68 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002611/1.047, allocations: 279.7 kB / 0.5717 GB, free: 47.41 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007802/1.048, allocations: 359 kB / 0.5721 GB, free: 47.05 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002645/1.048, allocations: 140 kB / 0.5722 GB, free: 46.92 MB / 378.8 MB Notification: Performance of sorting global known variables: time 0.003318/1.052, allocations: 2.319 MB / 0.5745 GB, free: 44.59 MB / 378.8 MB Notification: Performance of sort global known variables: time 1.1e-07/1.052, allocations: 0 / 0.5745 GB, free: 44.59 MB / 378.8 MB Notification: Performance of remove unused functions: time 0.007836/1.06, allocations: 2.255 MB / 0.5767 GB, free: 42.57 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.0008897/1.06, allocations: 286 kB / 0.5769 GB, free: 42.3 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.01199/1.072, allocations: 6.986 MB / 0.5838 GB, free: 35.28 MB / 378.8 MB Notification: Performance of simCode: created event and clocks part: time 3.813e-05/1.072, allocations: 4 kB / 0.5838 GB, free: 35.27 MB / 378.8 MB Notification: Performance of simCode: created simulation system equations: time 0.006172/1.079, allocations: 3.44 MB / 0.5871 GB, free: 31.8 MB / 378.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004947/1.084, allocations: 0.7947 MB / 0.5879 GB, free: 31.02 MB / 378.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02699/1.111, allocations: 15.25 MB / 0.6028 GB, free: 15.45 MB / 378.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005625/1.116, allocations: 4.922 MB / 0.6076 GB, free: 10.48 MB / 378.8 MB Notification: Performance of simCode: alias equations: time 0.004988/1.121, allocations: 1.818 MB / 0.6094 GB, free: 8.66 MB / 378.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009866/1.122, allocations: 312.4 kB / 0.6097 GB, free: 8.355 MB / 378.8 MB Notification: Performance of SimCode: time 2.044e-06/1.122, allocations: 0 / 0.6097 GB, free: 8.355 MB / 378.8 MB Notification: Performance of Templates: time 0.2875/1.41, allocations: 54.42 MB / 0.6628 GB, free: 103 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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 240] 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.764686516020447]