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.001328/0.001328, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.001014/0.001014, allocations: 165 kB / 24.56 MB, free: 12 kB / 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.9416/0.9416, allocations: 177.1 MB / 205 MB, free: 5.609 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.213e-06/1.213e-06, allocations: 0 / 273 MB, free: 1.508 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.356e-05/1.477e-05, allocations: 6.312 kB / 273 MB, free: 1.5 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.0113/0.01131, allocations: 16.13 MB / 289.1 MB, free: 1.293 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1104/0.1217, allocations: 4.649 MB / 293.8 MB, free: 14.25 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002036/0.1238, allocations: 156.8 kB / 293.9 MB, free: 14.25 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009107/0.1329, allocations: 7.701 MB / 301.6 MB, free: 13.12 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00398/0.1369, allocations: 2.043 MB / 303.7 MB, free: 12.25 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002209/0.1391, allocations: 1.534 MB / 305.2 MB, free: 11.58 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.007261/0.1463, allocations: 9.924 MB / 315.1 MB, free: 5.875 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01446/0.1608, allocations: 13.52 MB / 328.7 MB, free: 10.05 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006492/0.1673, allocations: 7.808 MB / 336.5 MB, free: 2.5 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005559/0.1728, allocations: 5.954 MB / 342.4 MB, free: 12.85 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001669/0.1745, allocations: 1.359 MB / 343.8 MB, free: 11.49 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001912/0.1764, allocations: 1.663 MB / 345.4 MB, free: 9.824 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00153/0.178, allocations: 2.899 MB / 348.3 MB, free: 6.918 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00258/0.1805, allocations: 3.649 MB / 352 MB, free: 3.262 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006865/0.1874, allocations: 9.427 MB / 361.4 MB, free: 9.805 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.1874, allocations: 0 / 361.4 MB, free: 9.805 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1874, allocations: 4 kB / 361.4 MB, free: 9.801 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.291e-05/0.1875, allocations: 0 / 361.4 MB, free: 9.801 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.01561/0.2031, allocations: 13.08 MB / 374.5 MB, free: 12.64 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.2031, allocations: 15.97 kB / 374.5 MB, free: 12.62 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01778/0.2209, allocations: 7.631 MB / 382.1 MB, free: 4.977 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006563/0.2275, allocations: 5.49 MB / 387.6 MB, free: 15.41 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003253/0.2278, allocations: 0.6665 MB / 388.3 MB, free: 14.74 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009228/0.2287, allocations: 0.8905 MB / 389.2 MB, free: 13.85 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01147/0.2402, allocations: 8.063 MB / 397.3 MB, free: 5.68 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000124/0.2403, allocations: 7.938 kB / 397.3 MB, free: 5.672 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005985/0.2409, allocations: 380 kB / 397.6 MB, free: 5.301 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003053/0.2412, allocations: 0.4915 MB / 398.1 MB, free: 4.805 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00752/0.2488, allocations: 4.36 MB / 402.5 MB, free: 424 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2586/0.5073, allocations: 35.4 MB / 437.9 MB, free: 80.37 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005565/0.5129, allocations: 4.137 MB / 442 MB, free: 80.16 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00161/0.5145, allocations: 1.365 MB / 443.4 MB, free: 80.11 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002357/0.5147, allocations: 136.1 kB / 443.5 MB, free: 80.11 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.782e-05/0.5148, allocations: 85.05 kB / 443.6 MB, free: 80.06 MB / 378.8 MB Notification: Performance of pre-optimization done (n=409): time 6.012e-06/0.5148, allocations: 0 / 443.6 MB, free: 80.06 MB / 378.8 MB Notification: Performance of matching and sorting (n=409): time 0.009199/0.524, allocations: 5.434 MB / 449 MB, free: 79.79 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.436e-05/0.524, allocations: 120.6 kB / 449.2 MB, free: 79.69 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002784/0.5268, allocations: 3.078 MB / 452.2 MB, free: 79.38 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001675/0.527, allocations: 93.14 kB / 452.3 MB, free: 79.34 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001445/0.5284, allocations: 4.07 MB / 456.4 MB, free: 77.68 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005976/0.529, allocations: 1.503 MB / 457.9 MB, free: 76.91 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00109/0.5301, allocations: 1.282 MB / 459.2 MB, free: 76.8 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 3.653e-05/0.5301, allocations: 478.1 kB / 459.6 MB, free: 76.34 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001308/0.5315, allocations: 0.9048 MB / 460.5 MB, free: 76.32 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002046/0.5335, allocations: 4.012 MB / 464.6 MB, free: 72.68 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003641/0.5371, allocations: 5.428 MB / 470 MB, free: 68.96 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.437e-05/0.5372, allocations: 19.59 kB / 470 MB, free: 68.96 MB / 378.8 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.006008/0.5432, allocations: 5.321 MB / 475.3 MB, free: 68.53 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.981e-05/0.5432, allocations: 32.53 kB / 475.4 MB, free: 68.53 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.454e-05/0.5433, allocations: 68.12 kB / 475.4 MB, free: 68.53 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002018/0.5453, allocations: 1.077 MB / 476.5 MB, free: 68.46 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002142/0.5474, allocations: 1.305 MB / 477.8 MB, free: 68.46 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005874/0.5533, allocations: 7.928 MB / 485.7 MB, free: 63.98 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001954/0.5552, allocations: 0.7449 MB / 486.5 MB, free: 63.54 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002587/0.5555, allocations: 281.9 kB / 486.8 MB, free: 63.32 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.001734/0.5572, allocations: 0.526 MB / 487.3 MB, free: 63.03 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004702/0.5577, allocations: 0.4907 MB / 487.8 MB, free: 62.59 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004634/0.5623, allocations: 3.901 MB / 491.7 MB, free: 60.32 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003445/0.5658, allocations: 2.868 MB / 494.5 MB, free: 58.38 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.099e-05/0.5658, allocations: 12 kB / 494.6 MB, free: 58.36 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.647e-05/0.5658, allocations: 22.22 kB / 494.6 MB, free: 58.36 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01273/0.5786, allocations: 11.37 MB / 0.4941 GB, free: 47.6 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.401e-05/0.5786, allocations: 12.97 kB / 0.4941 GB, free: 47.59 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001473/0.58, allocations: 0.8022 MB / 0.4949 GB, free: 46.82 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001831/0.5819, allocations: 1.001 MB / 0.4959 GB, free: 45.82 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000163/0.582, allocations: 116 kB / 0.496 GB, free: 45.71 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005666/0.5877, allocations: 7.804 MB / 0.5036 GB, free: 37.71 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.116e-06/0.5877, allocations: 26.31 kB / 0.5036 GB, free: 37.69 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006086/0.5938, allocations: 5.588 MB / 0.5091 GB, free: 31.85 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001038/0.5948, allocations: 0.8617 MB / 0.5099 GB, free: 30.99 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002805/0.5951, allocations: 95.98 kB / 0.51 GB, free: 30.89 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001018/0.5961, allocations: 267.7 kB / 0.5103 GB, free: 30.63 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004027/0.5965, allocations: 368.9 kB / 0.5106 GB, free: 30.28 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001642/0.5967, allocations: 148 kB / 0.5108 GB, free: 30.14 MB / 378.8 MB Notification: Performance of sorting global known variables: time 0.001315/0.598, allocations: 1.343 MB / 0.5121 GB, free: 28.79 MB / 378.8 MB Notification: Performance of sort global known variables: time 8e-08/0.598, allocations: 4 kB / 0.5121 GB, free: 28.79 MB / 378.8 MB Notification: Performance of remove unused functions: time 0.00415/0.6022, allocations: 2.247 MB / 0.5143 GB, free: 26.53 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.0004194/0.6026, allocations: 290.7 kB / 0.5145 GB, free: 26.29 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.004904/0.6075, allocations: 4.465 MB / 0.5189 GB, free: 22 MB / 378.8 MB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/0.6075, allocations: 4.125 kB / 0.5189 GB, free: 22 MB / 378.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002286/0.6098, allocations: 2.438 MB / 0.5213 GB, free: 19.63 MB / 378.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001996/0.6118, allocations: 0.8192 MB / 0.5221 GB, free: 18.86 MB / 378.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01313/0.6249, allocations: 13.41 MB / 0.5352 GB, free: 5.145 MB / 378.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00151/0.6264, allocations: 2.493 MB / 0.5376 GB, free: 2.621 MB / 378.8 MB Notification: Performance of simCode: alias equations: time 0.002692/0.6291, allocations: 1.818 MB / 0.5394 GB, free: 0.7969 MB / 378.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006071/0.6297, allocations: 344.4 kB / 0.5397 GB, free: 472 kB / 378.8 MB Notification: Performance of SimCode: time 1.763e-06/0.6297, allocations: 0 / 0.5397 GB, free: 472 kB / 378.8 MB Notification: Performance of Templates: time 0.1867/0.8164, allocations: 58.13 MB / 0.5965 GB, free: 109.2 MB / 410.8 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 -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.498727702070028]