Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.000944/0.000944, allocations: 80.8 kB / 22.29 MB, free: 2.207 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.001016/0.001016, allocations: 169.7 kB / 25.69 MB, free: 8.422 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9437/0.9437, allocations: 158.6 MB / 187.6 MB, free: 2.758 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0 / 251.6 MB, free: 7.207 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.189e-05/2.306e-05, allocations: 6.25 kB / 251.6 MB, free: 7.199 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01232/0.01234, allocations: 15.48 MB / 267.1 MB, free: 7.637 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01013/0.02247, allocations: 4.881 MB / 271.9 MB, free: 2.738 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003257/0.02573, allocations: 131.4 kB / 272.1 MB, free: 2.609 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009454/0.03518, allocations: 7.594 MB / 279.7 MB, free: 10.98 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005341/0.04053, allocations: 1.918 MB / 281.6 MB, free: 9.051 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003024/0.04355, allocations: 1.62 MB / 283.2 MB, free: 7.426 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.009517/0.05307, allocations: 9.831 MB / 293 MB, free: 13.56 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01703/0.0701, allocations: 13.86 MB / 306.9 MB, free: 15.5 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01022/0.08032, allocations: 7.848 MB / 314.7 MB, free: 7.648 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007973/0.08829, allocations: 6.032 MB / 320.8 MB, free: 1.605 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003499/0.09179, allocations: 1.355 MB / 322.1 MB, free: 256 kB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004379/0.09617, allocations: 1.675 MB / 323.8 MB, free: 14.57 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003904/0.1001, allocations: 2.895 MB / 326.7 MB, free: 11.67 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00762/0.1077, allocations: 3.641 MB / 330.3 MB, free: 8.023 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01432/0.122, allocations: 9.392 MB / 339.7 MB, free: 14.6 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/0.122, allocations: 0 / 339.7 MB, free: 14.6 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.122, allocations: 0 / 339.7 MB, free: 14.6 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0004195/0.1224, allocations: 0 / 339.7 MB, free: 14.6 MB / 330.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.01973/0.1422, allocations: 11.15 MB / 350.9 MB, free: 3.383 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.1422, allocations: 11.98 kB / 350.9 MB, free: 3.371 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2341/0.3764, allocations: 6.206 MB / 357.1 MB, free: 70.34 MB / 330.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006562/0.3829, allocations: 2.62 MB / 359.7 MB, free: 70.09 MB / 330.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004185/0.3833, allocations: 0.6684 MB / 360.4 MB, free: 70.07 MB / 330.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002602/0.3859, allocations: 0.8779 MB / 361.3 MB, free: 70.07 MB / 330.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01777/0.4037, allocations: 7.574 MB / 368.8 MB, free: 69.36 MB / 330.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003253/0.404, allocations: 5.734 kB / 368.8 MB, free: 69.36 MB / 330.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001576/0.4056, allocations: 377.8 kB / 369.2 MB, free: 69.36 MB / 330.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006561/0.4063, allocations: 498.9 kB / 369.7 MB, free: 69.34 MB / 330.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008917/0.4152, allocations: 3.878 MB / 373.6 MB, free: 68.73 MB / 330.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03467/0.4499, allocations: 26.64 MB / 400.2 MB, free: 44.8 MB / 330.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00326/0.4531, allocations: 3.211 MB / 403.4 MB, free: 41.68 MB / 330.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001067/0.4542, allocations: 1.003 MB / 404.4 MB, free: 40.72 MB / 330.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002271/0.4544, allocations: 111.9 kB / 404.5 MB, free: 40.61 MB / 330.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.236e-05/0.4544, allocations: 77.08 kB / 404.6 MB, free: 40.53 MB / 330.8 MB Notification: Performance of pre-optimization done (n=409): time 7.344e-06/0.4545, allocations: 0 / 404.6 MB, free: 40.53 MB / 330.8 MB Notification: Performance of matching and sorting (n=409): time 0.007135/0.4616, allocations: 4.053 MB / 408.7 MB, free: 36.55 MB / 330.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.509e-05/0.4616, allocations: 121.1 kB / 408.8 MB, free: 36.41 MB / 330.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002061/0.4637, allocations: 2.059 MB / 410.8 MB, free: 34.83 MB / 330.8 MB Notification: Performance of collectPreVariables (initialization): time 0.000204/0.4639, allocations: 93.7 kB / 410.9 MB, free: 34.73 MB / 330.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.00109/0.465, allocations: 3.554 MB / 414.5 MB, free: 31.53 MB / 330.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007916/0.4658, allocations: 1.441 MB / 415.9 MB, free: 30.17 MB / 330.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009717/0.4668, allocations: 1.027 MB / 417 MB, free: 29.25 MB / 330.8 MB Notification: Performance of setup shared object (initialization): time 3.288e-05/0.4668, allocations: 307.5 kB / 417.3 MB, free: 28.95 MB / 330.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00095/0.4677, allocations: 0.8237 MB / 418.1 MB, free: 28.11 MB / 330.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001292/0.469, allocations: 2.655 MB / 420.7 MB, free: 24.69 MB / 330.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002819/0.4718, allocations: 4 MB / 424.7 MB, free: 20.17 MB / 330.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.689e-05/0.4719, allocations: 19.94 kB / 424.8 MB, free: 20.15 MB / 330.8 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.004883/0.4768, allocations: 3.904 MB / 428.7 MB, free: 16.7 MB / 330.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.544e-05/0.4768, allocations: 35.66 kB / 428.7 MB, free: 16.67 MB / 330.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-05/0.4769, allocations: 68 kB / 428.8 MB, free: 16.61 MB / 330.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001895/0.4788, allocations: 0.9671 MB / 429.7 MB, free: 15.65 MB / 330.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00243/0.4812, allocations: 1.208 MB / 430.9 MB, free: 14.53 MB / 330.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005193/0.4864, allocations: 5.784 MB / 436.7 MB, free: 8.734 MB / 330.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00313/0.4895, allocations: 0.5971 MB / 437.3 MB, free: 8.133 MB / 330.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006742/0.4902, allocations: 224.1 kB / 437.5 MB, free: 7.914 MB / 330.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.002108/0.4923, allocations: 495 kB / 438 MB, free: 7.508 MB / 330.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006101/0.4929, allocations: 343.6 kB / 438.4 MB, free: 7.172 MB / 330.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003613/0.4965, allocations: 2.945 MB / 441.3 MB, free: 4.258 MB / 330.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002355/0.4989, allocations: 1.891 MB / 443.2 MB, free: 2.406 MB / 330.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.643e-05/0.4989, allocations: 12 kB / 443.2 MB, free: 2.395 MB / 330.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-05/0.4989, allocations: 23.91 kB / 443.2 MB, free: 2.371 MB / 330.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01321/0.5121, allocations: 8.184 MB / 451.4 MB, free: 11.07 MB / 346.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.634e-05/0.5121, allocations: 12 kB / 451.4 MB, free: 11.05 MB / 346.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001667/0.5138, allocations: 0.6944 MB / 452.1 MB, free: 10.4 MB / 346.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002001/0.5158, allocations: 0.8804 MB / 453 MB, free: 9.527 MB / 346.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003275/0.5161, allocations: 99.97 kB / 453.1 MB, free: 9.43 MB / 346.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006432/0.5226, allocations: 5.67 MB / 458.8 MB, free: 3.727 MB / 346.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-05/0.5226, allocations: 26.84 kB / 458.8 MB, free: 3.707 MB / 346.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006041/0.5286, allocations: 4.082 MB / 462.9 MB, free: 15.53 MB / 362.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001528/0.5302, allocations: 0.5604 MB / 463.4 MB, free: 14.97 MB / 362.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004506/0.5306, allocations: 107.9 kB / 463.5 MB, free: 14.87 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001062/0.5317, allocations: 132 kB / 463.7 MB, free: 14.74 MB / 362.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005848/0.5323, allocations: 342.1 kB / 464 MB, free: 14.41 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001823/0.5324, allocations: 108 kB / 464.1 MB, free: 14.31 MB / 362.8 MB Notification: Performance of sorting global known variables: time 0.001145/0.5336, allocations: 0.914 MB / 465 MB, free: 13.5 MB / 362.8 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5336, allocations: 0 / 465 MB, free: 13.5 MB / 362.8 MB Notification: Performance of remove unused functions: time 0.004995/0.5386, allocations: 2.251 MB / 467.3 MB, free: 11.24 MB / 362.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.0009025/0.5395, allocations: 273.9 kB / 467.5 MB, free: 11.02 MB / 362.8 MB Notification: Performance of simCode: created initialization part: time 0.005725/0.5452, allocations: 3.441 MB / 471 MB, free: 7.844 MB / 362.8 MB Notification: Performance of simCode: created event and clocks part: time 0.000156/0.5454, allocations: 60.19 kB / 471 MB, free: 7.777 MB / 362.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003053/0.5484, allocations: 1.921 MB / 473 MB, free: 5.992 MB / 362.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002923/0.5513, allocations: 0.7949 MB / 473.8 MB, free: 5.207 MB / 362.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01939/0.5707, allocations: 13.06 MB / 486.8 MB, free: 8.008 MB / 378.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002277/0.573, allocations: 1.802 MB / 488.6 MB, free: 6.176 MB / 378.8 MB Notification: Performance of simCode: alias equations: time 0.002119/0.5751, allocations: 0.6401 MB / 489.3 MB, free: 5.531 MB / 378.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001529/0.5767, allocations: 0.8076 MB / 490.1 MB, free: 4.715 MB / 378.8 MB Notification: Performance of SimCode: time 2.144e-06/0.5767, allocations: 0 / 490.1 MB, free: 4.715 MB / 378.8 MB Notification: Performance of Templates: time 0.1907/0.7674, allocations: 59.74 MB / 0.5369 GB, free: 67.98 MB / 378.8 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.304879170842469]