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.001646/0.001646, allocations: 106.5 kB / 21.2 MB, free: 0.6406 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.001861/0.001861, allocations: 217.1 kB / 24.49 MB, free: 3.93 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.426/1.426, allocations: 230.6 MB / 258.3 MB, free: 7.789 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.00156/0.00156, allocations: 43.92 kB / 379 MB, free: 2.434 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2092/0.2108, allocations: 53.37 MB / 432.4 MB, free: 6.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01796/0.2288, allocations: 14.31 MB / 446.7 MB, free: 8.301 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008015/0.2368, allocations: 4.56 MB / 451.2 MB, free: 3.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009723/0.2377, allocations: 159.2 kB / 451.4 MB, free: 3.574 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01539/0.2531, allocations: 6.69 MB / 458.1 MB, free: 12.87 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004985/0.2581, allocations: 2.005 MB / 460.1 MB, free: 10.86 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00334/0.2615, allocations: 1.525 MB / 461.6 MB, free: 9.336 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01047/0.2719, allocations: 9.606 MB / 471.2 MB, free: 15.7 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01907/0.291, allocations: 13.58 MB / 484.8 MB, free: 1.957 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006451/0.2975, allocations: 5.397 MB / 490.2 MB, free: 12.55 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007842/0.3053, allocations: 5.981 MB / 496.2 MB, free: 6.547 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002099/0.3074, allocations: 1.359 MB / 497.5 MB, free: 5.188 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003143/0.3105, allocations: 1.66 MB / 499.2 MB, free: 3.527 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002668/0.3132, allocations: 2.798 MB / 0.4902 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005843/0.319, allocations: 4.191 MB / 0.4943 GB, free: 12.51 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01881/0.3379, allocations: 18.5 MB / 0.5124 GB, free: 9.961 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.3379, allocations: 0 / 0.5124 GB, free: 9.961 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.3379, allocations: 8 kB / 0.5124 GB, free: 9.953 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000247/0.3381, allocations: 0 / 0.5124 GB, free: 9.953 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.02909/0.3672, allocations: 12.24 MB / 0.5244 GB, free: 13.63 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.3672, allocations: 8.031 kB / 0.5244 GB, free: 13.62 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03653/0.4038, allocations: 6.202 MB / 0.5304 GB, free: 7.406 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01425/0.418, allocations: 5.919 MB / 0.5362 GB, free: 1.418 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006575/0.4187, allocations: 0.6704 MB / 0.5368 GB, free: 0.7461 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.3391/0.7578, allocations: 0.8746 MB / 0.5377 GB, free: 89.32 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02398/0.7817, allocations: 14.97 MB / 0.5523 GB, free: 84.3 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001835/0.7819, allocations: 11.31 kB / 0.5523 GB, free: 84.3 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008793/0.7828, allocations: 376.8 kB / 0.5527 GB, free: 84.02 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003278/0.7831, allocations: 0.4911 MB / 0.5532 GB, free: 83.97 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.017/0.8001, allocations: 13.5 MB / 0.5664 GB, free: 71.85 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04387/0.844, allocations: 38.55 MB / 0.604 GB, free: 33.18 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00789/0.8519, allocations: 5.967 MB / 0.6098 GB, free: 27.44 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003075/0.855, allocations: 2.862 MB / 0.6126 GB, free: 24.57 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002646/0.8552, allocations: 111.9 kB / 0.6127 GB, free: 24.46 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.135e-05/0.8553, allocations: 81.12 kB / 0.6128 GB, free: 24.38 MB / 446.1 MB Notification: Performance of pre-optimization done (n=409): time 8.196e-06/0.8553, allocations: 1.094 kB / 0.6128 GB, free: 24.38 MB / 446.1 MB Notification: Performance of matching and sorting (n=409): time 0.01693/0.8722, allocations: 9.433 MB / 0.622 GB, free: 14.95 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.154e-05/0.8723, allocations: 121.1 kB / 0.6221 GB, free: 14.82 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003053/0.8753, allocations: 3.23 MB / 0.6253 GB, free: 11.66 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002064/0.8755, allocations: 93.7 kB / 0.6254 GB, free: 11.56 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001205/0.8767, allocations: 3.828 MB / 0.6291 GB, free: 8.152 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006891/0.8774, allocations: 1.462 MB / 0.6306 GB, free: 6.711 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001334/0.8787, allocations: 1.148 MB / 0.6317 GB, free: 5.551 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.105e-05/0.8788, allocations: 309.1 kB / 0.632 GB, free: 5.246 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003051/0.8818, allocations: 2.849 MB / 0.6347 GB, free: 2.391 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004979/0.8868, allocations: 4.904 MB / 0.6395 GB, free: 12.54 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01082/0.8976, allocations: 8.271 MB / 0.6476 GB, free: 3.332 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.378e-05/0.8977, allocations: 24 kB / 0.6476 GB, free: 3.309 MB / 462.1 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.01503/0.9127, allocations: 9.107 MB / 0.6565 GB, free: 10.19 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.527e-05/0.9127, allocations: 35.94 kB / 0.6566 GB, free: 10.15 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.405e-05/0.9128, allocations: 68 kB / 0.6566 GB, free: 10.09 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003355/0.9162, allocations: 1.146 MB / 0.6577 GB, free: 8.934 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004582/0.9208, allocations: 1.299 MB / 0.659 GB, free: 7.633 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01542/0.9362, allocations: 10.38 MB / 0.6692 GB, free: 13.05 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003451/0.9396, allocations: 0.7452 MB / 0.6699 GB, free: 12.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004836/0.9401, allocations: 284 kB / 0.6702 GB, free: 12.03 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.005522/0.9456, allocations: 3.429 MB / 0.6735 GB, free: 8.586 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007898/0.9464, allocations: 357.7 kB / 0.6738 GB, free: 8.234 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01306/0.9595, allocations: 6.87 MB / 0.6806 GB, free: 1.336 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.481e-05/0.9595, allocations: 19.92 kB / 0.6806 GB, free: 1.316 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.225e-05/0.9595, allocations: 4.234 kB / 0.6806 GB, free: 1.312 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0023/0.9618, allocations: 0.9182 MB / 0.6815 GB, free: 400 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004551/0.9623, allocations: 72 kB / 0.6815 GB, free: 328 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001854/0.9641, allocations: 251.7 kB / 0.6818 GB, free: 76 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005794/0.9647, allocations: 335.2 kB / 0.6821 GB, free: 15.75 MB / 0.4982 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01236/0.9771, allocations: 6.596 MB / 0.6885 GB, free: 9.211 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01261/0.9897, allocations: 8.187 MB / 0.6965 GB, free: 0.9727 MB / 0.4982 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003555/0.9933, allocations: 2.385 MB / 0.6989 GB, free: 14.59 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.003336/0.9966, allocations: 2.089 MB / 0.7009 GB, free: 12.49 MB / 0.5138 GB Notification: Performance of Backend: time 2.71e-07/0.9966, allocations: 3.938 kB / 0.7009 GB, free: 12.49 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01039/1.007, allocations: 5.114 MB / 0.7059 GB, free: 7.348 MB / 0.5138 GB Notification: Performance of SimCode: time 0.0251/1.032, allocations: 14.87 MB / 0.7204 GB, free: 8.391 MB / 0.5294 GB Notification: Performance of Templates: time 0.2939/1.326, allocations: 83.86 MB / 0.8023 GB, free: 144.7 MB / 0.545 GB " [Timeout remaining time 659] 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins1/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.355898820998846]