Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001344/0.001344, allocations: 119.6 kB / 18.41 MB, free: 4.688 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001409/0.001409, allocations: 192.3 kB / 21.35 MB, free: 1.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.42/1.42, allocations: 222.9 MB / 247.1 MB, free: 4.227 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001601/0.001601, allocations: 55.86 kB / 358.7 MB, free: 8.367 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0959/0.09752, allocations: 49.43 MB / 408.1 MB, free: 6.895 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01977/0.1173, allocations: 16.6 MB / 424.7 MB, free: 6.207 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01008/0.1275, allocations: 4.626 MB / 429.4 MB, free: 1.566 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002786/0.1303, allocations: 139.6 kB / 429.5 MB, free: 1.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2145/0.3448, allocations: 7.155 MB / 436.6 MB, free: 4.105 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00782/0.3526, allocations: 1.976 MB / 438.6 MB, free: 4.043 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004818/0.3575, allocations: 1.528 MB / 440.1 MB, free: 4.004 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01179/0.3693, allocations: 9.415 MB / 449.6 MB, free: 2.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03448/0.4038, allocations: 20.85 MB / 470.4 MB, free: 8.719 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01055/0.4144, allocations: 5.24 MB / 475.7 MB, free: 4.09 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01029/0.4247, allocations: 5.866 MB / 481.5 MB, free: 14.43 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003852/0.4286, allocations: 1.363 MB / 482.9 MB, free: 13.07 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00574/0.4344, allocations: 1.65 MB / 484.5 MB, free: 11.42 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004934/0.4393, allocations: 2.789 MB / 487.3 MB, free: 8.676 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01182/0.4512, allocations: 5.355 MB / 492.7 MB, free: 3.34 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0263/0.4775, allocations: 18.4 MB / 0.4991 GB, free: 1.266 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.246e-05/0.4776, allocations: 3.938 kB / 0.4991 GB, free: 1.262 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.4776, allocations: 0 / 0.4991 GB, free: 1.262 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0004814/0.4781, allocations: 0 / 0.4991 GB, free: 1.262 MB / 398.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.03732/0.5154, allocations: 12.32 MB / 0.5111 GB, free: 4.941 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.5155, allocations: 8.031 kB / 0.5111 GB, free: 4.934 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03461/0.5501, allocations: 6.283 MB / 0.5173 GB, free: 14.72 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01357/0.5637, allocations: 5.83 MB / 0.523 GB, free: 8.863 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008141/0.5646, allocations: 0.6721 MB / 0.5236 GB, free: 8.199 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00379/0.5684, allocations: 0.8764 MB / 0.5245 GB, free: 7.332 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0372/0.6056, allocations: 14.72 MB / 0.5389 GB, free: 8.594 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002457/0.6059, allocations: 11.95 kB / 0.5389 GB, free: 8.582 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001777/0.6077, allocations: 372.4 kB / 0.5392 GB, free: 8.227 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005187/0.6082, allocations: 495.3 kB / 0.5397 GB, free: 7.738 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02801/0.6362, allocations: 13.54 MB / 0.5529 GB, free: 10.18 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0801/0.7163, allocations: 44.18 MB / 0.5961 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01531/0.7317, allocations: 11.64 MB / 0.6074 GB, free: 444 kB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.3502/1.082, allocations: 3.165 MB / 0.6105 GB, free: 145.8 MB / 0.4982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003882/1.082, allocations: 179.8 kB / 0.6107 GB, free: 145.7 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.866e-05/1.082, allocations: 79.16 kB / 0.6108 GB, free: 145.6 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=409): time 5.991e-06/1.082, allocations: 2.719 kB / 0.6108 GB, free: 145.6 MB / 0.4982 GB Notification: Performance of matching and sorting (n=409): time 0.02108/1.104, allocations: 9.592 MB / 0.6201 GB, free: 145.2 MB / 0.4982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.929e-05/1.104, allocations: 122.8 kB / 0.6203 GB, free: 145.1 MB / 0.4982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004743/1.108, allocations: 3.159 MB / 0.6233 GB, free: 144.9 MB / 0.4982 GB Notification: Performance of collectPreVariables (initialization): time 0.0004448/1.109, allocations: 91.14 kB / 0.6234 GB, free: 144.9 MB / 0.4982 GB Notification: Performance of collectInitialEqns (initialization): time 0.001857/1.111, allocations: 3.834 MB / 0.6272 GB, free: 142.8 MB / 0.4982 GB Notification: Performance of collectInitialBindings (initialization): time 0.001159/1.112, allocations: 1.462 MB / 0.6286 GB, free: 141.8 MB / 0.4982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001543/1.113, allocations: 1.131 MB / 0.6297 GB, free: 141.3 MB / 0.4982 GB Notification: Performance of setup shared object (initialization): time 4.066e-05/1.113, allocations: 305.1 kB / 0.63 GB, free: 141 MB / 0.4982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003683/1.117, allocations: 2.839 MB / 0.6328 GB, free: 140 MB / 0.4982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00414/1.121, allocations: 4.899 MB / 0.6375 GB, free: 136.4 MB / 0.4982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007913/1.129, allocations: 8.252 MB / 0.6456 GB, free: 131.1 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.811e-05/1.129, allocations: 19.81 kB / 0.6456 GB, free: 131.1 MB / 0.4982 GB Notification: Performance of matching and sorting (n=743) (initialization): time 0.01244/1.142, allocations: 9.121 MB / 0.6545 GB, free: 127.6 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 5.331e-05/1.142, allocations: 35.78 kB / 0.6546 GB, free: 127.6 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.521e-05/1.142, allocations: 64.16 kB / 0.6546 GB, free: 127.6 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002903/1.145, allocations: 1.151 MB / 0.6558 GB, free: 127.4 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004036/1.149, allocations: 1.286 MB / 0.657 GB, free: 127.3 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01156/1.16, allocations: 10.82 MB / 0.6676 GB, free: 119.5 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00435/1.165, allocations: 0.7536 MB / 0.6683 GB, free: 118.7 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006607/1.166, allocations: 276 kB / 0.6686 GB, free: 118.5 MB / 0.4982 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.004452/1.17, allocations: 3.435 MB / 0.6719 GB, free: 115 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006296/1.171, allocations: 365.7 kB / 0.6723 GB, free: 114.7 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009656/1.18, allocations: 6.9 MB / 0.679 GB, free: 107.8 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007668/1.188, allocations: 5.745 MB / 0.6846 GB, free: 102 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.786e-05/1.188, allocations: 12.5 kB / 0.6846 GB, free: 102 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.804e-05/1.188, allocations: 23.91 kB / 0.6847 GB, free: 102 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02066/1.209, allocations: 15.24 MB / 0.6995 GB, free: 86.59 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.236e-05/1.209, allocations: 16.78 kB / 0.6996 GB, free: 86.57 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002879/1.212, allocations: 0.7956 MB / 0.7003 GB, free: 85.77 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00288/1.215, allocations: 1.055 MB / 0.7014 GB, free: 84.71 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005432/1.215, allocations: 108 kB / 0.7015 GB, free: 84.61 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01172/1.227, allocations: 10.58 MB / 0.7118 GB, free: 73.77 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.328e-06/1.227, allocations: 15.94 kB / 0.7118 GB, free: 73.75 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01375/1.241, allocations: 10.71 MB / 0.7223 GB, free: 62.81 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002286/1.243, allocations: 1.005 MB / 0.7233 GB, free: 61.78 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007004/1.244, allocations: 99.98 kB / 0.7234 GB, free: 61.68 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002249/1.246, allocations: 267.7 kB / 0.7236 GB, free: 61.42 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005377/1.247, allocations: 343.2 kB / 0.7239 GB, free: 61.09 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002428/1.247, allocations: 144 kB / 0.7241 GB, free: 60.95 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.002549/1.249, allocations: 2.125 MB / 0.7261 GB, free: 58.82 MB / 0.4982 GB Notification: Performance of sort global known variables: time 2.4e-07/1.249, allocations: 0 / 0.7261 GB, free: 58.82 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.005702/1.255, allocations: 2.255 MB / 0.7283 GB, free: 56.55 MB / 0.4982 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.000764/1.256, allocations: 298.7 kB / 0.7286 GB, free: 56.26 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.01024/1.266, allocations: 7.465 MB / 0.7359 GB, free: 48.78 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 1.591e-05/1.266, allocations: 4 kB / 0.7359 GB, free: 48.78 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.005465/1.272, allocations: 3.654 MB / 0.7395 GB, free: 45.11 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005597/1.277, allocations: 0.8075 MB / 0.7403 GB, free: 44.33 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02307/1.3, allocations: 15.94 MB / 0.7559 GB, free: 28.16 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004698/1.305, allocations: 5.757 MB / 0.7615 GB, free: 22.37 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00158/1.307, allocations: 363.4 kB / 0.7618 GB, free: 22.02 MB / 0.4982 GB Notification: Performance of SimCode: time 7.32e-07/1.307, allocations: 0 / 0.7618 GB, free: 22.02 MB / 0.4982 GB Notification: Performance of Templates: time 0.4498/1.757, allocations: 194.8 MB / 0.9521 GB, free: 46.72 MB / 0.5294 GB " [Timeout remaining time 658] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 14.582118027028628]