Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007955/0.0007955, allocations: 80.92 kB / 21.49 MB, free: 2.996 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008902/0.0008902, allocations: 170.4 kB / 24.91 MB, free: 8.723 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.942/0.942, allocations: 177.1 MB / 205.3 MB, free: 5.102 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.113e-06/1.113e-06, allocations: 0 / 273.5 MB, free: 1.109 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.032e-05/1.143e-05, allocations: 9.406 kB / 273.5 MB, free: 1.102 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01075/0.01076, allocations: 15.54 MB / 289.1 MB, free: 1.484 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1231/0.1339, allocations: 4.893 MB / 294 MB, free: 14.41 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002032/0.1359, allocations: 158.8 kB / 294.1 MB, free: 14.41 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007058/0.143, allocations: 7.604 MB / 301.7 MB, free: 13.35 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003621/0.1466, allocations: 2.043 MB / 303.8 MB, free: 12.46 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001968/0.1486, allocations: 1.519 MB / 305.3 MB, free: 11.79 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.006208/0.1548, allocations: 9.946 MB / 315.2 MB, free: 6.078 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01305/0.1678, allocations: 13.86 MB / 329.1 MB, free: 9.492 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00912/0.177, allocations: 7.849 MB / 336.9 MB, free: 1.914 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006555/0.1835, allocations: 6.037 MB / 343 MB, free: 12.11 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002368/0.1859, allocations: 1.355 MB / 344.3 MB, free: 10.76 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002598/0.1885, allocations: 1.687 MB / 346 MB, free: 9.07 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001573/0.1901, allocations: 2.907 MB / 348.9 MB, free: 6.156 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0028/0.1929, allocations: 3.645 MB / 352.6 MB, free: 2.504 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008382/0.2012, allocations: 9.423 MB / 362 MB, free: 9.051 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.2012, allocations: 0 / 362 MB, free: 9.051 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.2012, allocations: 0 / 362 MB, free: 9.051 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001982/0.2014, allocations: 0 / 362 MB, free: 9.051 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.01575/0.2172, allocations: 11.14 MB / 373.1 MB, free: 13.84 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.291e-05/0.2172, allocations: 8.031 kB / 373.1 MB, free: 13.83 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01864/0.2359, allocations: 6.189 MB / 379.3 MB, free: 7.633 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006345/0.2422, allocations: 3.116 MB / 382.4 MB, free: 4.438 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003607/0.2426, allocations: 0.6704 MB / 383.1 MB, free: 3.766 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001367/0.2439, allocations: 0.8827 MB / 384 MB, free: 2.883 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01007/0.254, allocations: 7.585 MB / 391.6 MB, free: 11.19 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001261/0.2541, allocations: 11.94 kB / 391.6 MB, free: 11.18 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000592/0.2547, allocations: 376 kB / 391.9 MB, free: 10.81 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003047/0.255, allocations: 0.4953 MB / 392.4 MB, free: 10.31 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005458/0.2605, allocations: 3.894 MB / 396.3 MB, free: 6.363 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02846/0.2889, allocations: 26.67 MB / 423 MB, free: 10.67 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003661/0.2926, allocations: 3.205 MB / 426.2 MB, free: 7.449 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001054/0.2937, allocations: 1.02 MB / 427.2 MB, free: 6.422 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002131/0.2939, allocations: 135.9 kB / 427.4 MB, free: 6.289 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.347e-05/0.2939, allocations: 74.56 kB / 427.4 MB, free: 6.207 MB / 378.7 MB Notification: Performance of pre-optimization done (n=409): time 5.32e-06/0.2939, allocations: 0 / 427.4 MB, free: 6.207 MB / 378.7 MB Notification: Performance of matching and sorting (n=409): time 0.007025/0.3009, allocations: 4.055 MB / 431.5 MB, free: 2.145 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.527e-05/0.301, allocations: 125 kB / 431.6 MB, free: 2.004 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1324/0.4334, allocations: 2.055 MB / 433.7 MB, free: 97.55 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008176/0.4342, allocations: 92.08 kB / 433.8 MB, free: 97.52 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001838/0.436, allocations: 3.553 MB / 437.3 MB, free: 96.03 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001097/0.4371, allocations: 1.445 MB / 438.8 MB, free: 95.1 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001309/0.4384, allocations: 1.031 MB / 439.8 MB, free: 95 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 3.356e-05/0.4385, allocations: 303.6 kB / 440.1 MB, free: 94.71 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001325/0.4398, allocations: 0.8309 MB / 440.9 MB, free: 94.68 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001663/0.4415, allocations: 2.66 MB / 443.6 MB, free: 92.23 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003212/0.4447, allocations: 4.017 MB / 447.6 MB, free: 89.76 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.915e-05/0.4447, allocations: 19.06 kB / 447.6 MB, free: 89.76 MB / 378.7 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.004565/0.4493, allocations: 3.923 MB / 451.5 MB, free: 89.55 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.852e-05/0.4493, allocations: 38.16 kB / 451.6 MB, free: 89.55 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.36e-05/0.4494, allocations: 69.2 kB / 451.6 MB, free: 89.55 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00176/0.4511, allocations: 0.9511 MB / 452.6 MB, free: 89.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002096/0.4532, allocations: 1.223 MB / 453.8 MB, free: 89.49 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004975/0.4582, allocations: 5.797 MB / 459.6 MB, free: 86.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001913/0.4601, allocations: 0.5917 MB / 460.2 MB, free: 86.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003016/0.4604, allocations: 221.5 kB / 460.4 MB, free: 86.41 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.001581/0.462, allocations: 495.8 kB / 460.9 MB, free: 86.24 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004629/0.4625, allocations: 345.5 kB / 461.2 MB, free: 86.24 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003273/0.4657, allocations: 2.92 MB / 464.2 MB, free: 85.95 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002123/0.4679, allocations: 1.898 MB / 466.1 MB, free: 85.79 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.689e-05/0.4679, allocations: 15.05 kB / 466.1 MB, free: 85.79 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.241e-05/0.4679, allocations: 22.33 kB / 466.1 MB, free: 85.78 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008353/0.4762, allocations: 8.21 MB / 474.3 MB, free: 83.6 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.305e-05/0.4763, allocations: 12.19 kB / 474.3 MB, free: 83.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00136/0.4776, allocations: 0.7133 MB / 475 MB, free: 83.04 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001566/0.4792, allocations: 0.8841 MB / 475.9 MB, free: 82.45 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001905/0.4794, allocations: 105.8 kB / 476 MB, free: 82.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004272/0.4837, allocations: 5.667 MB / 481.7 MB, free: 77.12 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.214e-06/0.4837, allocations: 21.91 kB / 481.7 MB, free: 77.1 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003783/0.4874, allocations: 4.115 MB / 485.8 MB, free: 72.91 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007429/0.4882, allocations: 0.5677 MB / 486.4 MB, free: 72.34 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002619/0.4884, allocations: 99.92 kB / 486.5 MB, free: 72.24 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007964/0.4892, allocations: 124.6 kB / 486.6 MB, free: 72.12 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000386/0.4896, allocations: 352.1 kB / 487 MB, free: 71.79 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001492/0.4898, allocations: 112 kB / 487.1 MB, free: 71.68 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006843/0.4905, allocations: 0.9076 MB / 488 MB, free: 70.88 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.4905, allocations: 0 / 488 MB, free: 70.88 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.004249/0.4947, allocations: 2.255 MB / 490.2 MB, free: 68.61 MB / 378.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.0004406/0.4952, allocations: 279.9 kB / 490.5 MB, free: 68.39 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003852/0.499, allocations: 3.459 MB / 494 MB, free: 65.2 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.204e-05/0.4991, allocations: 59.94 kB / 494 MB, free: 65.13 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001715/0.5008, allocations: 1.918 MB / 495.9 MB, free: 63.35 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001773/0.5026, allocations: 0.7982 MB / 496.7 MB, free: 62.59 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01217/0.5148, allocations: 12.99 MB / 0.4978 GB, free: 49.46 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001209/0.516, allocations: 1.802 MB / 0.4995 GB, free: 47.63 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001353/0.5173, allocations: 0.644 MB / 0.5002 GB, free: 46.98 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001275/0.5186, allocations: 0.8154 MB / 0.501 GB, free: 46.16 MB / 378.7 MB Notification: Performance of SimCode: time 1.022e-06/0.5186, allocations: 0 / 0.501 GB, free: 46.16 MB / 378.7 MB Notification: Performance of Templates: time 0.06675/0.5853, allocations: 60.64 MB / 0.5602 GB, free: 2.344 MB / 394.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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","",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.31537362979725]