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.001274/0.001274, allocations: 107.6 kB / 21.18 MB, free: 0.5273 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.001411/0.001411, allocations: 206.1 kB / 24.48 MB, free: 3.695 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.434/1.434, allocations: 230.6 MB / 258.2 MB, free: 7.812 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.001623/0.001623, allocations: 47.91 kB / 379 MB, free: 2.453 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2497/0.2513, allocations: 53.37 MB / 432.4 MB, free: 6.711 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01838/0.2697, allocations: 14.31 MB / 446.7 MB, free: 8.336 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01075/0.2804, allocations: 4.567 MB / 451.2 MB, free: 3.758 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003316/0.2837, allocations: 155.2 kB / 451.4 MB, free: 3.605 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01686/0.3006, allocations: 6.692 MB / 458.1 MB, free: 12.9 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007411/0.308, allocations: 2.013 MB / 460.1 MB, free: 10.88 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004793/0.3128, allocations: 1.512 MB / 461.6 MB, free: 9.371 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01378/0.3266, allocations: 9.618 MB / 471.2 MB, free: 15.72 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02396/0.3505, allocations: 13.59 MB / 484.8 MB, free: 1.973 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008696/0.3592, allocations: 5.389 MB / 490.2 MB, free: 12.57 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01053/0.3698, allocations: 5.973 MB / 496.2 MB, free: 6.578 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003889/0.3737, allocations: 1.359 MB / 497.5 MB, free: 5.219 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005591/0.3792, allocations: 1.668 MB / 499.2 MB, free: 3.551 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004779/0.384, allocations: 2.802 MB / 0.4902 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009051/0.3931, allocations: 4.191 MB / 0.4943 GB, free: 12.54 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02408/0.4172, allocations: 18.49 MB / 0.5124 GB, free: 9.992 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.4172, allocations: 0 / 0.5124 GB, free: 9.992 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.385e-06/0.4172, allocations: 3.938 kB / 0.5124 GB, free: 9.988 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005498/0.4177, allocations: 0 / 0.5124 GB, free: 9.988 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.03978/0.4575, allocations: 12.25 MB / 0.5243 GB, free: 13.65 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.4575, allocations: 8.031 kB / 0.5244 GB, free: 13.64 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03775/0.4953, allocations: 6.202 MB / 0.5304 GB, free: 7.43 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01614/0.5114, allocations: 5.919 MB / 0.5362 GB, free: 1.441 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008595/0.5123, allocations: 0.6665 MB / 0.5368 GB, free: 0.7734 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.4327/0.945, allocations: 0.8802 MB / 0.5377 GB, free: 89.3 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0373/0.9823, allocations: 14.98 MB / 0.5523 GB, free: 84.29 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002512/0.9826, allocations: 12.22 kB / 0.5523 GB, free: 84.29 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001656/0.9842, allocations: 369.7 kB / 0.5527 GB, free: 84 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003554/0.9846, allocations: 498.1 kB / 0.5532 GB, free: 83.96 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02162/1.006, allocations: 13.51 MB / 0.5664 GB, free: 71.89 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0602/1.066, allocations: 38.55 MB / 0.604 GB, free: 33.23 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008653/1.075, allocations: 5.969 MB / 0.6098 GB, free: 27.48 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003773/1.079, allocations: 2.878 MB / 0.6126 GB, free: 24.61 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003547/1.079, allocations: 107.9 kB / 0.6127 GB, free: 24.5 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.947e-05/1.079, allocations: 82.55 kB / 0.6128 GB, free: 24.41 MB / 446.1 MB Notification: Performance of pre-optimization done (n=409): time 8.025e-06/1.079, allocations: 0 / 0.6128 GB, free: 24.41 MB / 446.1 MB Notification: Performance of matching and sorting (n=409): time 0.01872/1.098, allocations: 9.431 MB / 0.622 GB, free: 15 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.532e-05/1.098, allocations: 117.1 kB / 0.6221 GB, free: 14.87 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003972/1.102, allocations: 3.234 MB / 0.6253 GB, free: 11.7 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007829/1.103, allocations: 93.7 kB / 0.6254 GB, free: 11.61 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001707/1.104, allocations: 3.822 MB / 0.6291 GB, free: 8.203 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001492/1.106, allocations: 1.464 MB / 0.6305 GB, free: 6.762 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001562/1.108, allocations: 1.148 MB / 0.6317 GB, free: 5.602 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.765e-05/1.108, allocations: 305.1 kB / 0.632 GB, free: 5.301 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003474/1.111, allocations: 2.841 MB / 0.6347 GB, free: 2.453 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006823/1.118, allocations: 4.904 MB / 0.6395 GB, free: 12.6 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01282/1.131, allocations: 8.275 MB / 0.6476 GB, free: 3.391 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.46e-05/1.131, allocations: 20 kB / 0.6476 GB, free: 3.371 MB / 462.1 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.01939/1.15, allocations: 9.107 MB / 0.6565 GB, free: 10.25 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.309e-05/1.15, allocations: 39.94 kB / 0.6566 GB, free: 10.21 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001292/1.15, allocations: 64 kB / 0.6566 GB, free: 10.15 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003539/1.154, allocations: 1.15 MB / 0.6577 GB, free: 8.992 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005381/1.159, allocations: 1.295 MB / 0.659 GB, free: 7.695 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0192/1.179, allocations: 10.4 MB / 0.6692 GB, free: 13.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00667/1.185, allocations: 0.7414 MB / 0.6699 GB, free: 12.35 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001625/1.187, allocations: 284 kB / 0.6702 GB, free: 12.07 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.009335/1.196, allocations: 3.423 MB / 0.6735 GB, free: 8.637 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001359/1.198, allocations: 361.7 kB / 0.6738 GB, free: 8.281 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01927/1.217, allocations: 6.866 MB / 0.6805 GB, free: 1.387 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01268/1.229, allocations: 5.729 MB / 0.6861 GB, free: 11.64 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.81e-05/1.23, allocations: 15.88 kB / 0.6862 GB, free: 11.63 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.202e-05/1.23, allocations: 23.92 kB / 0.6862 GB, free: 11.61 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02968/1.259, allocations: 13.45 MB / 0.6993 GB, free: 13.99 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.937e-05/1.259, allocations: 12 kB / 0.6993 GB, free: 13.98 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003504/1.263, allocations: 0.7995 MB / 0.7001 GB, free: 13.18 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00345/1.266, allocations: 1.068 MB / 0.7011 GB, free: 12.11 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00074/1.267, allocations: 112 kB / 0.7013 GB, free: 12 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01564/1.283, allocations: 10.15 MB / 0.7112 GB, free: 1.641 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-05/1.283, allocations: 15.94 kB / 0.7112 GB, free: 1.625 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02018/1.303, allocations: 10.7 MB / 0.7216 GB, free: 6.688 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003339/1.306, allocations: 0.9532 MB / 0.7226 GB, free: 5.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001284/1.307, allocations: 95.98 kB / 0.7226 GB, free: 5.637 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003133/1.311, allocations: 275.7 kB / 0.7229 GB, free: 5.367 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001212/1.312, allocations: 363 kB / 0.7233 GB, free: 5.012 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005666/1.312, allocations: 144 kB / 0.7234 GB, free: 4.871 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004776/1.317, allocations: 2.096 MB / 0.7254 GB, free: 2.77 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/1.317, allocations: 0 / 0.7254 GB, free: 2.77 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.008444/1.326, allocations: 2.255 MB / 0.7276 GB, free: 0.5078 MB / 0.5294 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.001262/1.327, allocations: 298.2 kB / 0.7279 GB, free: 212 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01369/1.341, allocations: 7.17 MB / 0.7349 GB, free: 9.02 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.261e-05/1.341, allocations: 7.938 kB / 0.7349 GB, free: 9.012 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.007349/1.348, allocations: 3.412 MB / 0.7383 GB, free: 5.578 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005875/1.354, allocations: 0.7764 MB / 0.739 GB, free: 4.809 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2887/1.642, allocations: 15.99 MB / 0.7546 GB, free: 178.9 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006528/1.649, allocations: 5.289 MB / 0.7598 GB, free: 178.5 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001546/1.651, allocations: 395.6 kB / 0.7602 GB, free: 178.5 MB / 0.545 GB Notification: Performance of SimCode: time 1.583e-06/1.651, allocations: 3.844 kB / 0.7602 GB, free: 178.5 MB / 0.545 GB Notification: Performance of Templates: time 0.4245/2.075, allocations: 199.8 MB / 0.9553 GB, free: 186.7 MB / 0.5607 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/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: 16.297802359011257]