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.001683/0.001683, allocations: 96.03 kB / 21.18 MB, free: 0.5312 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.001821/0.001821, allocations: 187.5 kB / 24.46 MB, free: 3.863 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.431/1.431, allocations: 225.7 MB / 253.3 MB, free: 12.86 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.002529/0.002529, allocations: 47.91 kB / 371.7 MB, free: 9.188 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.264/0.2666, allocations: 52.18 MB / 423.8 MB, free: 14.47 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.02867/0.2952, allocations: 14.31 MB / 438.1 MB, free: 92 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01744/0.3127, allocations: 4.497 MB / 442.6 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004917/0.3176, allocations: 159.2 kB / 442.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02731/0.3449, allocations: 6.694 MB / 449.5 MB, free: 4.719 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01214/0.357, allocations: 2.021 MB / 451.5 MB, free: 2.691 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00734/0.3644, allocations: 1.491 MB / 453 MB, free: 1.207 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01411/0.3785, allocations: 9.536 MB / 462.5 MB, free: 7.637 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02475/0.4032, allocations: 13.46 MB / 476 MB, free: 10.03 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008686/0.4119, allocations: 5.382 MB / 481.4 MB, free: 4.633 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0105/0.4224, allocations: 5.801 MB / 487.2 MB, free: 14.81 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004191/0.4266, allocations: 1.359 MB / 488.5 MB, free: 13.45 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006029/0.4326, allocations: 1.64 MB / 490.2 MB, free: 11.81 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005109/0.4378, allocations: 2.79 MB / 493 MB, free: 9.016 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009122/0.4469, allocations: 4.187 MB / 497.1 MB, free: 4.812 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02515/0.472, allocations: 18.48 MB / 0.5035 GB, free: 2.27 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.331e-06/0.472, allocations: 3.938 kB / 0.5035 GB, free: 2.266 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.472, allocations: 4 kB / 0.5036 GB, free: 2.262 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.000522/0.4726, allocations: 0 / 0.5036 GB, free: 2.262 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.03804/0.5106, allocations: 12.24 MB / 0.5155 GB, free: 5.938 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.5106, allocations: 8.031 kB / 0.5155 GB, free: 5.93 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03645/0.5471, allocations: 6.284 MB / 0.5217 GB, free: 15.63 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01535/0.5624, allocations: 5.913 MB / 0.5274 GB, free: 9.648 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008097/0.5633, allocations: 0.6665 MB / 0.5281 GB, free: 8.98 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003564/0.5668, allocations: 0.8788 MB / 0.5289 GB, free: 8.102 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4427/1.009, allocations: 14.94 MB / 0.5435 GB, free: 91.5 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002024/1.01, allocations: 5.859 kB / 0.5435 GB, free: 91.5 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009199/1.011, allocations: 376.4 kB / 0.5439 GB, free: 91.22 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004077/1.011, allocations: 496.5 kB / 0.5444 GB, free: 91.18 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02037/1.031, allocations: 13.47 MB / 0.5575 GB, free: 85.8 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0542/1.086, allocations: 38.48 MB / 0.5951 GB, free: 47.85 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008578/1.094, allocations: 5.949 MB / 0.6009 GB, free: 42.11 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003656/1.098, allocations: 2.866 MB / 0.6037 GB, free: 39.25 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002824/1.098, allocations: 83.94 kB / 0.6038 GB, free: 39.16 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.959e-05/1.098, allocations: 74.56 kB / 0.6039 GB, free: 39.08 MB / 446.1 MB Notification: Performance of pre-optimization done (n=409): time 7.133e-06/1.098, allocations: 3.219 kB / 0.6039 GB, free: 39.08 MB / 446.1 MB Notification: Performance of matching and sorting (n=409): time 0.01707/1.115, allocations: 9.397 MB / 0.613 GB, free: 29.69 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.775e-05/1.115, allocations: 121.1 kB / 0.6132 GB, free: 29.55 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004039/1.119, allocations: 3.233 MB / 0.6163 GB, free: 26.39 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002611/1.12, allocations: 89.7 kB / 0.6164 GB, free: 26.29 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001671/1.121, allocations: 3.821 MB / 0.6201 GB, free: 22.88 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008903/1.122, allocations: 1.461 MB / 0.6216 GB, free: 21.44 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001322/1.123, allocations: 1.132 MB / 0.6227 GB, free: 20.3 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.813e-05/1.124, allocations: 313 kB / 0.623 GB, free: 19.99 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003232/1.127, allocations: 2.838 MB / 0.6257 GB, free: 17.14 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004187/1.131, allocations: 4.896 MB / 0.6305 GB, free: 11.3 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008124/1.139, allocations: 8.251 MB / 0.6386 GB, free: 2.121 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.976e-05/1.139, allocations: 23.94 kB / 0.6386 GB, free: 2.098 MB / 446.1 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.01673/1.156, allocations: 9.081 MB / 0.6475 GB, free: 8.996 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.973e-05/1.156, allocations: 32 kB / 0.6475 GB, free: 8.965 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001456/1.156, allocations: 71.94 kB / 0.6476 GB, free: 8.895 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003625/1.16, allocations: 1.145 MB / 0.6487 GB, free: 7.746 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005186/1.165, allocations: 1.295 MB / 0.6499 GB, free: 6.449 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0178/1.183, allocations: 10.37 MB / 0.6601 GB, free: 11.88 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005139/1.188, allocations: 0.7571 MB / 0.6608 GB, free: 11.12 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001223/1.189, allocations: 276 kB / 0.6611 GB, free: 10.85 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.007419/1.196, allocations: 3.435 MB / 0.6644 GB, free: 7.402 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009486/1.197, allocations: 357.7 kB / 0.6648 GB, free: 7.051 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01306/1.21, allocations: 6.87 MB / 0.6715 GB, free: 156 kB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01038/1.221, allocations: 5.705 MB / 0.6771 GB, free: 10.43 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.757e-05/1.221, allocations: 8 kB / 0.6771 GB, free: 10.43 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.31e-05/1.221, allocations: 27.86 kB / 0.6771 GB, free: 10.4 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03072/1.252, allocations: 13.42 MB / 0.6902 GB, free: 12.81 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.03e-05/1.252, allocations: 12 kB / 0.6902 GB, free: 12.8 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003308/1.255, allocations: 0.7879 MB / 0.691 GB, free: 12.01 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003282/1.258, allocations: 1.06 MB / 0.692 GB, free: 10.95 MB / 0.4982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006377/1.259, allocations: 108 kB / 0.6921 GB, free: 10.84 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01582/1.275, allocations: 10.14 MB / 0.702 GB, free: 0.4922 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.025e-05/1.275, allocations: 20.19 kB / 0.702 GB, free: 484 kB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01792/1.293, allocations: 10.67 MB / 0.7125 GB, free: 5.562 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002816/1.295, allocations: 0.957 MB / 0.7134 GB, free: 4.602 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006292/1.296, allocations: 104 kB / 0.7135 GB, free: 4.5 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002306/1.298, allocations: 271.7 kB / 0.7137 GB, free: 4.234 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007123/1.299, allocations: 363 kB / 0.7141 GB, free: 3.879 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003026/1.299, allocations: 140 kB / 0.7142 GB, free: 3.742 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.00342/1.303, allocations: 2.085 MB / 0.7163 GB, free: 1.652 MB / 0.5138 GB Notification: Performance of sort global known variables: time 1e-07/1.303, allocations: 4 kB / 0.7163 GB, free: 1.648 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.006473/1.309, allocations: 2.247 MB / 0.7185 GB, free: 15.39 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.0008412/1.31, allocations: 314.1 kB / 0.7188 GB, free: 15.08 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01328/1.323, allocations: 7.151 MB / 0.7257 GB, free: 7.906 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.829e-05/1.323, allocations: 0 / 0.7257 GB, free: 7.906 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.006769/1.33, allocations: 3.4 MB / 0.7291 GB, free: 4.484 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00417/1.334, allocations: 0.7819 MB / 0.7298 GB, free: 3.707 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02965/1.364, allocations: 16.08 MB / 0.7455 GB, free: 3.406 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2189/1.583, allocations: 5.285 MB / 0.7507 GB, free: 185.6 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001651/1.585, allocations: 361 kB / 0.751 GB, free: 185.6 MB / 0.545 GB Notification: Performance of SimCode: time 9.82e-07/1.585, allocations: 1.438 kB / 0.751 GB, free: 185.6 MB / 0.545 GB Notification: Performance of Templates: time 0.185/1.77, allocations: 198 MB / 0.9444 GB, free: 8.988 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins1/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: 16.25540609192103]