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.001864/0.001864, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.00221/0.00221, allocations: 213.3 kB / 24.54 MB, free: 4.016 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.486/1.486, allocations: 230.3 MB / 258 MB, free: 8.246 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.001954/0.001954, allocations: 59.89 kB / 378.8 MB, free: 2.766 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2302/0.2322, allocations: 53.37 MB / 432.2 MB, free: 7.074 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01937/0.2515, allocations: 16.71 MB / 448.9 MB, free: 6.285 MB / 350.1 MB
Notification: Performance of NFInst.instExpressions: time 0.01004/0.2616, allocations: 4.727 MB / 453.6 MB, free: 1.543 MB / 350.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.003061/0.2646, allocations: 155.2 kB / 453.8 MB, free: 1.391 MB / 350.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0175/0.2821, allocations: 7.245 MB / 461 MB, free: 10.13 MB / 366.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.007779/0.2899, allocations: 2.044 MB / 463 MB, free: 8.078 MB / 366.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.004342/0.2942, allocations: 1.587 MB / 464.6 MB, free: 6.496 MB / 366.1 MB
Notification: Performance of NFFlatten.flatten: time 0.01261/0.3069, allocations: 9.618 MB / 474.3 MB, free: 12.84 MB / 382.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.02192/0.3288, allocations: 12.84 MB / 487.1 MB, free: 15.86 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.009854/0.3386, allocations: 5.393 MB / 492.5 MB, free: 10.45 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0108/0.3494, allocations: 5.985 MB / 498.5 MB, free: 4.449 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.004241/0.3537, allocations: 1.359 MB / 499.8 MB, free: 3.09 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.006828/0.3605, allocations: 1.672 MB / 0.4897 GB, free: 1.418 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.005916/0.3664, allocations: 2.798 MB / 0.4925 GB, free: 14.61 MB / 414.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.01193/0.3783, allocations: 5.354 MB / 0.4977 GB, free: 9.238 MB / 414.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.02459/0.4029, allocations: 18.41 MB / 0.5157 GB, free: 6.77 MB / 430.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.4029, allocations: 0 / 0.5157 GB, free: 6.77 MB / 430.1 MB
Notification: Performance of FrontEnd: time 2.013e-06/0.4029, allocations: 0 / 0.5157 GB, free: 6.77 MB / 430.1 MB
Notification: Performance of Transformations before backend: time 0.0004723/0.4034, allocations: 0 / 0.5157 GB, free: 6.77 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.03899/0.4424, allocations: 12.26 MB / 0.5277 GB, free: 10.43 MB / 446.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.4424, allocations: 8.031 kB / 0.5277 GB, free: 10.43 MB / 446.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03789/0.4803, allocations: 6.199 MB / 0.5337 GB, free: 4.215 MB / 446.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.3973/0.8777, allocations: 5.918 MB / 0.5395 GB, free: 86.39 MB / 446.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007092/0.8784, allocations: 0.6657 MB / 0.5401 GB, free: 86.33 MB / 446.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.003336/0.8817, allocations: 0.8883 MB / 0.541 GB, free: 86.04 MB / 446.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.03404/0.9158, allocations: 14.74 MB / 0.5554 GB, free: 80.53 MB / 446.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 0.0004479/0.9162, allocations: 4.781 kB / 0.5554 GB, free: 80.53 MB / 446.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003506/0.9197, allocations: 378.8 kB / 0.5558 GB, free: 80.25 MB / 446.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005403/0.9202, allocations: 0.4886 MB / 0.5563 GB, free: 80.2 MB / 446.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02469/0.9449, allocations: 13.56 MB / 0.5695 GB, free: 69.19 MB / 446.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06771/1.013, allocations: 43.27 MB / 0.6118 GB, free: 25.77 MB / 446.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.009443/1.022, allocations: 6.011 MB / 0.6176 GB, free: 19.96 MB / 446.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.003825/1.026, allocations: 2.86 MB / 0.6204 GB, free: 17.09 MB / 446.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.0003537/1.026, allocations: 135.8 kB / 0.6205 GB, free: 16.99 MB / 446.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.491e-05/1.026, allocations: 82.55 kB / 0.6206 GB, free: 16.9 MB / 446.1 MB
Notification: Performance of pre-optimization done (n=409): time 6.652e-06/1.026, allocations: 7.984 kB / 0.6206 GB, free: 16.89 MB / 446.1 MB
Notification: Performance of matching and sorting (n=409): time 0.01973/1.046, allocations: 9.44 MB / 0.6299 GB, free: 7.453 MB / 446.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.709e-05/1.046, allocations: 117.1 kB / 0.63 GB, free: 7.32 MB / 446.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005236/1.051, allocations: 3.159 MB / 0.633 GB, free: 4.188 MB / 446.1 MB
Notification: Performance of collectPreVariables (initialization): time 0.0008365/1.052, allocations: 93.7 kB / 0.6331 GB, free: 4.09 MB / 446.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.00184/1.054, allocations: 3.831 MB / 0.6369 GB, free: 0.7227 MB / 446.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.00206/1.056, allocations: 1.462 MB / 0.6383 GB, free: 15.28 MB / 462.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.002828/1.059, allocations: 1.144 MB / 0.6394 GB, free: 14.12 MB / 462.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001397/1.059, allocations: 305.1 kB / 0.6397 GB, free: 13.82 MB / 462.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.004907/1.064, allocations: 2.845 MB / 0.6425 GB, free: 10.96 MB / 462.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.007459/1.071, allocations: 4.9 MB / 0.6473 GB, free: 5.121 MB / 462.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.01267/1.084, allocations: 8.278 MB / 0.6554 GB, free: 11.91 MB / 478.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.949e-05/1.084, allocations: 20 kB / 0.6554 GB, free: 11.89 MB / 478.1 MB
Notification: Performance of matching and sorting (n=743) (initialization): time 0.02018/1.104, allocations: 9.11 MB / 0.6643 GB, free: 2.766 MB / 478.1 MB
Notification: Performance of prepare postOptimizeDAE: time 0.0001055/1.104, allocations: 36.62 kB / 0.6643 GB, free: 2.73 MB / 478.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001329/1.105, allocations: 64 kB / 0.6644 GB, free: 2.668 MB / 478.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.003994/1.109, allocations: 1.161 MB / 0.6655 GB, free: 1.5 MB / 478.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005483/1.114, allocations: 1.295 MB / 0.6668 GB, free: 208 kB / 478.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01783/1.132, allocations: 10.62 MB / 0.6771 GB, free: 5.367 MB / 494.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005017/1.137, allocations: 0.7492 MB / 0.6779 GB, free: 4.613 MB / 494.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001303/1.138, allocations: 280 kB / 0.6781 GB, free: 4.34 MB / 494.1 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.00849/1.147, allocations: 3.427 MB / 0.6815 GB, free: 0.8984 MB / 494.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001608/1.148, allocations: 365.6 kB / 0.6818 GB, free: 0.5391 MB / 494.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01576/1.164, allocations: 6.87 MB / 0.6885 GB, free: 9.641 MB / 0.4982 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01321/1.177, allocations: 5.729 MB / 0.6941 GB, free: 3.898 MB / 0.4982 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-05/1.177, allocations: 12 kB / 0.6941 GB, free: 3.887 MB / 0.4982 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001065/1.177, allocations: 27.86 kB / 0.6942 GB, free: 3.859 MB / 0.4982 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03322/1.211, allocations: 15.29 MB / 0.7091 GB, free: 4.328 MB / 0.5138 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.94e-05/1.211, allocations: 12.19 kB / 0.7091 GB, free: 4.316 MB / 0.5138 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003448/1.214, allocations: 0.8035 MB / 0.7099 GB, free: 3.512 MB / 0.5138 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.003444/1.218, allocations: 1.052 MB / 0.7109 GB, free: 2.453 MB / 0.5138 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007132/1.218, allocations: 112 kB / 0.711 GB, free: 2.344 MB / 0.5138 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01551/1.234, allocations: 10.38 MB / 0.7212 GB, free: 7.73 MB / 0.5294 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.555e-05/1.234, allocations: 19.88 kB / 0.7212 GB, free: 7.711 MB / 0.5294 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01793/1.252, allocations: 10.7 MB / 0.7316 GB, free: 12.77 MB / 0.545 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.002807/1.255, allocations: 0.961 MB / 0.7326 GB, free: 11.8 MB / 0.545 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006597/1.255, allocations: 95.98 kB / 0.7327 GB, free: 11.71 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002342/1.258, allocations: 267.7 kB / 0.7329 GB, free: 11.45 MB / 0.545 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006748/1.258, allocations: 367 kB / 0.7333 GB, free: 11.09 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003024/1.259, allocations: 148 kB / 0.7334 GB, free: 10.95 MB / 0.545 GB
Notification: Performance of sorting global known variables: time 0.003267/1.262, allocations: 2.125 MB / 0.7355 GB, free: 8.816 MB / 0.545 GB
Notification: Performance of sort global known variables: time 9e-08/1.262, allocations: 0 / 0.7355 GB, free: 8.816 MB / 0.545 GB
Notification: Performance of remove unused functions: time 0.00648/1.268, allocations: 2.251 MB / 0.7377 GB, free: 6.559 MB / 0.545 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.000871/1.269, allocations: 302.1 kB / 0.738 GB, free: 6.254 MB / 0.545 GB
Notification: Performance of simCode: created initialization part: time 0.2246/1.494, allocations: 7.161 MB / 0.745 GB, free: 182.1 MB / 0.545 GB
Notification: Performance of simCode: created event and clocks part: time 1.579e-05/1.494, allocations: 2.719 kB / 0.745 GB, free: 182.1 MB / 0.545 GB
Notification: Performance of simCode: created simulation system equations: time 0.00636/1.5, allocations: 3.428 MB / 0.7483 GB, free: 181.7 MB / 0.545 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004235/1.504, allocations: 0.7991 MB / 0.7491 GB, free: 181.7 MB / 0.545 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02445/1.529, allocations: 16.24 MB / 0.765 GB, free: 175.4 MB / 0.545 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007044/1.536, allocations: 5.928 MB / 0.7707 GB, free: 173.2 MB / 0.545 GB
Notification: Performance of simCode: alias equations: time 0.004716/1.541, allocations: 2.164 MB / 0.7729 GB, free: 173 MB / 0.545 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001112/1.542, allocations: 339.7 kB / 0.7732 GB, free: 173 MB / 0.545 GB
Notification: Performance of SimCode: time 9.81e-07/1.542, allocations: 4 kB / 0.7732 GB, free: 173 MB / 0.545 GB
Notification: Performance of Templates: time 0.09106/1.633, allocations: 64.38 MB / 0.8361 GB, free: 112.8 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 7.991746610030532]