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.00139/0.00139, allocations: 71.77 kB / 22.45 MB, free: 2.098 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.001663/0.001663, allocations: 164 kB / 25.75 MB, free: 8.957 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 0.8986/0.8986, allocations: 158.6 MB / 187.6 MB, free: 2.559 MB / 170.7 MB " [Timeout remaining time 179] 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.234e-06/2.234e-06, allocations: 0 / 251.1 MB, free: 7.789 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.566e-05/2.789e-05, allocations: 6.312 kB / 251.1 MB, free: 7.781 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01807/0.01809, allocations: 15.93 MB / 267 MB, free: 7.773 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.009959/0.02805, allocations: 4.63 MB / 271.7 MB, free: 3.129 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003602/0.03166, allocations: 131.4 kB / 271.8 MB, free: 3 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01442/0.04607, allocations: 7.658 MB / 279.5 MB, free: 11.3 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01201/0.05809, allocations: 1.919 MB / 281.4 MB, free: 9.375 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006588/0.06467, allocations: 1.632 MB / 283 MB, free: 7.742 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01941/0.08408, allocations: 9.797 MB / 292.8 MB, free: 13.91 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02176/0.1058, allocations: 13.52 MB / 306.3 MB, free: 248 kB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01167/0.1175, allocations: 7.805 MB / 314.1 MB, free: 8.426 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007637/0.1251, allocations: 5.786 MB / 319.9 MB, free: 2.629 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003285/0.1284, allocations: 1.359 MB / 321.3 MB, free: 1.27 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00497/0.1334, allocations: 1.64 MB / 322.9 MB, free: 15.63 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003823/0.1372, allocations: 2.899 MB / 325.8 MB, free: 12.72 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005914/0.1431, allocations: 3.645 MB / 329.5 MB, free: 9.07 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0102/0.1533, allocations: 9.396 MB / 338.9 MB, free: 15.64 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.1533, allocations: 4 kB / 338.9 MB, free: 15.64 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1534, allocations: 0 / 338.9 MB, free: 15.64 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0003459/0.1537, allocations: 0 / 338.9 MB, free: 15.64 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.02346/0.1772, allocations: 13.07 MB / 351.9 MB, free: 2.48 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.086e-05/0.1772, allocations: 19.98 kB / 352 MB, free: 2.461 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2235/0.4007, allocations: 7.719 MB / 359.7 MB, free: 99.06 MB / 330.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00713/0.4079, allocations: 4.738 MB / 364.4 MB, free: 97.21 MB / 330.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003517/0.4082, allocations: 0.6673 MB / 365.1 MB, free: 96.76 MB / 330.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001917/0.4101, allocations: 0.8859 MB / 366 MB, free: 95.89 MB / 330.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01597/0.4261, allocations: 8.045 MB / 374 MB, free: 87.76 MB / 330.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001593/0.4263, allocations: 7.953 kB / 374 MB, free: 87.75 MB / 330.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006733/0.4269, allocations: 371.1 kB / 374.4 MB, free: 87.4 MB / 330.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002682/0.4272, allocations: 0.4915 MB / 374.9 MB, free: 86.91 MB / 330.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01003/0.4372, allocations: 4.337 MB / 379.2 MB, free: 82.54 MB / 330.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03679/0.474, allocations: 35.35 MB / 414.6 MB, free: 46.89 MB / 330.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004829/0.4789, allocations: 4.119 MB / 418.7 MB, free: 42.96 MB / 330.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001773/0.4806, allocations: 1.352 MB / 420 MB, free: 41.61 MB / 330.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002174/0.4808, allocations: 111.9 kB / 420.1 MB, free: 41.5 MB / 330.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.86e-05/0.4809, allocations: 81.39 kB / 420.2 MB, free: 41.41 MB / 330.8 MB Notification: Performance of pre-optimization done (n=409): time 5.981e-06/0.4809, allocations: 0 / 420.2 MB, free: 41.41 MB / 330.8 MB Notification: Performance of matching and sorting (n=409): time 0.009121/0.49, allocations: 5.41 MB / 425.6 MB, free: 35.99 MB / 330.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.963e-05/0.4901, allocations: 121.1 kB / 425.7 MB, free: 35.85 MB / 330.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003009/0.4931, allocations: 3.073 MB / 428.8 MB, free: 32.83 MB / 330.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0002329/0.4933, allocations: 93.7 kB / 428.9 MB, free: 32.73 MB / 330.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001383/0.4947, allocations: 4.072 MB / 433 MB, free: 28.73 MB / 330.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.000761/0.4954, allocations: 1.499 MB / 434.5 MB, free: 27.25 MB / 330.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001089/0.4965, allocations: 1.276 MB / 435.8 MB, free: 25.96 MB / 330.8 MB Notification: Performance of setup shared object (initialization): time 4.237e-05/0.4966, allocations: 484.7 kB / 436.2 MB, free: 25.48 MB / 330.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00145/0.498, allocations: 0.8936 MB / 437.1 MB, free: 24.59 MB / 330.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002179/0.5002, allocations: 4 MB / 441.1 MB, free: 19.3 MB / 330.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004218/0.5044, allocations: 5.407 MB / 446.5 MB, free: 12.62 MB / 330.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.516e-05/0.5045, allocations: 20 kB / 446.6 MB, free: 12.6 MB / 330.8 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.007008/0.5115, allocations: 5.293 MB / 451.8 MB, free: 7.289 MB / 330.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.083e-05/0.5115, allocations: 36 kB / 451.9 MB, free: 7.254 MB / 330.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.26e-05/0.5116, allocations: 71.97 kB / 451.9 MB, free: 7.184 MB / 330.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002323/0.5139, allocations: 1.082 MB / 453 MB, free: 6.098 MB / 330.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002373/0.5163, allocations: 1.295 MB / 454.3 MB, free: 4.801 MB / 330.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006973/0.5233, allocations: 7.93 MB / 462.3 MB, free: 12.64 MB / 346.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003259/0.5265, allocations: 0.7413 MB / 463 MB, free: 11.89 MB / 346.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006785/0.5272, allocations: 280 kB / 463.3 MB, free: 11.62 MB / 346.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.002477/0.5297, allocations: 0.5258 MB / 463.8 MB, free: 11.08 MB / 346.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008883/0.5306, allocations: 497.6 kB / 464.3 MB, free: 10.59 MB / 346.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006103/0.5367, allocations: 3.912 MB / 468.2 MB, free: 6.652 MB / 346.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004311/0.541, allocations: 2.838 MB / 471 MB, free: 3.801 MB / 346.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-05/0.541, allocations: 8 kB / 471 MB, free: 3.793 MB / 346.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.144e-05/0.541, allocations: 27.91 kB / 471.1 MB, free: 3.766 MB / 346.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0212/0.5622, allocations: 11.33 MB / 482.4 MB, free: 8.199 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-05/0.5623, allocations: 12 kB / 482.4 MB, free: 8.188 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001927/0.5642, allocations: 0.7957 MB / 483.2 MB, free: 7.391 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002494/0.5667, allocations: 0.9987 MB / 484.2 MB, free: 6.383 MB / 362.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004022/0.5671, allocations: 108 kB / 484.3 MB, free: 6.277 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1585/0.7256, allocations: 7.802 MB / 492.1 MB, free: 101.8 MB / 362.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.118e-05/0.7256, allocations: 24.47 kB / 492.1 MB, free: 101.8 MB / 362.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0086/0.7342, allocations: 5.553 MB / 497.7 MB, free: 100.4 MB / 362.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001772/0.736, allocations: 0.8506 MB / 498.5 MB, free: 100.3 MB / 362.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004237/0.7364, allocations: 98.55 kB / 498.6 MB, free: 100.3 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001273/0.7377, allocations: 270.5 kB / 498.9 MB, free: 100.3 MB / 362.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005874/0.7383, allocations: 359.1 kB / 499.3 MB, free: 100.3 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001868/0.7385, allocations: 141.8 kB / 499.4 MB, free: 100.3 MB / 362.8 MB Notification: Performance of sorting global known variables: time 0.001692/0.7402, allocations: 1.352 MB / 0.489 GB, free: 100.1 MB / 362.8 MB Notification: Performance of sort global known variables: time 2.3e-07/0.7402, allocations: 0 / 0.489 GB, free: 100.1 MB / 362.8 MB Notification: Performance of remove unused functions: time 0.004911/0.7451, allocations: 2.25 MB / 0.4912 GB, free: 99.81 MB / 362.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.0005794/0.7457, allocations: 289.8 kB / 0.4915 GB, free: 99.68 MB / 362.8 MB Notification: Performance of simCode: created initialization part: time 0.006392/0.7521, allocations: 4.438 MB / 0.4958 GB, free: 98.82 MB / 362.8 MB Notification: Performance of simCode: created event and clocks part: time 1.292e-05/0.7521, allocations: 3.844 kB / 0.4958 GB, free: 98.82 MB / 362.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003111/0.7552, allocations: 2.435 MB / 0.4982 GB, free: 98.24 MB / 362.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003015/0.7582, allocations: 0.8055 MB / 0.499 GB, free: 98.18 MB / 362.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0203/0.7785, allocations: 13.47 MB / 0.5121 GB, free: 88.5 MB / 362.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002898/0.7814, allocations: 2.496 MB / 0.5146 GB, free: 87.26 MB / 362.8 MB Notification: Performance of simCode: alias equations: time 0.003702/0.7851, allocations: 1.823 MB / 0.5164 GB, free: 86.22 MB / 362.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007893/0.7859, allocations: 315.2 kB / 0.5167 GB, free: 85.95 MB / 362.8 MB Notification: Performance of SimCode: time 3.085e-06/0.7859, allocations: 0 / 0.5167 GB, free: 85.95 MB / 362.8 MB Notification: Performance of Templates: time 0.06555/0.8514, allocations: 54.5 MB / 0.5699 GB, free: 32.96 MB / 362.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","",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.596448441967368]