Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.00132/0.00132, allocations: 113.2 kB / 20.43 MB, free: 1.449 MB / 14.72 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.001391/0.001391, allocations: 209.9 kB / 23.74 MB, free: 4.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.431/1.431, allocations: 230.6 MB / 257.5 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001561/0.001561, allocations: 43.92 kB / 378.3 MB, free: 2.652 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.246/0.2476, allocations: 53.37 MB / 431.7 MB, free: 6.957 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01941/0.267, allocations: 16.71 MB / 448.4 MB, free: 6.164 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0105/0.2775, allocations: 4.719 MB / 453.1 MB, free: 1.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002913/0.2804, allocations: 159.2 kB / 453.2 MB, free: 1.273 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01713/0.2975, allocations: 7.257 MB / 460.5 MB, free: 10 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007439/0.305, allocations: 2.048 MB / 462.5 MB, free: 7.945 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004572/0.3095, allocations: 1.57 MB / 464.1 MB, free: 6.379 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01323/0.3228, allocations: 9.618 MB / 473.7 MB, free: 12.73 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0251/0.3479, allocations: 13.58 MB / 487.3 MB, free: 14.99 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007842/0.3557, allocations: 5.389 MB / 492.7 MB, free: 9.59 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009583/0.3653, allocations: 5.985 MB / 498.7 MB, free: 3.586 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003308/0.3686, allocations: 1.359 MB / 0.4883 GB, free: 2.227 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005617/0.3742, allocations: 1.672 MB / 0.49 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003958/0.3782, allocations: 2.794 MB / 0.4927 GB, free: 13.75 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00765/0.3858, allocations: 5.362 MB / 0.4979 GB, free: 8.371 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0224/0.4082, allocations: 18.41 MB / 0.5159 GB, free: 5.906 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.195e-06/0.4082, allocations: 0 / 0.5159 GB, free: 5.906 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.4082, allocations: 0 / 0.5159 GB, free: 5.906 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004997/0.4087, allocations: 0 / 0.5159 GB, free: 5.906 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.03415/0.4429, allocations: 12.26 MB / 0.5279 GB, free: 9.57 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.4429, allocations: 12.02 kB / 0.5279 GB, free: 9.559 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03546/0.4784, allocations: 6.202 MB / 0.5339 GB, free: 3.344 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2566/0.735, allocations: 5.915 MB / 0.5397 GB, free: 88.75 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006168/0.7356, allocations: 0.6738 MB / 0.5404 GB, free: 88.45 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002995/0.7386, allocations: 0.8735 MB / 0.5412 GB, free: 88.17 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03276/0.7713, allocations: 14.75 MB / 0.5556 GB, free: 82.65 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002973/0.7716, allocations: 11.16 kB / 0.5556 GB, free: 82.65 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002186/0.7738, allocations: 370.5 kB / 0.556 GB, free: 82.37 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000416/0.7742, allocations: 0.4911 MB / 0.5565 GB, free: 82.32 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02308/0.7973, allocations: 13.56 MB / 0.5697 GB, free: 70.38 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06549/0.8628, allocations: 43.26 MB / 0.612 GB, free: 26.69 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009453/0.8723, allocations: 6.022 MB / 0.6178 GB, free: 20.87 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004159/0.8764, allocations: 2.86 MB / 0.6206 GB, free: 18.01 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000515/0.8769, allocations: 134.4 kB / 0.6208 GB, free: 17.9 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.865e-05/0.877, allocations: 82.56 kB / 0.6208 GB, free: 17.81 MB / 446.1 MB Notification: Performance of pre-optimization done (n=409): time 7.184e-06/0.877, allocations: 0 / 0.6208 GB, free: 17.81 MB / 446.1 MB Notification: Performance of matching and sorting (n=409): time 0.02168/0.8987, allocations: 9.439 MB / 0.6301 GB, free: 8.371 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.281e-05/0.8988, allocations: 125 kB / 0.6302 GB, free: 8.23 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005823/0.9046, allocations: 3.156 MB / 0.6333 GB, free: 5.055 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007693/0.9054, allocations: 89.7 kB / 0.6334 GB, free: 4.961 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001874/0.9072, allocations: 3.834 MB / 0.6371 GB, free: 1.117 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00175/0.909, allocations: 1.46 MB / 0.6385 GB, free: 15.67 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00356/0.9125, allocations: 1.152 MB / 0.6396 GB, free: 14.5 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.9127, allocations: 301.1 kB / 0.6399 GB, free: 14.21 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005682/0.9184, allocations: 2.845 MB / 0.6427 GB, free: 11.36 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00756/0.9259, allocations: 4.9 MB / 0.6475 GB, free: 5.512 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01317/0.9391, allocations: 8.278 MB / 0.6556 GB, free: 12.3 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.028e-05/0.9392, allocations: 20 kB / 0.6556 GB, free: 12.28 MB / 478.1 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.02051/0.9597, allocations: 9.114 MB / 0.6645 GB, free: 3.152 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001034/0.9598, allocations: 35.98 kB / 0.6645 GB, free: 3.117 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001577/0.9599, allocations: 68 kB / 0.6646 GB, free: 3.051 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003874/0.9638, allocations: 1.146 MB / 0.6657 GB, free: 1.898 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005959/0.9698, allocations: 1.302 MB / 0.667 GB, free: 0.5938 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0185/0.9883, allocations: 10.61 MB / 0.6774 GB, free: 5.766 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00513/0.9934, allocations: 0.7491 MB / 0.6781 GB, free: 5.012 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001313/0.9947, allocations: 280 kB / 0.6784 GB, free: 4.738 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.008618/1.003, allocations: 3.435 MB / 0.6817 GB, free: 1.289 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001501/1.005, allocations: 361.7 kB / 0.6821 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.015/1.02, allocations: 6.871 MB / 0.6888 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01128/1.031, allocations: 5.729 MB / 0.6944 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.74e-05/1.031, allocations: 12 kB / 0.6944 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.037e-05/1.031, allocations: 23.91 kB / 0.6944 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03862/1.07, allocations: 15.29 MB / 0.7093 GB, free: 4.785 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.334e-05/1.07, allocations: 19.97 kB / 0.7093 GB, free: 4.766 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003693/1.074, allocations: 0.7957 MB / 0.7101 GB, free: 3.969 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003461/1.077, allocations: 1.056 MB / 0.7112 GB, free: 2.906 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007971/1.078, allocations: 116 kB / 0.7113 GB, free: 2.793 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01757/1.095, allocations: 10.38 MB / 0.7214 GB, free: 8.188 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.778e-05/1.095, allocations: 19.94 kB / 0.7214 GB, free: 8.168 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0226/1.118, allocations: 10.7 MB / 0.7319 GB, free: 13.23 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002876/1.121, allocations: 0.9649 MB / 0.7328 GB, free: 12.26 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006374/1.122, allocations: 103.9 kB / 0.7329 GB, free: 12.16 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002164/1.124, allocations: 267.8 kB / 0.7332 GB, free: 11.9 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000726/1.124, allocations: 359 kB / 0.7335 GB, free: 11.55 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002936/1.125, allocations: 148 kB / 0.7336 GB, free: 11.4 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003451/1.128, allocations: 2.125 MB / 0.7357 GB, free: 9.273 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/1.128, allocations: 0 / 0.7357 GB, free: 9.273 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.008006/1.136, allocations: 2.251 MB / 0.7379 GB, free: 7.016 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.0009594/1.137, allocations: 302.1 kB / 0.7382 GB, free: 6.711 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.2459/1.383, allocations: 7.163 MB / 0.7452 GB, free: 184.5 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-05/1.383, allocations: 3.75 kB / 0.7452 GB, free: 184.5 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00705/1.39, allocations: 3.422 MB / 0.7485 GB, free: 184.1 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003909/1.394, allocations: 0.7977 MB / 0.7493 GB, free: 184.1 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02217/1.416, allocations: 16.24 MB / 0.7652 GB, free: 178.1 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005132/1.421, allocations: 5.929 MB / 0.771 GB, free: 175.9 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004422/1.426, allocations: 2.158 MB / 0.7731 GB, free: 175.8 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008733/1.427, allocations: 337.7 kB / 0.7734 GB, free: 175.7 MB / 0.545 GB Notification: Performance of SimCode: time 1.372e-06/1.427, allocations: 3.938 kB / 0.7734 GB, free: 175.7 MB / 0.545 GB Notification: Performance of Templates: time 0.09386/1.52, allocations: 64.39 MB / 0.8363 GB, free: 115.4 MB / 0.545 GB " [Timeout remaining time 658] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.968707882799208]