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.0007403/0.0007403, allocations: 84 kB / 21.43 MB, free: 3.129 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.003116/0.003116, allocations: 139.7 kB / 24.68 MB, free: 8.902 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.8337/0.8337, allocations: 173.4 MB / 201.2 MB, free: 9.445 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.744e-06/1.744e-06, allocations: 0 / 319.7 MB, free: 5.859 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.146e-05/2.321e-05, allocations: 2.281 kB / 319.7 MB, free: 5.855 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01/0.01003, allocations: 14.32 MB / 334 MB, free: 7.465 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007516/0.01754, allocations: 4.501 MB / 338.5 MB, free: 2.949 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001636/0.01918, allocations: 159.2 kB / 338.7 MB, free: 2.793 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006729/0.02591, allocations: 7.073 MB / 345.7 MB, free: 11.7 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003761/0.02967, allocations: 2.063 MB / 347.8 MB, free: 9.629 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001858/0.03153, allocations: 1.493 MB / 349.3 MB, free: 8.141 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.006951/0.03848, allocations: 9.82 MB / 359.1 MB, free: 14.28 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01255/0.05103, allocations: 13.51 MB / 372.6 MB, free: 0.6211 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007132/0.05816, allocations: 7.738 MB / 380.4 MB, free: 8.871 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005138/0.0633, allocations: 5.263 MB / 385.6 MB, free: 3.598 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001525/0.06483, allocations: 1.359 MB / 387 MB, free: 2.238 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001949/0.06678, allocations: 1.648 MB / 388.6 MB, free: 0.5898 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001467/0.06824, allocations: 2.844 MB / 391.5 MB, free: 13.74 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003092/0.07134, allocations: 3.598 MB / 395.1 MB, free: 10.13 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01213/0.08347, allocations: 18.64 MB / 413.7 MB, free: 7.445 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.08348, allocations: 0 / 413.7 MB, free: 7.445 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.08348, allocations: 4 kB / 413.7 MB, free: 7.441 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003625/0.08384, allocations: 0 / 413.7 MB, free: 7.441 MB / 378.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.02021/0.1041, allocations: 12.16 MB / 425.9 MB, free: 11.21 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.1041, allocations: 8.922 kB / 425.9 MB, free: 11.2 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01654/0.1206, allocations: 6.288 MB / 432.2 MB, free: 4.898 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009823/0.1305, allocations: 5.905 MB / 438.1 MB, free: 14.92 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003868/0.1309, allocations: 0.6742 MB / 438.7 MB, free: 14.25 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002227/0.1331, allocations: 0.8827 MB / 439.6 MB, free: 13.36 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.313/0.4461, allocations: 14.93 MB / 454.6 MB, free: 103.1 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001833/0.4463, allocations: 5.859 kB / 454.6 MB, free: 103.1 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006978/0.447, allocations: 372.8 kB / 454.9 MB, free: 103.1 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005206/0.4475, allocations: 499.5 kB / 455.4 MB, free: 103 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01426/0.4617, allocations: 13.47 MB / 468.9 MB, free: 98.45 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03396/0.4957, allocations: 38.51 MB / 0.4955 GB, free: 63.01 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005032/0.5007, allocations: 5.953 MB / 0.5013 GB, free: 57.27 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002364/0.5031, allocations: 2.863 MB / 0.5041 GB, free: 54.41 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000189/0.5033, allocations: 83.94 kB / 0.5042 GB, free: 54.32 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.403e-05/0.5033, allocations: 78.56 kB / 0.5043 GB, free: 54.24 MB / 410.8 MB Notification: Performance of pre-optimization done (n=409): time 5.139e-06/0.5033, allocations: 0 / 0.5043 GB, free: 54.24 MB / 410.8 MB Notification: Performance of matching and sorting (n=409): time 0.01002/0.5133, allocations: 9.395 MB / 0.5134 GB, free: 44.86 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.337e-05/0.5134, allocations: 129 kB / 0.5136 GB, free: 44.71 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002482/0.5159, allocations: 3.226 MB / 0.5167 GB, free: 41.56 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001467/0.516, allocations: 93.7 kB / 0.5168 GB, free: 41.46 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009489/0.517, allocations: 3.815 MB / 0.5205 GB, free: 38.07 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005344/0.5175, allocations: 1.443 MB / 0.5219 GB, free: 36.64 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009245/0.5184, allocations: 1.121 MB / 0.523 GB, free: 35.51 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 2.516e-05/0.5185, allocations: 305.1 kB / 0.5233 GB, free: 35.21 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002208/0.5207, allocations: 2.838 MB / 0.5261 GB, free: 32.37 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002683/0.5233, allocations: 4.908 MB / 0.5309 GB, free: 26.52 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00527/0.5286, allocations: 8.255 MB / 0.539 GB, free: 17.33 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.687e-05/0.5286, allocations: 16 kB / 0.539 GB, free: 17.31 MB / 410.8 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.007757/0.5364, allocations: 9.076 MB / 0.5478 GB, free: 8.219 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.465e-05/0.5364, allocations: 32 kB / 0.5479 GB, free: 8.188 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.986e-05/0.5365, allocations: 71.94 kB / 0.5479 GB, free: 8.117 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001675/0.5382, allocations: 1.138 MB / 0.549 GB, free: 6.973 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002089/0.5403, allocations: 1.295 MB / 0.5503 GB, free: 5.676 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008475/0.5487, allocations: 10.39 MB / 0.5605 GB, free: 11.09 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002159/0.5509, allocations: 0.7569 MB / 0.5612 GB, free: 10.33 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002904/0.5512, allocations: 276 kB / 0.5615 GB, free: 10.06 MB / 426.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.004203/0.5554, allocations: 3.427 MB / 0.5648 GB, free: 6.617 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003814/0.5558, allocations: 357.7 kB / 0.5651 GB, free: 6.266 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006975/0.5627, allocations: 6.875 MB / 0.5719 GB, free: 15.36 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00548/0.5682, allocations: 5.702 MB / 0.5774 GB, free: 9.645 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.743e-05/0.5682, allocations: 12 kB / 0.5774 GB, free: 9.633 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.594e-05/0.5683, allocations: 23.86 kB / 0.5775 GB, free: 9.609 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0156/0.5839, allocations: 13.42 MB / 0.5906 GB, free: 12.05 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.866e-05/0.5839, allocations: 12 kB / 0.5906 GB, free: 12.04 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001599/0.5855, allocations: 0.784 MB / 0.5913 GB, free: 11.26 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001966/0.5875, allocations: 1.063 MB / 0.5924 GB, free: 10.19 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002388/0.5877, allocations: 108 kB / 0.5925 GB, free: 10.08 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009029/0.5967, allocations: 10.14 MB / 0.6024 GB, free: 15.75 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.378e-06/0.5967, allocations: 15.94 kB / 0.6024 GB, free: 15.74 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0101/0.6068, allocations: 10.66 MB / 0.6128 GB, free: 4.848 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001813/0.6086, allocations: 0.9531 MB / 0.6137 GB, free: 3.891 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003173/0.609, allocations: 95.98 kB / 0.6138 GB, free: 3.797 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001158/0.6101, allocations: 271.7 kB / 0.6141 GB, free: 3.531 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005138/0.6106, allocations: 363 kB / 0.6144 GB, free: 3.176 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00019/0.6108, allocations: 144 kB / 0.6146 GB, free: 3.035 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.002406/0.6132, allocations: 2.089 MB / 0.6166 GB, free: 0.9414 MB / 474.8 MB Notification: Performance of sort global known variables: time 6e-08/0.6132, allocations: 0 / 0.6166 GB, free: 0.9414 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.1894/0.8026, allocations: 2.249 MB / 0.6188 GB, free: 152.8 MB / 474.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.001295/0.8039, allocations: 302.3 kB / 0.6191 GB, free: 152.7 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.007685/0.8116, allocations: 7.149 MB / 0.6261 GB, free: 152.1 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.326e-05/0.8116, allocations: 5.969 kB / 0.6261 GB, free: 152.1 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003297/0.8149, allocations: 3.392 MB / 0.6294 GB, free: 150.8 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002438/0.8173, allocations: 0.7906 MB / 0.6302 GB, free: 150.5 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0163/0.8336, allocations: 15.99 MB / 0.6458 GB, free: 142.3 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003079/0.8367, allocations: 5.293 MB / 0.651 GB, free: 138.3 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007801/0.8375, allocations: 363.1 kB / 0.6513 GB, free: 138 MB / 474.8 MB Notification: Performance of SimCode: time 1.613e-06/0.8375, allocations: 4 kB / 0.6513 GB, free: 138 MB / 474.8 MB Notification: Performance of Templates: time 0.2628/1.1, allocations: 197.9 MB / 0.8445 GB, free: 136.8 MB / 490.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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.2895623492077]