Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=8000,variableFilter="time|lossPower_e|lossPower_m",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=8000,variableFilter="time|lossPower_e|lossPower_m",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001641/0.001641, allocations: 103.9 kB / 17.63 MB, free: 5.516 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001795/0.001795, allocations: 206.4 kB / 18.58 MB, free: 4.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.424/1.424, allocations: 227.7 MB / 247 MB, free: 10.33 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002743/0.002743, allocations: 60.42 kB / 307.2 MB, free: 500 kB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.114, allocations: 50.55 MB / 357.8 MB, free: 13.92 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses): time 0.1695/0.2835, allocations: 16.59 MB / 374.4 MB, free: 9.059 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0103/0.2939, allocations: 4.714 MB / 379.1 MB, free: 8.691 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003621/0.2975, allocations: 134.3 kB / 379.2 MB, free: 8.691 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01398/0.3116, allocations: 7.161 MB / 386.4 MB, free: 6.523 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006465/0.318, allocations: 1.951 MB / 388.3 MB, free: 5.48 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003771/0.3218, allocations: 1.539 MB / 389.9 MB, free: 4.555 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01033/0.3322, allocations: 9.443 MB / 399.3 MB, free: 15.54 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03077/0.363, allocations: 20.92 MB / 420.2 MB, free: 13.36 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007876/0.3709, allocations: 5.226 MB / 425.5 MB, free: 8.125 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009812/0.3807, allocations: 5.946 MB / 431.4 MB, free: 2.16 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003583/0.3843, allocations: 1.359 MB / 432.8 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005864/0.3902, allocations: 1.656 MB / 434.4 MB, free: 15.14 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003896/0.3941, allocations: 2.806 MB / 437.2 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008415/0.4026, allocations: 5.354 MB / 442.6 MB, free: 6.957 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02089/0.4235, allocations: 18.26 MB / 460.9 MB, free: 4.645 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/0.4235, allocations: 3.938 kB / 460.9 MB, free: 4.641 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.4235, allocations: 4 kB / 460.9 MB, free: 4.637 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0004852/0.424, allocations: 0 / 460.9 MB, free: 4.637 MB / 366.1 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.03829/0.4623, allocations: 12.17 MB / 473 MB, free: 8.379 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/0.4624, allocations: 12.03 kB / 473 MB, free: 8.367 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03625/0.4987, allocations: 6.108 MB / 479.2 MB, free: 2.242 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01256/0.5112, allocations: 5.655 MB / 484.8 MB, free: 12.52 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000816/0.5121, allocations: 0.6704 MB / 485.5 MB, free: 11.85 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003633/0.5157, allocations: 0.8865 MB / 486.4 MB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03658/0.5523, allocations: 14.74 MB / 0.4894 GB, free: 12.17 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003455/0.5527, allocations: 19.83 kB / 0.4894 GB, free: 12.15 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002465/0.5552, allocations: 372 kB / 0.4897 GB, free: 11.79 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005277/0.5557, allocations: 499.3 kB / 0.4902 GB, free: 11.3 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02715/0.5829, allocations: 13.56 MB / 0.5035 GB, free: 13.71 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3816/0.9645, allocations: 45.11 MB / 0.5475 GB, free: 113.1 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01056/0.9751, allocations: 11.65 MB / 0.5589 GB, free: 106.4 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003818/0.9789, allocations: 3.159 MB / 0.562 GB, free: 105.5 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003303/0.9793, allocations: 295.7 kB / 0.5623 GB, free: 105.3 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.307e-05/0.9793, allocations: 86.28 kB / 0.5623 GB, free: 105.2 MB / 446.1 MB Notification: Performance of pre-optimization done (n=409): time 6.302e-06/0.9794, allocations: 0 / 0.5623 GB, free: 105.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=409): time 0.01822/0.9976, allocations: 9.604 MB / 0.5717 GB, free: 102 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.227e-05/0.9977, allocations: 120.7 kB / 0.5718 GB, free: 101.9 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003817/1.002, allocations: 3.157 MB / 0.5749 GB, free: 100.8 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002128/1.002, allocations: 88.8 kB / 0.575 GB, free: 100.7 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001593/1.003, allocations: 3.695 MB / 0.5786 GB, free: 97.79 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008308/1.004, allocations: 1.397 MB / 0.58 GB, free: 96.59 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001313/1.005, allocations: 1.136 MB / 0.5811 GB, free: 95.95 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.102e-05/1.006, allocations: 305.1 kB / 0.5814 GB, free: 95.65 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003164/1.009, allocations: 2.846 MB / 0.5841 GB, free: 94.16 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004046/1.013, allocations: 4.902 MB / 0.5889 GB, free: 89.92 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008642/1.021, allocations: 8.276 MB / 0.597 GB, free: 83.8 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.191e-05/1.021, allocations: 19.78 kB / 0.597 GB, free: 83.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=743) (initialization): time 0.01241/1.034, allocations: 9.131 MB / 0.606 GB, free: 75.9 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.577e-05/1.034, allocations: 32 kB / 0.606 GB, free: 75.87 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.772e-05/1.034, allocations: 74.22 kB / 0.6061 GB, free: 75.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002916/1.037, allocations: 1.165 MB / 0.6072 GB, free: 74.63 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004334/1.041, allocations: 1.295 MB / 0.6085 GB, free: 73.33 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01175/1.053, allocations: 10.81 MB / 0.619 GB, free: 62.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004183/1.057, allocations: 0.7317 MB / 0.6197 GB, free: 61.51 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007404/1.058, allocations: 284.2 kB / 0.62 GB, free: 61.23 MB / 446.1 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.005092/1.063, allocations: 3.431 MB / 0.6233 GB, free: 57.79 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008005/1.064, allocations: 343.7 kB / 0.6237 GB, free: 57.45 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009919/1.074, allocations: 6.925 MB / 0.6304 GB, free: 50.5 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007269/1.081, allocations: 5.761 MB / 0.6361 GB, free: 44.72 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.826e-05/1.081, allocations: 12 kB / 0.6361 GB, free: 44.71 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.575e-05/1.081, allocations: 23.91 kB / 0.6361 GB, free: 44.69 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02225/1.104, allocations: 15.38 MB / 0.6511 GB, free: 29.16 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.895e-05/1.104, allocations: 12 kB / 0.6511 GB, free: 29.15 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002658/1.106, allocations: 0.7957 MB / 0.6519 GB, free: 28.36 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002693/1.109, allocations: 1.067 MB / 0.6529 GB, free: 27.28 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00024/1.109, allocations: 112 kB / 0.653 GB, free: 27.17 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01115/1.12, allocations: 10.58 MB / 0.6634 GB, free: 16.32 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-05/1.12, allocations: 24.12 kB / 0.6634 GB, free: 16.3 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01273/1.133, allocations: 10.72 MB / 0.6739 GB, free: 5.352 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001762/1.135, allocations: 0.9912 MB / 0.6748 GB, free: 4.336 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004722/1.135, allocations: 103.9 kB / 0.6749 GB, free: 4.234 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002017/1.137, allocations: 267.8 kB / 0.6752 GB, free: 3.973 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005998/1.138, allocations: 351.1 kB / 0.6755 GB, free: 3.629 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002241/1.138, allocations: 152 kB / 0.6757 GB, free: 3.48 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002379/1.141, allocations: 2.121 MB / 0.6777 GB, free: 1.355 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.2e-07/1.141, allocations: 3.938 kB / 0.6777 GB, free: 1.352 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.006147/1.147, allocations: 2.231 MB / 0.6799 GB, free: 15.11 MB / 462.1 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.0007701/1.148, allocations: 281 kB / 0.6802 GB, free: 14.83 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.02311/1.171, allocations: 11.3 MB / 0.6912 GB, free: 3.562 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.852e-05/1.171, allocations: 7.75 kB / 0.6912 GB, free: 3.559 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007428/1.178, allocations: 3.662 MB / 0.6948 GB, free: 15.88 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004428/1.183, allocations: 0.8031 MB / 0.6956 GB, free: 15.09 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2158/1.399, allocations: 16.03 MB / 0.7113 GB, free: 145.4 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00938/1.408, allocations: 5.93 MB / 0.717 GB, free: 144.5 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.005841/1.414, allocations: 2.156 MB / 0.7191 GB, free: 144.4 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001011/1.415, allocations: 342.8 kB / 0.7195 GB, free: 144.4 MB / 478.1 MB Notification: Performance of SimCode: time 1.162e-06/1.415, allocations: 2.875 kB / 0.7195 GB, free: 144.4 MB / 478.1 MB Notification: Performance of Templates: time 0.09434/1.509, allocations: 59.17 MB / 0.7773 GB, free: 109.6 MB / 478.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches