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.001116/0.001116, allocations: 78.19 kB / 21.42 MB, free: 3.078 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.004581/0.004581, allocations: 152.5 kB / 24.81 MB, free: 9.27 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.035/1.035, allocations: 173.3 MB / 201.4 MB, free: 9.219 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.323e-06/1.323e-06, allocations: 0 / 268.4 MB, free: 6.195 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.984e-05/2.116e-05, allocations: 6.25 kB / 268.4 MB, free: 6.188 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.01606/0.01608, allocations: 15.48 MB / 283.9 MB, free: 6.629 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.008039/0.02412, allocations: 4.583 MB / 288.5 MB, free: 2.031 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002727/0.02684, allocations: 159.2 kB / 288.6 MB, free: 1.875 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1247/0.1515, allocations: 7.443 MB / 296.1 MB, free: 14.44 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007074/0.1586, allocations: 2.054 MB / 298.1 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002873/0.1615, allocations: 1.492 MB / 299.6 MB, free: 14.13 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.008659/0.1701, allocations: 9.839 MB / 309.5 MB, free: 10.12 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01603/0.1862, allocations: 13.51 MB / 323 MB, free: 116 kB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01163/0.1978, allocations: 7.807 MB / 330.8 MB, free: 8.566 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008536/0.2063, allocations: 5.962 MB / 336.7 MB, free: 2.957 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003697/0.21, allocations: 1.359 MB / 338.1 MB, free: 1.598 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005414/0.2154, allocations: 1.647 MB / 339.7 MB, free: 15.97 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003218/0.2187, allocations: 2.897 MB / 342.6 MB, free: 13.25 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006841/0.2255, allocations: 3.645 MB / 346.3 MB, free: 9.789 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01122/0.2367, allocations: 9.404 MB / 355.7 MB, free: 0.8945 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.2367, allocations: 0 / 355.7 MB, free: 0.8945 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.2367, allocations: 0 / 355.7 MB, free: 0.8945 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0004585/0.2372, allocations: 7.938 kB / 355.7 MB, free: 0.8867 MB / 298.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.0211/0.2583, allocations: 11.95 MB / 367.7 MB, free: 5.387 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.2583, allocations: 8.922 kB / 367.7 MB, free: 5.379 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01758/0.2759, allocations: 5.84 MB / 373.5 MB, free: 15.62 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008991/0.2849, allocations: 5.043 MB / 378.5 MB, free: 10.77 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004815/0.2854, allocations: 0.6657 MB / 379.2 MB, free: 10.11 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002407/0.2878, allocations: 0.8864 MB / 380.1 MB, free: 9.238 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01791/0.3057, allocations: 7.389 MB / 387.5 MB, free: 2.094 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002071/0.3059, allocations: 15.92 kB / 387.5 MB, free: 2.078 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001369/0.3073, allocations: 372 kB / 387.9 MB, free: 1.715 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003822/0.3077, allocations: 499.3 kB / 388.4 MB, free: 1.223 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009173/0.3168, allocations: 3.377 MB / 391.7 MB, free: 13.8 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04844/0.3653, allocations: 34.61 MB / 426.3 MB, free: 10.66 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004637/0.3699, allocations: 3.541 MB / 429.9 MB, free: 7.305 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001395/0.3713, allocations: 1.162 MB / 431 MB, free: 6.137 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002389/0.3715, allocations: 143.8 kB / 431.2 MB, free: 5.996 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.481e-05/0.3716, allocations: 81.39 kB / 431.3 MB, free: 5.906 MB / 378.7 MB Notification: Performance of pre-optimization done (n=409): time 5.931e-06/0.3716, allocations: 0 / 431.3 MB, free: 5.906 MB / 378.7 MB Notification: Performance of matching and sorting (n=409): time 0.00867/0.3803, allocations: 4.809 MB / 436.1 MB, free: 1.125 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.186e-05/0.3803, allocations: 124.8 kB / 436.2 MB, free: 0.9883 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2628/0.6431, allocations: 3.029 MB / 439.2 MB, free: 93.63 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0008914/0.644, allocations: 88.39 kB / 439.3 MB, free: 93.6 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002929/0.6469, allocations: 4.092 MB / 443.4 MB, free: 92.28 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.00194/0.6488, allocations: 1.513 MB / 444.9 MB, free: 91.51 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001546/0.6504, allocations: 1.294 MB / 446.2 MB, free: 91.4 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 5.808e-05/0.6504, allocations: 477.8 kB / 446.7 MB, free: 90.93 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001055/0.6515, allocations: 0.6869 MB / 447.4 MB, free: 90.92 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002232/0.6537, allocations: 3.815 MB / 451.2 MB, free: 87.29 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004179/0.6579, allocations: 5.062 MB / 456.2 MB, free: 83.65 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.503e-05/0.658, allocations: 16.88 kB / 456.3 MB, free: 83.65 MB / 378.8 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.00734/0.6653, allocations: 4.778 MB / 461 MB, free: 83.22 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.462e-05/0.6654, allocations: 38.41 kB / 461.1 MB, free: 83.22 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.674e-05/0.6654, allocations: 70.14 kB / 461.1 MB, free: 83.22 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002019/0.6675, allocations: 1.017 MB / 462.2 MB, free: 83.16 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002337/0.6698, allocations: 1.162 MB / 463.3 MB, free: 83.16 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006102/0.6759, allocations: 7.592 MB / 470.9 MB, free: 79.05 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003517/0.6794, allocations: 0.6019 MB / 471.5 MB, free: 78.81 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000626/0.68, allocations: 232.5 kB / 471.7 MB, free: 78.81 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.002112/0.6821, allocations: 0.5235 MB / 472.3 MB, free: 78.61 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006627/0.6828, allocations: 497.2 kB / 472.8 MB, free: 78.41 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004043/0.6869, allocations: 3.534 MB / 476.3 MB, free: 78.11 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002713/0.6896, allocations: 2.453 MB / 478.7 MB, free: 77.92 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.656e-05/0.6896, allocations: 11.88 kB / 478.8 MB, free: 77.92 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.459e-05/0.6896, allocations: 19.83 kB / 478.8 MB, free: 77.92 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01316/0.7028, allocations: 10.8 MB / 489.6 MB, free: 72.89 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.571e-05/0.7028, allocations: 15.94 kB / 489.6 MB, free: 72.88 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001349/0.7041, allocations: 0.6718 MB / 490.3 MB, free: 72.32 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001786/0.7059, allocations: 0.931 MB / 491.2 MB, free: 71.68 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001742/0.7061, allocations: 107.4 kB / 491.3 MB, free: 71.58 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005268/0.7114, allocations: 7.474 MB / 498.8 MB, free: 64.61 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.612e-06/0.7114, allocations: 19.56 kB / 498.8 MB, free: 64.59 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004881/0.7162, allocations: 4.979 MB / 0.492 GB, free: 59.95 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001163/0.7174, allocations: 0.7655 MB / 0.4927 GB, free: 59.18 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002576/0.7177, allocations: 99.98 kB / 0.4928 GB, free: 59.09 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008952/0.7186, allocations: 132 kB / 0.4929 GB, free: 58.96 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000396/0.719, allocations: 357.5 kB / 0.4933 GB, free: 58.62 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001459/0.7191, allocations: 116 kB / 0.4934 GB, free: 58.51 MB / 378.8 MB Notification: Performance of sorting global known variables: time 0.00108/0.7202, allocations: 1.253 MB / 0.4946 GB, free: 57.36 MB / 378.8 MB Notification: Performance of sort global known variables: time 6e-08/0.7202, allocations: 0 / 0.4946 GB, free: 57.36 MB / 378.8 MB Notification: Performance of remove unused functions: time 0.004306/0.7245, allocations: 2.258 MB / 0.4968 GB, free: 55.1 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.0004459/0.7249, allocations: 304.3 kB / 0.4971 GB, free: 54.84 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.004739/0.7297, allocations: 4.027 MB / 0.501 GB, free: 51.06 MB / 378.8 MB Notification: Performance of simCode: created event and clocks part: time 1.272e-05/0.7297, allocations: 7.359 kB / 0.501 GB, free: 51.06 MB / 378.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002679/0.7324, allocations: 2.252 MB / 0.5032 GB, free: 48.94 MB / 378.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002495/0.7349, allocations: 0.8046 MB / 0.504 GB, free: 48.17 MB / 378.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01588/0.7507, allocations: 13.32 MB / 0.517 GB, free: 34.64 MB / 378.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001826/0.7526, allocations: 2.493 MB / 0.5195 GB, free: 32.11 MB / 378.8 MB Notification: Performance of simCode: alias equations: time 0.001944/0.7545, allocations: 0.644 MB / 0.5201 GB, free: 31.46 MB / 378.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001339/0.7559, allocations: 0.8885 MB / 0.521 GB, free: 30.57 MB / 378.8 MB Notification: Performance of SimCode: time 1.824e-06/0.7559, allocations: 4 kB / 0.521 GB, free: 30.57 MB / 378.8 MB Notification: Performance of Templates: time 0.07939/0.8352, allocations: 59.6 MB / 0.5792 GB, free: 3.809 MB / 410.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=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.742871806956828]