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.001454/0.001454, allocations: 79.91 kB / 21.18 MB, free: 3.391 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.001607/0.001607, allocations: 145.1 kB / 24.54 MB, free: 32 kB / 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.964/0.964, allocations: 173.3 MB / 201.1 MB, free: 9.367 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.623e-06/1.623e-06, allocations: 0 / 268 MB, free: 6.457 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.938e-05/3.1e-05, allocations: 9.906 kB / 268 MB, free: 6.449 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.0154/0.01543, allocations: 16.11 MB / 284.1 MB, free: 6.254 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01169/0.02713, allocations: 4.599 MB / 288.7 MB, free: 1.641 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002707/0.02984, allocations: 163.2 kB / 288.9 MB, free: 1.48 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.1386/0.1684, allocations: 7.683 MB / 296.6 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00519/0.1736, allocations: 2.067 MB / 298.6 MB, free: 13.99 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002234/0.1759, allocations: 1.51 MB / 300.1 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.007628/0.1835, allocations: 9.825 MB / 310 MB, free: 9.848 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01349/0.197, allocations: 13.51 MB / 323.5 MB, free: 15.98 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009114/0.2061, allocations: 7.816 MB / 331.3 MB, free: 8.426 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007/0.2131, allocations: 5.947 MB / 337.2 MB, free: 2.824 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003001/0.2161, allocations: 1.363 MB / 338.6 MB, free: 1.461 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003225/0.2193, allocations: 1.645 MB / 340.2 MB, free: 15.83 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001792/0.2211, allocations: 2.903 MB / 343.1 MB, free: 13.11 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005179/0.2263, allocations: 3.648 MB / 346.8 MB, free: 9.645 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01019/0.2365, allocations: 9.399 MB / 356.2 MB, free: 0.7578 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.2365, allocations: 7.938 kB / 356.2 MB, free: 0.75 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.2365, allocations: 0 / 356.2 MB, free: 0.75 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0004026/0.2369, allocations: 0 / 356.2 MB, free: 0.75 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.02021/0.2571, allocations: 13.07 MB / 369.3 MB, free: 3.68 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.2571, allocations: 8.922 kB / 369.3 MB, free: 3.672 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01859/0.2757, allocations: 7.721 MB / 377 MB, free: 12.03 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008438/0.2842, allocations: 5.482 MB / 382.5 MB, free: 6.746 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003688/0.2845, allocations: 0.6663 MB / 383.2 MB, free: 6.086 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001234/0.2858, allocations: 0.8816 MB / 384 MB, free: 5.215 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01295/0.2987, allocations: 8.037 MB / 392.1 MB, free: 13.1 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001477/0.2989, allocations: 11.94 kB / 392.1 MB, free: 13.09 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006267/0.2995, allocations: 378.2 kB / 392.5 MB, free: 12.73 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000348/0.2998, allocations: 0.4915 MB / 392.9 MB, free: 12.23 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009126/0.309, allocations: 4.329 MB / 397.3 MB, free: 7.875 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04214/0.3511, allocations: 35.35 MB / 432.6 MB, free: 4.328 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005036/0.3561, allocations: 4.125 MB / 436.8 MB, free: 400 kB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.2361/0.5922, allocations: 1.346 MB / 438.1 MB, free: 92.46 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003128/0.5925, allocations: 109.8 kB / 438.2 MB, free: 92.46 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.043e-05/0.5926, allocations: 82.86 kB / 438.3 MB, free: 92.41 MB / 378.8 MB Notification: Performance of pre-optimization done (n=409): time 7.034e-06/0.5926, allocations: 0 / 438.3 MB, free: 92.41 MB / 378.8 MB Notification: Performance of matching and sorting (n=409): time 0.01307/0.6056, allocations: 5.395 MB / 443.7 MB, free: 92.16 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.32e-05/0.6057, allocations: 119.6 kB / 443.8 MB, free: 92.06 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003578/0.6093, allocations: 3.081 MB / 446.9 MB, free: 91.75 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001826/0.6095, allocations: 92.95 kB / 447 MB, free: 91.71 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001702/0.6112, allocations: 4.07 MB / 451 MB, free: 90.19 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007456/0.6119, allocations: 1.5 MB / 452.5 MB, free: 89.43 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001422/0.6133, allocations: 1.274 MB / 453.8 MB, free: 89.32 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 4.056e-05/0.6134, allocations: 479.6 kB / 454.3 MB, free: 88.85 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001662/0.615, allocations: 0.8977 MB / 455.2 MB, free: 88.83 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002635/0.6177, allocations: 4.004 MB / 459.2 MB, free: 85.2 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004593/0.6223, allocations: 5.411 MB / 464.6 MB, free: 81.48 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.268e-05/0.6223, allocations: 22.64 kB / 464.6 MB, free: 81.47 MB / 378.8 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.007752/0.63, allocations: 5.289 MB / 469.9 MB, free: 81.05 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.421e-05/0.6301, allocations: 31.22 kB / 469.9 MB, free: 81.05 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.213e-05/0.6301, allocations: 66.47 kB / 470 MB, free: 81.05 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002563/0.6327, allocations: 1.077 MB / 471.1 MB, free: 80.99 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002957/0.6357, allocations: 1.299 MB / 472.4 MB, free: 80.98 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007545/0.6432, allocations: 7.933 MB / 480.3 MB, free: 76.84 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00241/0.6456, allocations: 0.75 MB / 481.1 MB, free: 76.56 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003383/0.646, allocations: 278.9 kB / 481.3 MB, free: 76.52 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.001667/0.6476, allocations: 0.5274 MB / 481.9 MB, free: 76.15 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005619/0.6482, allocations: 497.2 kB / 482.3 MB, free: 75.9 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00592/0.6541, allocations: 3.92 MB / 486.3 MB, free: 74.46 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003361/0.6575, allocations: 2.838 MB / 489.1 MB, free: 72.07 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.856e-06/0.6575, allocations: 12 kB / 489.1 MB, free: 72.05 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.179e-05/0.6575, allocations: 22.89 kB / 489.1 MB, free: 72.05 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0107/0.6682, allocations: 11.33 MB / 0.4887 GB, free: 62.11 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.936e-05/0.6682, allocations: 20.03 kB / 0.4888 GB, free: 62.09 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001651/0.6699, allocations: 0.7887 MB / 0.4895 GB, free: 61.48 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00182/0.6717, allocations: 0.9929 MB / 0.4905 GB, free: 60.58 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001573/0.6718, allocations: 108 kB / 0.4906 GB, free: 60.47 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005473/0.6773, allocations: 7.818 MB / 0.4982 GB, free: 52.46 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.773e-06/0.6773, allocations: 18.84 kB / 0.4983 GB, free: 52.45 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005689/0.683, allocations: 5.551 MB / 0.5037 GB, free: 46.65 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009574/0.684, allocations: 0.8526 MB / 0.5045 GB, free: 45.8 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002829/0.6843, allocations: 98.98 kB / 0.5046 GB, free: 45.7 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009971/0.6853, allocations: 275.7 kB / 0.5049 GB, free: 45.43 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003589/0.6856, allocations: 361.2 kB / 0.5052 GB, free: 45.09 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001589/0.6858, allocations: 144 kB / 0.5053 GB, free: 44.95 MB / 378.8 MB Notification: Performance of sorting global known variables: time 0.001238/0.687, allocations: 1.343 MB / 0.5067 GB, free: 43.61 MB / 378.8 MB Notification: Performance of sort global known variables: time 8.1e-08/0.687, allocations: 0 / 0.5067 GB, free: 43.61 MB / 378.8 MB Notification: Performance of remove unused functions: time 0.003598/0.6906, allocations: 2.262 MB / 0.5089 GB, free: 41.34 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.0003918/0.691, allocations: 301.5 kB / 0.5092 GB, free: 41.08 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.004523/0.6955, allocations: 4.438 MB / 0.5135 GB, free: 36.82 MB / 378.8 MB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.6955, allocations: 3.656 kB / 0.5135 GB, free: 36.82 MB / 378.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002248/0.6978, allocations: 2.443 MB / 0.5159 GB, free: 34.45 MB / 378.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001897/0.6997, allocations: 0.8064 MB / 0.5167 GB, free: 33.68 MB / 378.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01143/0.7111, allocations: 13.47 MB / 0.5298 GB, free: 19.91 MB / 378.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001344/0.7124, allocations: 2.497 MB / 0.5323 GB, free: 17.38 MB / 378.8 MB Notification: Performance of simCode: alias equations: time 0.002435/0.7149, allocations: 1.818 MB / 0.534 GB, free: 15.55 MB / 378.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005902/0.7155, allocations: 320.4 kB / 0.5343 GB, free: 15.24 MB / 378.8 MB Notification: Performance of SimCode: time 1.212e-06/0.7155, allocations: 0 / 0.5343 GB, free: 15.24 MB / 378.8 MB Notification: Performance of Templates: time 0.1842/0.8997, allocations: 57.51 MB / 0.5905 GB, free: 118.5 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.668789438903332]