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.001806/0.001806, allocations: 88.23 kB / 21.44 MB, free: 276 kB / 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.001527/0.001527, allocations: 163.3 kB / 24.71 MB, free: 3.527 MB / 14.72 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 1.349/1.349, allocations: 158.6 MB / 186.5 MB, free: 6.387 MB / 174.1 MB " [Timeout remaining time 178] 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 1.804e-06/1.804e-06, allocations: 0 / 299 MB, free: 8.707 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.533e-05/2.713e-05, allocations: 2.281 kB / 299 MB, free: 8.703 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01822/0.01825, allocations: 14.25 MB / 313.2 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01126/0.0295, allocations: 4.529 MB / 317.7 MB, free: 5.836 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003744/0.03325, allocations: 139.2 kB / 317.9 MB, free: 5.699 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2073/0.2406, allocations: 7.08 MB / 325 MB, free: 13.9 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007257/0.2478, allocations: 1.92 MB / 326.9 MB, free: 13.84 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004649/0.2525, allocations: 1.611 MB / 328.5 MB, free: 13.82 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01302/0.2655, allocations: 9.818 MB / 338.3 MB, free: 10.54 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02048/0.286, allocations: 13.49 MB / 351.8 MB, free: 3.535 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01513/0.3011, allocations: 7.743 MB / 359.5 MB, free: 14.11 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01233/0.3134, allocations: 5.26 MB / 364.8 MB, free: 9.188 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004222/0.3177, allocations: 1.359 MB / 366.2 MB, free: 7.828 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006029/0.3237, allocations: 1.645 MB / 367.8 MB, free: 6.203 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003905/0.3276, allocations: 2.847 MB / 370.7 MB, free: 3.535 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008509/0.3361, allocations: 3.6 MB / 374.3 MB, free: 116 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02486/0.361, allocations: 18.48 MB / 392.7 MB, free: 14.11 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.361, allocations: 3.375 kB / 392.7 MB, free: 14.11 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.361, allocations: 4 kB / 392.7 MB, free: 14.11 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0005209/0.3615, allocations: 0 / 392.7 MB, free: 14.11 MB / 350.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.04143/0.4029, allocations: 12.15 MB / 404.9 MB, free: 1.977 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.058e-05/0.403, allocations: 15.98 kB / 404.9 MB, free: 1.961 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03712/0.4401, allocations: 6.282 MB / 411.2 MB, free: 11.75 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01358/0.4537, allocations: 5.254 MB / 416.4 MB, free: 6.691 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007727/0.4545, allocations: 0.6723 MB / 417.1 MB, free: 6.031 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00432/0.4588, allocations: 0.8811 MB / 418 MB, free: 5.16 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04882/0.5076, allocations: 14.94 MB / 432.9 MB, free: 6.141 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004748/0.5081, allocations: 7.953 kB / 432.9 MB, free: 6.133 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003355/0.5114, allocations: 368.8 kB / 433.3 MB, free: 5.781 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006298/0.5121, allocations: 0.4954 MB / 433.8 MB, free: 5.281 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0316/0.5437, allocations: 13.46 MB / 447.3 MB, free: 7.797 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07611/0.6198, allocations: 38.5 MB / 485.8 MB, free: 1.129 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3604/0.9802, allocations: 5.929 MB / 491.7 MB, free: 128.4 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005105/0.9853, allocations: 2.863 MB / 494.6 MB, free: 127.4 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00034/0.9857, allocations: 89.88 kB / 494.6 MB, free: 127.4 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.65e-05/0.9857, allocations: 82.89 kB / 494.7 MB, free: 127.3 MB / 430.1 MB Notification: Performance of pre-optimization done (n=409): time 7.735e-06/0.9857, allocations: 0 / 494.7 MB, free: 127.3 MB / 430.1 MB Notification: Performance of matching and sorting (n=409): time 0.02186/1.008, allocations: 9.413 MB / 0.4923 GB, free: 124.5 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.864e-05/1.008, allocations: 121.3 kB / 0.4924 GB, free: 124.4 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004281/1.012, allocations: 3.229 MB / 0.4956 GB, free: 123.4 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003044/1.012, allocations: 92.58 kB / 0.4957 GB, free: 123.3 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001945/1.014, allocations: 3.813 MB / 0.4994 GB, free: 121.2 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009768/1.015, allocations: 1.446 MB / 0.5008 GB, free: 120.2 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00144/1.017, allocations: 1.124 MB / 0.5019 GB, free: 119.7 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 6.747e-05/1.017, allocations: 301.1 kB / 0.5022 GB, free: 119.4 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003404/1.02, allocations: 2.841 MB / 0.505 GB, free: 118.4 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004221/1.024, allocations: 4.9 MB / 0.5098 GB, free: 114.8 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008304/1.033, allocations: 8.254 MB / 0.5178 GB, free: 108.3 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.255e-05/1.033, allocations: 20 kB / 0.5178 GB, free: 108.2 MB / 430.1 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.01253/1.045, allocations: 9.081 MB / 0.5267 GB, free: 100 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001087/1.045, allocations: 32 kB / 0.5267 GB, free: 99.98 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001496/1.045, allocations: 68 kB / 0.5268 GB, free: 99.92 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003384/1.049, allocations: 1.152 MB / 0.5279 GB, free: 98.76 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004562/1.053, allocations: 1.291 MB / 0.5292 GB, free: 97.47 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0137/1.067, allocations: 10.37 MB / 0.5393 GB, free: 86.9 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005853/1.073, allocations: 0.757 MB / 0.5401 GB, free: 86.14 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001405/1.074, allocations: 272 kB / 0.5403 GB, free: 85.87 MB / 430.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.00835/1.083, allocations: 3.423 MB / 0.5437 GB, free: 82.43 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0013/1.084, allocations: 357.6 kB / 0.544 GB, free: 82.08 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01189/1.096, allocations: 6.866 MB / 0.5507 GB, free: 75.19 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007551/1.103, allocations: 5.713 MB / 0.5563 GB, free: 69.46 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.757e-05/1.103, allocations: 12 kB / 0.5563 GB, free: 69.45 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.644e-05/1.104, allocations: 19.92 kB / 0.5563 GB, free: 69.43 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02542/1.129, allocations: 13.42 MB / 0.5694 GB, free: 55.89 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.386e-05/1.129, allocations: 12 kB / 0.5694 GB, free: 55.88 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002844/1.132, allocations: 0.7917 MB / 0.5702 GB, free: 55.09 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002948/1.135, allocations: 1.068 MB / 0.5712 GB, free: 54.01 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004388/1.135, allocations: 112 kB / 0.5714 GB, free: 53.9 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01208/1.147, allocations: 10.15 MB / 0.5813 GB, free: 43.57 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-05/1.147, allocations: 23.81 kB / 0.5813 GB, free: 43.55 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01495/1.162, allocations: 10.63 MB / 0.5917 GB, free: 32.68 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00241/1.165, allocations: 0.9609 MB / 0.5926 GB, free: 31.72 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006544/1.165, allocations: 92 kB / 0.5927 GB, free: 31.63 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002305/1.168, allocations: 279.7 kB / 0.593 GB, free: 31.36 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007605/1.168, allocations: 355 kB / 0.5933 GB, free: 31.01 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002664/1.169, allocations: 144 kB / 0.5934 GB, free: 30.87 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00266/1.171, allocations: 2.085 MB / 0.5955 GB, free: 28.78 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/1.171, allocations: 3.938 kB / 0.5955 GB, free: 28.77 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.006681/1.178, allocations: 2.251 MB / 0.5977 GB, free: 26.52 MB / 430.1 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.000792/1.179, allocations: 293.3 kB / 0.598 GB, free: 26.23 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.01104/1.19, allocations: 7.139 MB / 0.6049 GB, free: 19.06 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.773e-05/1.19, allocations: 4 kB / 0.6049 GB, free: 19.06 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005887/1.196, allocations: 3.402 MB / 0.6082 GB, free: 15.64 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004584/1.2, allocations: 0.7795 MB / 0.609 GB, free: 14.88 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02706/1.227, allocations: 16.25 MB / 0.6249 GB, free: 14.4 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00992/1.237, allocations: 5.469 MB / 0.6302 GB, free: 8.891 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.006321/1.244, allocations: 2.161 MB / 0.6323 GB, free: 6.723 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00132/1.245, allocations: 316.4 kB / 0.6326 GB, free: 6.414 MB / 446.1 MB Notification: Performance of SimCode: time 1.694e-06/1.245, allocations: 0 / 0.6326 GB, free: 6.414 MB / 446.1 MB Notification: Performance of Templates: time 0.3086/1.554, allocations: 54.38 MB / 0.6857 GB, free: 134.6 MB / 462.1 MB " [Timeout remaining time 658] 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.748220328241587]