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.001722/0.001722, allocations: 100.7 kB / 20.47 MB, free: 1.129 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.001861/0.001861, allocations: 194.7 kB / 23.76 MB, free: 4.34 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.425/1.425, allocations: 225.7 MB / 252.6 MB, free: 12.77 MB / 206.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.001618/0.001618, allocations: 51.92 kB / 371 MB, free: 9.102 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2471/0.2487, allocations: 52.19 MB / 423.2 MB, free: 14.42 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.0183/0.267, allocations: 14.31 MB / 437.5 MB, free: 40 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01074/0.2778, allocations: 4.49 MB / 442 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003474/0.2812, allocations: 159.2 kB / 442.1 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01731/0.2985, allocations: 6.697 MB / 448.8 MB, free: 4.668 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0075/0.306, allocations: 2.009 MB / 450.8 MB, free: 2.652 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004722/0.3108, allocations: 1.499 MB / 452.3 MB, free: 1.16 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01341/0.3242, allocations: 9.535 MB / 461.9 MB, free: 7.59 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02598/0.3502, allocations: 13.45 MB / 475.3 MB, free: 9.988 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008105/0.3583, allocations: 5.393 MB / 480.7 MB, free: 4.582 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009536/0.3678, allocations: 5.797 MB / 486.5 MB, free: 14.77 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003491/0.3713, allocations: 1.363 MB / 487.9 MB, free: 13.4 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005001/0.3763, allocations: 1.633 MB / 489.5 MB, free: 11.77 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004472/0.3808, allocations: 2.798 MB / 492.3 MB, free: 8.965 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008431/0.3892, allocations: 4.195 MB / 496.5 MB, free: 4.754 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02346/0.4127, allocations: 18.47 MB / 0.5029 GB, free: 2.227 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.906e-06/0.4127, allocations: 3.984 kB / 0.5029 GB, free: 2.223 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.4127, allocations: 0 / 0.5029 GB, free: 2.223 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0005945/0.4133, allocations: 3.938 kB / 0.5029 GB, free: 2.219 MB / 414.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.03647/0.4497, allocations: 12.25 MB / 0.5149 GB, free: 5.891 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.4498, allocations: 8.031 kB / 0.5149 GB, free: 5.883 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03691/0.4867, allocations: 6.28 MB / 0.521 GB, free: 15.59 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0139/0.5006, allocations: 5.913 MB / 0.5268 GB, free: 9.605 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007428/0.5013, allocations: 0.6665 MB / 0.5274 GB, free: 8.938 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003289/0.5046, allocations: 0.8788 MB / 0.5283 GB, free: 8.059 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4404/0.945, allocations: 14.94 MB / 0.5429 GB, free: 91.47 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002219/0.9452, allocations: 5.859 kB / 0.5429 GB, free: 91.47 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001122/0.9464, allocations: 375.4 kB / 0.5433 GB, free: 91.19 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004075/0.9468, allocations: 0.4959 MB / 0.5437 GB, free: 91.14 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02115/0.9679, allocations: 13.47 MB / 0.5569 GB, free: 85.7 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05538/1.023, allocations: 38.5 MB / 0.5945 GB, free: 47.69 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008263/1.032, allocations: 5.951 MB / 0.6003 GB, free: 41.96 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003365/1.035, allocations: 2.866 MB / 0.6031 GB, free: 39.09 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000289/1.035, allocations: 79.94 kB / 0.6032 GB, free: 39.02 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.75e-05/1.035, allocations: 78.56 kB / 0.6033 GB, free: 38.93 MB / 446.1 MB Notification: Performance of pre-optimization done (n=409): time 9.487e-06/1.035, allocations: 3.219 kB / 0.6033 GB, free: 38.93 MB / 446.1 MB Notification: Performance of matching and sorting (n=409): time 0.01744/1.053, allocations: 9.393 MB / 0.6124 GB, free: 29.54 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.303e-05/1.053, allocations: 121.1 kB / 0.6126 GB, free: 29.41 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003573/1.056, allocations: 3.23 MB / 0.6157 GB, free: 26.25 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003435/1.057, allocations: 93.7 kB / 0.6158 GB, free: 26.15 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001355/1.058, allocations: 3.824 MB / 0.6195 GB, free: 22.74 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008587/1.059, allocations: 1.461 MB / 0.621 GB, free: 21.3 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001293/1.06, allocations: 1.132 MB / 0.6221 GB, free: 20.15 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.196e-05/1.06, allocations: 305.1 kB / 0.6224 GB, free: 19.85 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003173/1.063, allocations: 2.838 MB / 0.6251 GB, free: 17.01 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003884/1.067, allocations: 4.9 MB / 0.6299 GB, free: 11.16 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007587/1.075, allocations: 8.255 MB / 0.638 GB, free: 1.977 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.798e-05/1.075, allocations: 20 kB / 0.638 GB, free: 1.957 MB / 446.1 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.01541/1.09, allocations: 9.081 MB / 0.6469 GB, free: 8.855 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.799e-05/1.09, allocations: 32 kB / 0.6469 GB, free: 8.824 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001157/1.091, allocations: 71.94 kB / 0.647 GB, free: 8.754 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003427/1.094, allocations: 1.145 MB / 0.6481 GB, free: 7.605 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004606/1.099, allocations: 1.287 MB / 0.6493 GB, free: 6.316 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01594/1.115, allocations: 10.38 MB / 0.6595 GB, free: 11.74 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004592/1.119, allocations: 0.7532 MB / 0.6602 GB, free: 10.98 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009213/1.12, allocations: 276 kB / 0.6605 GB, free: 10.71 MB / 478.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.005962/1.126, allocations: 3.427 MB / 0.6638 GB, free: 7.27 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008343/1.127, allocations: 361.7 kB / 0.6642 GB, free: 6.914 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0126/1.139, allocations: 6.874 MB / 0.6709 GB, free: 12 kB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009725/1.149, allocations: 5.698 MB / 0.6764 GB, free: 10.3 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.646e-05/1.149, allocations: 11.98 kB / 0.6765 GB, free: 10.29 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.467e-05/1.149, allocations: 27.86 kB / 0.6765 GB, free: 10.26 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02567/1.175, allocations: 13.41 MB / 0.6896 GB, free: 12.71 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.871e-05/1.175, allocations: 15.98 kB / 0.6896 GB, free: 12.69 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003331/1.178, allocations: 0.7887 MB / 0.6904 GB, free: 11.9 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003392/1.182, allocations: 1.064 MB / 0.6914 GB, free: 10.83 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006297/1.182, allocations: 108 kB / 0.6915 GB, free: 10.73 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01594/1.198, allocations: 10.14 MB / 0.7014 GB, free: 384 kB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.7e-05/1.198, allocations: 20.19 kB / 0.7014 GB, free: 364 kB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01836/1.217, allocations: 10.67 MB / 0.7118 GB, free: 5.449 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002499/1.219, allocations: 0.9609 MB / 0.7128 GB, free: 4.484 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006209/1.22, allocations: 99.98 kB / 0.7129 GB, free: 4.387 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002287/1.222, allocations: 275.8 kB / 0.7131 GB, free: 4.117 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007474/1.223, allocations: 363 kB / 0.7135 GB, free: 3.762 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002842/1.223, allocations: 140 kB / 0.7136 GB, free: 3.625 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.003282/1.226, allocations: 2.085 MB / 0.7157 GB, free: 1.535 MB / 0.5138 GB Notification: Performance of sort global known variables: time 9e-08/1.226, allocations: 0 / 0.7157 GB, free: 1.535 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.006397/1.233, allocations: 2.251 MB / 0.7179 GB, free: 15.27 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.0008345/1.234, allocations: 306 kB / 0.7181 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01317/1.247, allocations: 7.155 MB / 0.7251 GB, free: 7.789 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.74e-05/1.247, allocations: 0 / 0.7251 GB, free: 7.789 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.006942/1.254, allocations: 3.404 MB / 0.7285 GB, free: 4.363 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0043/1.258, allocations: 0.7811 MB / 0.7292 GB, free: 3.59 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02933/1.287, allocations: 16.32 MB / 0.7452 GB, free: 3.047 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2509/1.538, allocations: 5.461 MB / 0.7505 GB, free: 185.4 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005624/1.544, allocations: 2.162 MB / 0.7526 GB, free: 185.3 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001014/1.545, allocations: 318.3 kB / 0.7529 GB, free: 185.3 MB / 0.545 GB Notification: Performance of SimCode: time 1.483e-06/1.545, allocations: 0 / 0.7529 GB, free: 185.3 MB / 0.545 GB Notification: Performance of Templates: time 0.08792/1.633, allocations: 54.83 MB / 0.8065 GB, free: 148.5 MB / 0.545 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 7.702048460021615]