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.001308/0.001308, allocations: 72.08 kB / 21.69 MB, free: 2.863 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.0008853/0.0008853, allocations: 138.5 kB / 24.97 MB, free: 8.367 MB / 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 0.916/0.916, allocations: 173.4 MB / 201.5 MB, free: 9.301 MB / 186.7 MB " [Timeout remaining time 179] 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.032e-06/1.032e-06, allocations: 0 / 268.1 MB, free: 6.688 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.445e-05/1.548e-05, allocations: 6.25 kB / 268.1 MB, free: 6.68 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01419/0.01421, allocations: 16.02 MB / 284.1 MB, free: 6.578 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.009028/0.02324, allocations: 4.599 MB / 288.7 MB, free: 1.965 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001738/0.02497, allocations: 159.2 kB / 288.9 MB, free: 1.809 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1434/0.1684, allocations: 7.654 MB / 296.5 MB, free: 14.06 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005519/0.1739, allocations: 2.061 MB / 298.6 MB, free: 13.78 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002497/0.1764, allocations: 1.517 MB / 300.1 MB, free: 13.74 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.007919/0.1844, allocations: 9.815 MB / 309.9 MB, free: 9.719 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01385/0.1982, allocations: 13.51 MB / 323.4 MB, free: 20 kB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008037/0.2062, allocations: 7.805 MB / 331.2 MB, free: 8.477 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005856/0.2121, allocations: 5.787 MB / 337 MB, free: 3.035 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001432/0.2135, allocations: 1.359 MB / 338.4 MB, free: 1.676 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002195/0.2157, allocations: 1.644 MB / 340 MB, free: 52 kB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002028/0.2178, allocations: 2.899 MB / 342.9 MB, free: 13.33 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003501/0.2213, allocations: 3.647 MB / 346.6 MB, free: 9.863 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00879/0.23, allocations: 9.403 MB / 356 MB, free: 0.9727 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.2301, allocations: 0 / 356 MB, free: 0.9727 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.664e-06/0.2301, allocations: 0 / 356 MB, free: 0.9727 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.163e-05/0.2301, allocations: 4 kB / 356 MB, free: 0.9688 MB / 298.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.01714/0.2473, allocations: 13.08 MB / 369 MB, free: 3.891 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.2473, allocations: 8.922 kB / 369.1 MB, free: 3.883 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02036/0.2677, allocations: 7.726 MB / 376.8 MB, free: 12.24 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006099/0.2738, allocations: 5.474 MB / 382.3 MB, free: 6.957 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003095/0.2741, allocations: 0.6691 MB / 382.9 MB, free: 6.297 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008832/0.275, allocations: 0.8866 MB / 383.8 MB, free: 5.422 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01761/0.2926, allocations: 8.035 MB / 391.8 MB, free: 13.3 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001883/0.2928, allocations: 9.547 kB / 391.9 MB, free: 13.3 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009475/0.2937, allocations: 378.1 kB / 392.2 MB, free: 12.94 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004967/0.2942, allocations: 495.3 kB / 392.7 MB, free: 12.45 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01142/0.3056, allocations: 4.332 MB / 397 MB, free: 8.09 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04365/0.3493, allocations: 35.36 MB / 432.4 MB, free: 4.547 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005418/0.3547, allocations: 4.13 MB / 436.5 MB, free: 0.6016 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.2067/0.5614, allocations: 1.342 MB / 437.9 MB, free: 112.9 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003351/0.5617, allocations: 109.5 kB / 438 MB, free: 112.9 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.563e-05/0.5618, allocations: 83.58 kB / 438.1 MB, free: 112.9 MB / 378.8 MB Notification: Performance of pre-optimization done (n=409): time 5.591e-06/0.5618, allocations: 0 / 438.1 MB, free: 112.9 MB / 378.8 MB Notification: Performance of matching and sorting (n=409): time 0.01054/0.5723, allocations: 5.391 MB / 443.4 MB, free: 112.7 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.881e-05/0.5724, allocations: 121.2 kB / 443.6 MB, free: 112.6 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003307/0.5757, allocations: 3.078 MB / 446.6 MB, free: 112.2 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001744/0.5758, allocations: 99.31 kB / 446.7 MB, free: 112.2 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001369/0.5772, allocations: 4.07 MB / 450.8 MB, free: 110.7 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006424/0.5778, allocations: 1.504 MB / 452.3 MB, free: 109.9 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001123/0.579, allocations: 1.271 MB / 453.6 MB, free: 109.8 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 3.747e-05/0.579, allocations: 482 kB / 454.1 MB, free: 109.4 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001368/0.5804, allocations: 0.9003 MB / 455 MB, free: 109.3 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002085/0.5825, allocations: 4.005 MB / 459 MB, free: 105.7 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00375/0.5862, allocations: 5.41 MB / 464.4 MB, free: 101.7 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.209e-05/0.5862, allocations: 19.62 kB / 464.4 MB, free: 101.7 MB / 378.8 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.006089/0.5923, allocations: 5.291 MB / 469.7 MB, free: 100.5 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.926e-05/0.5924, allocations: 38.16 kB / 469.7 MB, free: 100.5 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.244e-05/0.5924, allocations: 64.06 kB / 469.8 MB, free: 100.5 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002022/0.5944, allocations: 1.074 MB / 470.9 MB, free: 100.4 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002105/0.5965, allocations: 1.291 MB / 472.1 MB, free: 100.3 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006266/0.6028, allocations: 7.949 MB / 480.1 MB, free: 93.74 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001874/0.6047, allocations: 0.7452 MB / 480.8 MB, free: 93.07 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002428/0.6049, allocations: 271.5 kB / 481.1 MB, free: 92.81 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.001616/0.6065, allocations: 0.5258 MB / 481.6 MB, free: 92.27 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004458/0.607, allocations: 0.4896 MB / 482.1 MB, free: 91.78 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004722/0.6117, allocations: 3.914 MB / 486 MB, free: 88.6 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003519/0.6152, allocations: 2.837 MB / 488.9 MB, free: 86.16 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.188e-05/0.6152, allocations: 16 kB / 488.9 MB, free: 86.14 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.62e-05/0.6153, allocations: 23.02 kB / 488.9 MB, free: 86.14 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0117/0.6269, allocations: 11.33 MB / 0.4885 GB, free: 75.43 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.31e-05/0.627, allocations: 16.06 kB / 0.4885 GB, free: 75.41 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001473/0.6284, allocations: 0.7848 MB / 0.4893 GB, free: 74.62 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001841/0.6303, allocations: 1.002 MB / 0.4903 GB, free: 73.62 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001498/0.6304, allocations: 112 kB / 0.4904 GB, free: 73.51 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005895/0.6363, allocations: 7.8 MB / 0.498 GB, free: 65.48 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.703e-06/0.6363, allocations: 19.94 kB / 0.498 GB, free: 65.46 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006041/0.6424, allocations: 5.57 MB / 0.5035 GB, free: 59.59 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001049/0.6434, allocations: 0.8517 MB / 0.5043 GB, free: 58.73 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002948/0.6437, allocations: 95.98 kB / 0.5044 GB, free: 58.64 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001045/0.6448, allocations: 275.7 kB / 0.5046 GB, free: 58.37 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004027/0.6452, allocations: 363 kB / 0.505 GB, free: 58.02 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001586/0.6453, allocations: 136 kB / 0.5051 GB, free: 57.88 MB / 378.8 MB Notification: Performance of sorting global known variables: time 0.001311/0.6466, allocations: 1.347 MB / 0.5064 GB, free: 56.53 MB / 378.8 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6466, allocations: 0 / 0.5064 GB, free: 56.53 MB / 378.8 MB Notification: Performance of remove unused functions: time 0.004193/0.6508, allocations: 2.255 MB / 0.5086 GB, free: 54.27 MB / 378.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.0004367/0.6513, allocations: 306.5 kB / 0.5089 GB, free: 53.96 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.005708/0.657, allocations: 4.442 MB / 0.5133 GB, free: 49.48 MB / 378.8 MB Notification: Performance of simCode: created event and clocks part: time 7.554e-06/0.657, allocations: 4 kB / 0.5133 GB, free: 49.48 MB / 378.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002545/0.6595, allocations: 2.435 MB / 0.5157 GB, free: 47.01 MB / 378.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002047/0.6616, allocations: 0.8044 MB / 0.5164 GB, free: 46.25 MB / 378.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01216/0.6737, allocations: 13.48 MB / 0.5296 GB, free: 32.43 MB / 378.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001418/0.6751, allocations: 2.497 MB / 0.532 GB, free: 29.91 MB / 378.8 MB Notification: Performance of simCode: alias equations: time 0.002404/0.6775, allocations: 1.814 MB / 0.5338 GB, free: 28.09 MB / 378.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005805/0.6781, allocations: 320.4 kB / 0.5341 GB, free: 27.77 MB / 378.8 MB Notification: Performance of SimCode: time 1.353e-06/0.6781, allocations: 0 / 0.5341 GB, free: 27.77 MB / 378.8 MB Notification: Performance of Templates: time 0.192/0.8702, allocations: 54.66 MB / 0.5875 GB, free: 122.9 MB / 394.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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.609296133974567]