Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001984/0.001984, allocations: 103.5 kB / 20.97 MB, free: 3.438 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002015/0.002015, allocations: 156.9 kB / 24.27 MB, free: 144 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.554/1.554, allocations: 177 MB / 204.4 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 272.2 MB, free: 1.812 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.692e-05/2.862e-05, allocations: 5.125 kB / 272.2 MB, free: 1.809 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.02195/0.02197, allocations: 16 MB / 288.2 MB, free: 1.727 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.131/0.153, allocations: 4.652 MB / 292.9 MB, free: 14 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003157/0.1561, allocations: 157.4 kB / 293 MB, free: 14 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01571/0.1718, allocations: 7.655 MB / 300.7 MB, free: 13.18 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006511/0.1783, allocations: 2.034 MB / 302.7 MB, free: 12.31 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00386/0.1822, allocations: 1.538 MB / 304.2 MB, free: 11.63 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.009321/0.1915, allocations: 9.909 MB / 314.2 MB, free: 5.988 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02088/0.2124, allocations: 13.52 MB / 327.7 MB, free: 10.21 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01591/0.2283, allocations: 7.794 MB / 335.5 MB, free: 2.676 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0114/0.2397, allocations: 5.792 MB / 341.3 MB, free: 13.23 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003895/0.2436, allocations: 1.359 MB / 342.6 MB, free: 11.87 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006186/0.2498, allocations: 1.657 MB / 344.3 MB, free: 10.23 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004654/0.2544, allocations: 2.903 MB / 347.2 MB, free: 7.371 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.008188/0.2626, allocations: 3.638 MB / 350.8 MB, free: 3.727 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02494/0.2876, allocations: 18.79 MB / 369.6 MB, free: 0.8828 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.2876, allocations: 0 / 369.6 MB, free: 0.8828 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.2876, allocations: 0 / 369.6 MB, free: 0.8828 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0004513/0.288, allocations: 4 kB / 369.6 MB, free: 0.8789 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.04186/0.3299, allocations: 13.89 MB / 383.5 MB, free: 2.898 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.3299, allocations: 11.98 kB / 383.5 MB, free: 2.887 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04065/0.3706, allocations: 7.623 MB / 391.1 MB, free: 11.25 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01607/0.3867, allocations: 5.498 MB / 396.6 MB, free: 5.676 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008512/0.3875, allocations: 0.6704 MB / 397.3 MB, free: 5.004 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003707/0.3912, allocations: 0.8749 MB / 398.2 MB, free: 4.129 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0419/0.4331, allocations: 15.11 MB / 413.3 MB, free: 4.906 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004187/0.4335, allocations: 3.984 kB / 413.3 MB, free: 4.902 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002851/0.4364, allocations: 376 kB / 413.7 MB, free: 4.535 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006832/0.4371, allocations: 499.3 kB / 414.1 MB, free: 4.043 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02992/0.467, allocations: 12.01 MB / 426.2 MB, free: 8.008 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.308/0.775, allocations: 56.77 MB / 482.9 MB, free: 76.04 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00864/0.7836, allocations: 5.504 MB / 488.4 MB, free: 70.74 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003195/0.7868, allocations: 2.485 MB / 490.9 MB, free: 68.26 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000325/0.7871, allocations: 135.9 kB / 491 MB, free: 68.12 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.839e-05/0.7872, allocations: 81.39 kB / 491.1 MB, free: 68.04 MB / 378.8 MB Notification: Performance of pre-optimization done (n=409): time 7.293e-06/0.7872, allocations: 0 / 491.1 MB, free: 68.04 MB / 378.8 MB Notification: Performance of matching and sorting (n=409): time 0.01768/0.8049, allocations: 8.414 MB / 499.5 MB, free: 59.62 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.461e-05/0.8049, allocations: 121.1 kB / 499.7 MB, free: 59.48 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005332/0.8102, allocations: 4.572 MB / 0.4924 GB, free: 54.96 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0004675/0.8107, allocations: 93.7 kB / 0.4925 GB, free: 54.86 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002075/0.8128, allocations: 4.25 MB / 0.4967 GB, free: 51.23 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001218/0.814, allocations: 1.559 MB / 0.4982 GB, free: 49.86 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001756/0.8158, allocations: 1.459 MB / 0.4996 GB, free: 48.38 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 5.752e-05/0.8158, allocations: 480.8 kB / 0.5001 GB, free: 47.91 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00295/0.8188, allocations: 2.326 MB / 0.5023 GB, free: 45.57 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004531/0.8233, allocations: 5.588 MB / 0.5078 GB, free: 38.7 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008379/0.8317, allocations: 8.781 MB / 0.5164 GB, free: 28.64 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.382e-05/0.8318, allocations: 20 kB / 0.5164 GB, free: 28.62 MB / 378.8 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.01284/0.8446, allocations: 8.413 MB / 0.5246 GB, free: 20.19 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.122e-05/0.8447, allocations: 32 kB / 0.5246 GB, free: 20.16 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000105/0.8448, allocations: 68 kB / 0.5247 GB, free: 20.09 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004077/0.8489, allocations: 1.349 MB / 0.526 GB, free: 18.73 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00468/0.8535, allocations: 1.295 MB / 0.5273 GB, free: 17.43 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01266/0.8662, allocations: 11.55 MB / 0.5386 GB, free: 5.645 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004782/0.871, allocations: 0.7413 MB / 0.5393 GB, free: 4.898 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000828/0.8718, allocations: 284 kB / 0.5395 GB, free: 4.621 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.004789/0.8766, allocations: 3.168 MB / 0.5426 GB, free: 1.438 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001108/0.8777, allocations: 493.7 kB / 0.5431 GB, free: 0.9531 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01264/0.8903, allocations: 5.993 MB / 0.549 GB, free: 10.93 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01049/0.9008, allocations: 4.954 MB / 0.5538 GB, free: 5.957 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.08e-05/0.9009, allocations: 8 kB / 0.5538 GB, free: 5.949 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.605e-05/0.9009, allocations: 27.91 kB / 0.5538 GB, free: 5.922 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03804/0.939, allocations: 16.02 MB / 0.5695 GB, free: 5.688 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-05/0.939, allocations: 12 kB / 0.5695 GB, free: 5.676 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003756/0.9428, allocations: 0.7957 MB / 0.5703 GB, free: 4.879 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005165/0.9479, allocations: 1.26 MB / 0.5715 GB, free: 3.609 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000952/0.9489, allocations: 112 kB / 0.5716 GB, free: 3.5 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1676/1.116, allocations: 11.29 MB / 0.5826 GB, free: 114.8 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.625e-05/1.117, allocations: 22.66 kB / 0.5826 GB, free: 114.8 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01541/1.132, allocations: 9.51 MB / 0.5919 GB, free: 113.3 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002776/1.135, allocations: 0.8616 MB / 0.5928 GB, free: 113.1 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007089/1.135, allocations: 95.23 kB / 0.5929 GB, free: 113.1 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002402/1.138, allocations: 274.9 kB / 0.5931 GB, free: 113.1 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007049/1.139, allocations: 364.5 kB / 0.5935 GB, free: 113.1 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002555/1.139, allocations: 151.4 kB / 0.5936 GB, free: 113.1 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.00303/1.142, allocations: 2.316 MB / 0.5959 GB, free: 112.9 MB / 410.8 MB Notification: Performance of sort global known variables: time 9e-08/1.142, allocations: 0 / 0.5959 GB, free: 112.9 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.006206/1.148, allocations: 2.255 MB / 0.5981 GB, free: 112.6 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.0009226/1.149, allocations: 294.7 kB / 0.5984 GB, free: 112.5 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.01063/1.16, allocations: 6.999 MB / 0.6052 GB, free: 111 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.696e-05/1.16, allocations: 0 / 0.6052 GB, free: 111 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.005407/1.165, allocations: 3.459 MB / 0.6086 GB, free: 109.6 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004033/1.169, allocations: 0.8071 MB / 0.6094 GB, free: 109.4 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02117/1.19, allocations: 15.17 MB / 0.6242 GB, free: 97.75 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004132/1.194, allocations: 4.918 MB / 0.629 GB, free: 92.82 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.004044/1.198, allocations: 1.814 MB / 0.6308 GB, free: 91 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008532/1.199, allocations: 340.4 kB / 0.6311 GB, free: 90.68 MB / 410.8 MB Notification: Performance of SimCode: time 1.974e-06/1.199, allocations: 0 / 0.6311 GB, free: 90.68 MB / 410.8 MB Notification: Performance of Templates: time 0.08101/1.28, allocations: 55.27 MB / 0.6851 GB, free: 35.99 MB / 410.8 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.6883688640082255]