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.001019/0.001019, allocations: 82.28 kB / 22.21 MB, free: 2.289 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.001464/0.001464, allocations: 154.3 kB / 25.6 MB, free: 8.922 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 1.012/1.012, allocations: 173.4 MB / 202.2 MB, free: 8.305 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.302e-06/1.302e-06, allocations: 0 / 269.2 MB, free: 9.746 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.295e-05/2.426e-05, allocations: 2.312 kB / 269.2 MB, free: 9.742 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01088/0.0109, allocations: 15.47 MB / 284.7 MB, free: 10.21 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005263/0.01616, allocations: 4.578 MB / 289.3 MB, free: 5.629 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007987/0.01696, allocations: 159.2 kB / 289.4 MB, free: 5.473 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006199/0.02316, allocations: 7.459 MB / 296.9 MB, free: 13.98 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002555/0.02572, allocations: 2.051 MB / 298.9 MB, free: 11.92 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002151/0.02787, allocations: 1.498 MB / 300.4 MB, free: 10.42 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.00824/0.03611, allocations: 9.831 MB / 310.3 MB, free: 0.5469 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01656/0.05266, allocations: 13.52 MB / 323.8 MB, free: 2.875 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02005/0.07272, allocations: 7.813 MB / 331.6 MB, free: 11.05 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01256/0.08527, allocations: 5.966 MB / 337.6 MB, free: 5.074 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00177/0.08704, allocations: 1.363 MB / 338.9 MB, free: 3.711 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008227/0.09527, allocations: 1.644 MB / 340.6 MB, free: 2.066 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.1359/0.2312, allocations: 2.889 MB / 343.5 MB, free: 38.27 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.007369/0.2386, allocations: 3.649 MB / 347.1 MB, free: 38.27 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0107/0.2493, allocations: 9.403 MB / 356.5 MB, free: 37.66 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.2493, allocations: 0 / 356.5 MB, free: 37.66 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.2493, allocations: 1.969 kB / 356.5 MB, free: 37.66 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0004575/0.2497, allocations: 0 / 356.5 MB, free: 37.66 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.02139/0.2711, allocations: 11.96 MB / 368.5 MB, free: 32.94 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.2712, allocations: 11.41 kB / 368.5 MB, free: 32.94 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01858/0.2897, allocations: 5.838 MB / 374.3 MB, free: 31.5 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008104/0.2978, allocations: 5.04 MB / 379.4 MB, free: 28.85 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003955/0.2982, allocations: 0.6692 MB / 380 MB, free: 28.45 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003001/0.3012, allocations: 0.8797 MB / 380.9 MB, free: 27.58 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0153/0.3165, allocations: 7.388 MB / 388.3 MB, free: 20.58 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001777/0.3167, allocations: 14.44 kB / 388.3 MB, free: 20.57 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001086/0.3178, allocations: 368.8 kB / 388.7 MB, free: 20.21 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004827/0.3183, allocations: 0.4887 MB / 389.2 MB, free: 19.72 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.012/0.3303, allocations: 3.378 MB / 392.5 MB, free: 16.3 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04578/0.3761, allocations: 34.61 MB / 427.1 MB, free: 14.67 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003958/0.38, allocations: 3.546 MB / 430.7 MB, free: 11.41 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001333/0.3814, allocations: 1.169 MB / 431.9 MB, free: 10.28 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002064/0.3816, allocations: 111.9 kB / 432 MB, free: 10.17 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.491e-05/0.3816, allocations: 81.39 kB / 432 MB, free: 10.08 MB / 346.7 MB Notification: Performance of pre-optimization done (n=409): time 5.831e-06/0.3816, allocations: 4 kB / 432 MB, free: 10.08 MB / 346.7 MB Notification: Performance of matching and sorting (n=409): time 0.008587/0.3902, allocations: 4.817 MB / 436.9 MB, free: 5.309 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.776e-05/0.3903, allocations: 120.5 kB / 437 MB, free: 5.176 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00279/0.3931, allocations: 3.041 MB / 440 MB, free: 2.508 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001689/0.3932, allocations: 89.7 kB / 440.1 MB, free: 2.414 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001902/0.3951, allocations: 4.085 MB / 444.2 MB, free: 14.43 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009453/0.3961, allocations: 1.511 MB / 445.7 MB, free: 13 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00127/0.3974, allocations: 1.295 MB / 447 MB, free: 11.8 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001043/0.3975, allocations: 480.7 kB / 447.5 MB, free: 11.32 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008649/0.3983, allocations: 0.6787 MB / 448.2 MB, free: 10.64 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002255/0.4006, allocations: 3.817 MB / 452 MB, free: 5.703 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00379/0.4044, allocations: 5.065 MB / 457 MB, free: 15.77 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.51e-05/0.4044, allocations: 18.84 kB / 457.1 MB, free: 15.76 MB / 378.7 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.008441/0.4128, allocations: 4.783 MB / 461.8 MB, free: 11.43 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.323e-05/0.4129, allocations: 36 kB / 461.9 MB, free: 11.39 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.226e-05/0.413, allocations: 64 kB / 461.9 MB, free: 11.33 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002869/0.4158, allocations: 1.008 MB / 462.9 MB, free: 10.33 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003364/0.4192, allocations: 1.165 MB / 464.1 MB, free: 9.254 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009684/0.4289, allocations: 7.561 MB / 471.7 MB, free: 1.633 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003565/0.4325, allocations: 0.6089 MB / 472.3 MB, free: 1.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003807/0.4328, allocations: 224 kB / 472.5 MB, free: 0.8008 MB / 378.7 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.002672/0.4355, allocations: 0.5344 MB / 473 MB, free: 352 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000862/0.4364, allocations: 493.7 kB / 473.5 MB, free: 15.86 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006749/0.4431, allocations: 3.535 MB / 477 MB, free: 12.36 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004638/0.4478, allocations: 2.457 MB / 479.5 MB, free: 9.934 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.811e-05/0.4478, allocations: 12 kB / 479.5 MB, free: 9.922 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.808e-05/0.4478, allocations: 23.91 kB / 479.5 MB, free: 9.898 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1579/0.6057, allocations: 10.78 MB / 490.3 MB, free: 99.47 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.895e-05/0.6058, allocations: 13.34 kB / 490.3 MB, free: 99.47 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002419/0.6082, allocations: 0.6733 MB / 491 MB, free: 99.47 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002586/0.6108, allocations: 0.9283 MB / 491.9 MB, free: 99.44 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003611/0.6111, allocations: 111.6 kB / 492 MB, free: 99.44 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005996/0.6171, allocations: 7.452 MB / 499.5 MB, free: 95.59 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.304e-05/0.6171, allocations: 21.06 kB / 499.5 MB, free: 95.59 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006322/0.6235, allocations: 4.985 MB / 0.4927 GB, free: 94.18 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001111/0.6246, allocations: 0.7679 MB / 0.4934 GB, free: 94.03 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003203/0.6249, allocations: 97.41 kB / 0.4935 GB, free: 94.03 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009637/0.6259, allocations: 130.2 kB / 0.4936 GB, free: 94.03 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004053/0.6263, allocations: 358.1 kB / 0.494 GB, free: 94.02 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001696/0.6264, allocations: 115.4 kB / 0.4941 GB, free: 94.02 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001333/0.6278, allocations: 1.254 MB / 0.4953 GB, free: 93.83 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.6278, allocations: 0 / 0.4953 GB, free: 93.83 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004669/0.6324, allocations: 2.259 MB / 0.4975 GB, free: 93.46 MB / 394.7 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.0004959/0.6329, allocations: 307.3 kB / 0.4978 GB, free: 93.36 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00458/0.6375, allocations: 4.029 MB / 0.5018 GB, free: 92.75 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.663e-06/0.6375, allocations: 5.562 kB / 0.5018 GB, free: 92.75 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002146/0.6397, allocations: 2.255 MB / 0.504 GB, free: 92.26 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002064/0.6417, allocations: 0.8001 MB / 0.5047 GB, free: 92.21 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0158/0.6575, allocations: 13.33 MB / 0.5178 GB, free: 85.21 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002095/0.6596, allocations: 2.497 MB / 0.5202 GB, free: 83.97 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001822/0.6614, allocations: 0.6407 MB / 0.5208 GB, free: 83.48 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001397/0.6628, allocations: 0.8952 MB / 0.5217 GB, free: 82.72 MB / 394.7 MB Notification: Performance of SimCode: time 2.174e-06/0.6628, allocations: 0 / 0.5217 GB, free: 82.72 MB / 394.7 MB Notification: Performance of Templates: time 0.07218/0.735, allocations: 60.66 MB / 0.5809 GB, free: 26.48 MB / 394.7 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.65673898672685]