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.001998/0.001998, allocations: 99.86 kB / 20.96 MB, free: 3.457 MB / 18.57 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.001934/0.001934, allocations: 149.1 kB / 24.26 MB, free: 164 kB / 18.57 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.535/1.535, allocations: 173.4 MB / 200.8 MB, free: 9.301 MB / 186.7 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 1.462e-06/1.462e-06, allocations: 0 / 267.3 MB, free: 6.711 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.424e-05/2.57e-05, allocations: 2.312 kB / 267.3 MB, free: 6.707 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.02352/0.02355, allocations: 15.98 MB / 283.3 MB, free: 6.641 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01182/0.03537, allocations: 4.614 MB / 287.9 MB, free: 2.012 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003751/0.03912, allocations: 159.2 kB / 288.1 MB, free: 1.855 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1718/0.2109, allocations: 7.646 MB / 295.7 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007396/0.2183, allocations: 2.058 MB / 297.8 MB, free: 13.77 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004323/0.2226, allocations: 1.515 MB / 299.3 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01214/0.2348, allocations: 9.826 MB / 309.1 MB, free: 9.707 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02533/0.2601, allocations: 13.51 MB / 322.6 MB, free: 16 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01918/0.2793, allocations: 7.805 MB / 330.4 MB, free: 8.453 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01278/0.292, allocations: 5.783 MB / 336.2 MB, free: 3.016 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004613/0.2967, allocations: 1.359 MB / 337.6 MB, free: 1.656 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007057/0.3037, allocations: 1.648 MB / 339.2 MB, free: 28 kB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005432/0.3091, allocations: 2.89 MB / 342.1 MB, free: 13.32 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.009982/0.3191, allocations: 3.649 MB / 345.8 MB, free: 9.844 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.03653/0.3557, allocations: 18.76 MB / 364.5 MB, free: 7.57 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.638e-06/0.3557, allocations: 0 / 364.5 MB, free: 7.57 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.073e-06/0.3557, allocations: 0 / 364.5 MB, free: 7.57 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0005883/0.3563, allocations: 0 / 364.5 MB, free: 7.57 MB / 314.7 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.04412/0.4004, allocations: 13.88 MB / 378.4 MB, free: 9.695 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.828e-05/0.4004, allocations: 8.922 kB / 378.4 MB, free: 9.688 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04252/0.4429, allocations: 7.729 MB / 386.2 MB, free: 2.035 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01699/0.4599, allocations: 5.48 MB / 391.6 MB, free: 12.75 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009963/0.4609, allocations: 0.6704 MB / 392.3 MB, free: 12.09 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004098/0.465, allocations: 0.8857 MB / 393.2 MB, free: 11.21 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04331/0.5083, allocations: 15.07 MB / 408.3 MB, free: 12.05 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004277/0.5088, allocations: 7.938 kB / 408.3 MB, free: 12.05 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003153/0.5119, allocations: 378.3 kB / 408.6 MB, free: 11.69 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006768/0.5126, allocations: 0.4915 MB / 409.1 MB, free: 11.19 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03131/0.5439, allocations: 11.97 MB / 421.1 MB, free: 15.2 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3571/0.901, allocations: 56.71 MB / 477.8 MB, free: 84.91 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00918/0.9102, allocations: 5.474 MB / 483.3 MB, free: 82.21 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003566/0.9137, allocations: 2.48 MB / 485.8 MB, free: 79.73 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003484/0.9141, allocations: 111.9 kB / 485.9 MB, free: 79.62 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.463e-05/0.9141, allocations: 81.39 kB / 486 MB, free: 79.53 MB / 378.8 MB Notification: Performance of pre-optimization done (n=409): time 9.267e-06/0.9142, allocations: 3.281 kB / 486 MB, free: 79.53 MB / 378.8 MB Notification: Performance of matching and sorting (n=409): time 0.01772/0.9319, allocations: 8.381 MB / 494.3 MB, free: 71.16 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.425e-05/0.9319, allocations: 129 kB / 494.5 MB, free: 71.02 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005827/0.9378, allocations: 4.565 MB / 499 MB, free: 66.5 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0005653/0.9383, allocations: 97.7 kB / 499.1 MB, free: 66.4 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002579/0.9409, allocations: 4.255 MB / 0.4916 GB, free: 62.76 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001498/0.9424, allocations: 1.558 MB / 0.4931 GB, free: 61.39 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001816/0.9442, allocations: 1.444 MB / 0.4945 GB, free: 59.93 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 6.981e-05/0.9443, allocations: 476.8 kB / 0.495 GB, free: 59.46 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002997/0.9473, allocations: 2.318 MB / 0.4972 GB, free: 57.13 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004354/0.9516, allocations: 5.585 MB / 0.5027 GB, free: 50.26 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007897/0.9595, allocations: 8.762 MB / 0.5112 GB, free: 40.22 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.074e-05/0.9596, allocations: 20 kB / 0.5113 GB, free: 40.2 MB / 378.8 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.0121/0.9717, allocations: 8.378 MB / 0.5194 GB, free: 31.8 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 7.723e-05/0.9718, allocations: 32 kB / 0.5195 GB, free: 31.77 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001428/0.9719, allocations: 68 kB / 0.5195 GB, free: 31.71 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003978/0.9759, allocations: 1.349 MB / 0.5209 GB, free: 30.35 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004426/0.9803, allocations: 1.287 MB / 0.5221 GB, free: 29.06 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0124/0.9927, allocations: 11.55 MB / 0.5334 GB, free: 17.27 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004715/0.9974, allocations: 0.7529 MB / 0.5341 GB, free: 16.52 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009533/0.9984, allocations: 283.9 kB / 0.5344 GB, free: 16.24 MB / 378.8 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.00739/1.006, allocations: 3.164 MB / 0.5375 GB, free: 13.06 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001714/1.008, allocations: 493.7 kB / 0.538 GB, free: 12.57 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01113/1.019, allocations: 5.997 MB / 0.5438 GB, free: 6.547 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007331/1.026, allocations: 4.93 MB / 0.5486 GB, free: 1.602 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.035e-05/1.026, allocations: 16 kB / 0.5486 GB, free: 1.586 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.752e-05/1.026, allocations: 23.91 kB / 0.5487 GB, free: 1.562 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04013/1.066, allocations: 15.98 MB / 0.5643 GB, free: 1.375 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.715e-05/1.066, allocations: 12 kB / 0.5643 GB, free: 1.363 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003996/1.07, allocations: 0.7956 MB / 0.5651 GB, free: 0.5664 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005686/1.076, allocations: 1.252 MB / 0.5663 GB, free: 15.3 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009113/1.077, allocations: 112 kB / 0.5664 GB, free: 15.19 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01885/1.096, allocations: 11.31 MB / 0.5774 GB, free: 3.66 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.878e-05/1.096, allocations: 23.88 kB / 0.5775 GB, free: 3.637 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1801/1.276, allocations: 9.461 MB / 0.5867 GB, free: 120 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002917/1.279, allocations: 0.8562 MB / 0.5875 GB, free: 120 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005603/1.279, allocations: 94.95 kB / 0.5876 GB, free: 120 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002228/1.282, allocations: 275.3 kB / 0.5879 GB, free: 120 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008285/1.282, allocations: 363.3 kB / 0.5882 GB, free: 119.9 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003079/1.283, allocations: 139.5 kB / 0.5884 GB, free: 119.9 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.003355/1.286, allocations: 2.322 MB / 0.5906 GB, free: 119.8 MB / 410.8 MB Notification: Performance of sort global known variables: time 7e-08/1.286, allocations: 0 / 0.5906 GB, free: 119.8 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.006356/1.292, allocations: 2.257 MB / 0.5928 GB, free: 119.5 MB / 410.8 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.0006305/1.293, allocations: 306.4 kB / 0.5931 GB, free: 119.4 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.01027/1.303, allocations: 6.975 MB / 0.5999 GB, free: 118.5 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 2.811e-05/1.303, allocations: 3.75 kB / 0.5999 GB, free: 118.5 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.005271/1.309, allocations: 3.447 MB / 0.6033 GB, free: 117.9 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004211/1.313, allocations: 0.8016 MB / 0.6041 GB, free: 117.9 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02542/1.338, allocations: 15.25 MB / 0.619 GB, free: 112.3 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008041/1.346, allocations: 4.918 MB / 0.6238 GB, free: 108.8 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.00574/1.352, allocations: 1.814 MB / 0.6256 GB, free: 107 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00157/1.354, allocations: 324.4 kB / 0.6259 GB, free: 106.7 MB / 410.8 MB Notification: Performance of SimCode: time 1.674e-06/1.354, allocations: 0 / 0.6259 GB, free: 106.7 MB / 410.8 MB Notification: Performance of Templates: time 0.0876/1.441, allocations: 54.61 MB / 0.6792 GB, free: 52.82 MB / 410.8 MB " [Timeout remaining time 659] 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 240] 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.845773212960921]