Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.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.001794/0.001794, allocations: 111.9 kB / 19.17 MB, free: 3.91 MB / 14.72 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.002429/0.002429, allocations: 208.9 kB / 22.13 MB, free: 0.9609 MB / 14.72 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 1.514/1.514, allocations: 230.2 MB / 255.2 MB, free: 15.26 MB / 206.1 MB " [Timeout remaining time 178] 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.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|lossPower_e|lossPower_m",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001841/0.001841, allocations: 63.89 kB / 374.5 MB, free: 9.891 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1105, allocations: 53.32 MB / 427.9 MB, free: 4.473 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.2413/0.3518, allocations: 16.67 MB / 444.5 MB, free: 1.754 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.012/0.3638, allocations: 4.718 MB / 449.2 MB, free: 14.85 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005376/0.3692, allocations: 134.5 kB / 449.4 MB, free: 14.82 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01791/0.3871, allocations: 7.223 MB / 456.6 MB, free: 10.52 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00869/0.3958, allocations: 1.969 MB / 458.6 MB, free: 9.336 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00528/0.4011, allocations: 1.546 MB / 460.1 MB, free: 8.418 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01483/0.4159, allocations: 9.504 MB / 469.6 MB, free: 3.098 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03046/0.4464, allocations: 16.24 MB / 485.9 MB, free: 6.863 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01067/0.4571, allocations: 5.257 MB / 491.1 MB, free: 1.59 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01196/0.469, allocations: 5.961 MB / 497.1 MB, free: 11.61 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004239/0.4732, allocations: 1.363 MB / 498.4 MB, free: 10.25 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006715/0.48, allocations: 1.672 MB / 0.4884 GB, free: 8.574 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005061/0.485, allocations: 2.79 MB / 0.4911 GB, free: 5.777 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01031/0.4953, allocations: 5.362 MB / 0.4964 GB, free: 404 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.027/0.5223, allocations: 18.41 MB / 0.5143 GB, free: 13.93 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.5223, allocations: 0 / 0.5143 GB, free: 13.93 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.5223, allocations: 0 / 0.5143 GB, free: 13.93 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0006239/0.523, allocations: 0 / 0.5143 GB, free: 13.93 MB / 430.1 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.04168/0.5646, allocations: 12.33 MB / 0.5264 GB, free: 1.504 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.78e-05/0.5647, allocations: 12.03 kB / 0.5264 GB, free: 1.492 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03678/0.6015, allocations: 6.199 MB / 0.5324 GB, free: 11.28 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01583/0.6173, allocations: 5.848 MB / 0.5381 GB, free: 5.371 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008236/0.6181, allocations: 0.6703 MB / 0.5388 GB, free: 4.699 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003914/0.622, allocations: 0.871 MB / 0.5396 GB, free: 3.828 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04099/0.663, allocations: 14.74 MB / 0.554 GB, free: 5.031 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004024/0.6634, allocations: 15.89 kB / 0.5541 GB, free: 5.016 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002969/0.6664, allocations: 368 kB / 0.5544 GB, free: 4.656 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006306/0.667, allocations: 0.4925 MB / 0.5549 GB, free: 4.16 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03088/0.6979, allocations: 13.56 MB / 0.5681 GB, free: 6.57 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0915/0.7894, allocations: 44.7 MB / 0.6118 GB, free: 8.629 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.528/1.317, allocations: 11.25 MB / 0.6228 GB, free: 143.2 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005637/1.323, allocations: 2.866 MB / 0.6256 GB, free: 143.2 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005082/1.324, allocations: 293.5 kB / 0.6259 GB, free: 143 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.23e-05/1.324, allocations: 79.84 kB / 0.6259 GB, free: 142.9 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=409): time 6.001e-06/1.324, allocations: 2.938 kB / 0.6259 GB, free: 142.9 MB / 0.5138 GB Notification: Performance of matching and sorting (n=409): time 0.02256/1.346, allocations: 9.583 MB / 0.6353 GB, free: 142.5 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.495e-05/1.346, allocations: 123.4 kB / 0.6354 GB, free: 142.4 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005954/1.352, allocations: 3.166 MB / 0.6385 GB, free: 141.9 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0007029/1.353, allocations: 90.98 kB / 0.6386 GB, free: 141.8 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.002477/1.355, allocations: 3.832 MB / 0.6423 GB, free: 139.7 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.001421/1.357, allocations: 1.459 MB / 0.6438 GB, free: 138.7 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001663/1.358, allocations: 1.146 MB / 0.6449 GB, free: 138.2 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 5.433e-05/1.359, allocations: 307.5 kB / 0.6452 GB, free: 137.9 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004366/1.363, allocations: 2.84 MB / 0.6479 GB, free: 136.9 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005276/1.368, allocations: 4.913 MB / 0.6527 GB, free: 133.3 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009745/1.378, allocations: 8.273 MB / 0.6608 GB, free: 128 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001026/1.378, allocations: 19.47 kB / 0.6608 GB, free: 128 MB / 0.5138 GB Notification: Performance of matching and sorting (n=743) (initialization): time 0.015/1.393, allocations: 9.11 MB / 0.6697 GB, free: 124.5 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 6.086e-05/1.393, allocations: 32.31 kB / 0.6698 GB, free: 124.5 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001231/1.393, allocations: 65.5 kB / 0.6698 GB, free: 124.5 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00305/1.396, allocations: 1.149 MB / 0.6709 GB, free: 124.3 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004273/1.401, allocations: 1.3 MB / 0.6722 GB, free: 124.2 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01325/1.414, allocations: 10.83 MB / 0.6828 GB, free: 116.4 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005536/1.419, allocations: 0.7481 MB / 0.6835 GB, free: 115.7 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001054/1.42, allocations: 279.3 kB / 0.6838 GB, free: 115.4 MB / 0.5138 GB 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.006243/1.427, allocations: 3.421 MB / 0.6871 GB, free: 112 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001064/1.428, allocations: 369.8 kB / 0.6875 GB, free: 111.7 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01078/1.438, allocations: 6.884 MB / 0.6942 GB, free: 104.8 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007672/1.446, allocations: 5.721 MB / 0.6998 GB, free: 99.06 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.836e-05/1.446, allocations: 12 kB / 0.6998 GB, free: 99.05 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.499e-05/1.446, allocations: 19.92 kB / 0.6998 GB, free: 99.03 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02689/1.473, allocations: 15.24 MB / 0.7147 GB, free: 83.64 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.391e-05/1.473, allocations: 12 kB / 0.7147 GB, free: 83.63 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002846/1.476, allocations: 0.7957 MB / 0.7155 GB, free: 82.83 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002806/1.479, allocations: 1.06 MB / 0.7165 GB, free: 81.77 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004032/1.479, allocations: 116.5 kB / 0.7166 GB, free: 81.65 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01205/1.491, allocations: 10.58 MB / 0.727 GB, free: 70.8 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.105e-05/1.491, allocations: 23.88 kB / 0.727 GB, free: 70.78 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01502/1.506, allocations: 10.7 MB / 0.7374 GB, free: 59.85 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002855/1.509, allocations: 1.013 MB / 0.7384 GB, free: 58.82 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00104/1.51, allocations: 95.98 kB / 0.7385 GB, free: 58.72 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002684/1.513, allocations: 271.7 kB / 0.7388 GB, free: 58.46 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007747/1.514, allocations: 347.3 kB / 0.7391 GB, free: 58.12 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004166/1.514, allocations: 151.9 kB / 0.7393 GB, free: 57.97 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.003888/1.518, allocations: 2.125 MB / 0.7413 GB, free: 55.84 MB / 0.5138 GB Notification: Performance of sort global known variables: time 1.8e-07/1.518, allocations: 2.625 kB / 0.7413 GB, free: 55.84 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.007295/1.525, allocations: 2.251 MB / 0.7435 GB, free: 53.58 MB / 0.5138 GB 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.0008324/1.526, allocations: 290 kB / 0.7438 GB, free: 53.3 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01132/1.537, allocations: 7.169 MB / 0.7508 GB, free: 46.11 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 2.221e-05/1.537, allocations: 8 kB / 0.7508 GB, free: 46.11 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.005789/1.543, allocations: 3.413 MB / 0.7542 GB, free: 42.68 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005701/1.549, allocations: 0.7957 MB / 0.7549 GB, free: 41.91 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03188/1.581, allocations: 15.84 MB / 0.7704 GB, free: 25.85 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008789/1.59, allocations: 5.762 MB / 0.776 GB, free: 20.05 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002214/1.592, allocations: 395.3 kB / 0.7764 GB, free: 19.67 MB / 0.5138 GB Notification: Performance of SimCode: time 1.793e-06/1.592, allocations: 4 kB / 0.7764 GB, free: 19.66 MB / 0.5138 GB Notification: Performance of Templates: time 0.4828/2.075, allocations: 197.1 MB / 0.9689 GB, free: 51.02 MB / 0.545 GB " [Timeout remaining time 658] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 17.15732113699778]