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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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.0.0_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.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001006/0.001006, allocations: 184.9 kB / 8.139 MB, free: 2.199 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.144/1.144, allocations: 221.4 MB / 229.9 MB, free: 3.062 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009372/0.0009373, allocations: 100.9 kB / 280.8 MB, free: 1.254 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 5.711e-06/5.741e-06, allocations: 0 / 336.5 MB, free: 9.508 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1975/0.1975, allocations: 50.4 MB / 386.9 MB, free: 37.97 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1028/0.3004, allocations: 99.95 MB / 486.9 MB, free: 2.805 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002295/0.3007, allocations: 87.89 kB / 487 MB, free: 2.719 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.8497/1.15, allocations: 305.6 MB / 0.774 GB, free: 29.48 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005661/1.151, allocations: 193.8 kB / 0.7742 GB, free: 29.29 MB / 426.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.0276/1.179, allocations: 8.625 MB / 0.7826 GB, free: 20.6 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/1.179, allocations: 12.03 kB / 0.7826 GB, free: 20.59 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02339/1.202, allocations: 3.899 MB / 0.7864 GB, free: 16.68 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01479/1.217, allocations: 6.03 MB / 0.7923 GB, free: 10.61 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005267/1.217, allocations: 280 kB / 0.7926 GB, free: 10.34 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002999/1.221, allocations: 499.9 kB / 0.7931 GB, free: 9.852 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02328/1.244, allocations: 11.58 MB / 0.8044 GB, free: 14.26 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03464/1.278, allocations: 13.2 MB / 0.8173 GB, free: 0.7773 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004237/1.279, allocations: 7.906 kB / 0.8173 GB, free: 0.7695 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002723/1.282, allocations: 8 kB / 0.8173 GB, free: 0.7617 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007979/1.283, allocations: 0.7139 MB / 0.818 GB, free: 44 kB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2223/1.505, allocations: 43.69 MB / 0.8606 GB, free: 82.95 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007881/1.513, allocations: 5.159 MB / 0.8657 GB, free: 82.88 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004382/1.517, allocations: 3.198 MB / 0.8688 GB, free: 82.85 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005534/1.518, allocations: 184.8 kB / 0.869 GB, free: 82.75 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.387e-05/1.518, allocations: 83.58 kB / 0.8691 GB, free: 82.71 MB / 442.7 MB Notification: Performance of pre-optimization done (n=421): time 9.137e-06/1.518, allocations: 3.75 kB / 0.8691 GB, free: 82.71 MB / 442.7 MB Notification: Performance of matching and sorting (n=421): time 0.01286/1.531, allocations: 6.509 MB / 0.8754 GB, free: 82.36 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.732e-05/1.531, allocations: 121.6 kB / 0.8755 GB, free: 82.26 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00531/1.536, allocations: 2.675 MB / 0.8781 GB, free: 82.01 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007476/1.537, allocations: 25.7 kB / 0.8782 GB, free: 81.98 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001909/1.539, allocations: 3.388 MB / 0.8815 GB, free: 80.01 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001751/1.541, allocations: 1.375 MB / 0.8828 GB, free: 79.11 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008076/1.541, allocations: 0 / 0.8828 GB, free: 79.11 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0005348/1.542, allocations: 0.5431 MB / 0.8833 GB, free: 78.79 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004422/1.546, allocations: 3.078 MB / 0.8864 GB, free: 78.78 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006062/1.552, allocations: 5.091 MB / 0.8913 GB, free: 76.35 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007842/1.56, allocations: 4.407 MB / 0.8956 GB, free: 76.29 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001056/1.56, allocations: 26.77 kB / 0.8957 GB, free: 76.29 MB / 442.7 MB Notification: Performance of matching and sorting (n=754) (initialization): time 0.01953/1.58, allocations: 9.319 MB / 0.9048 GB, free: 74.29 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/1.58, allocations: 5.312 kB / 0.9048 GB, free: 74.29 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001851/1.58, allocations: 69.62 kB / 0.9048 GB, free: 74.29 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00351/1.584, allocations: 1.12 MB / 0.9059 GB, free: 74.08 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006205/1.59, allocations: 1.269 MB / 0.9072 GB, free: 74.04 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01281/1.603, allocations: 9.068 MB / 0.916 GB, free: 68.99 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005171/1.608, allocations: 0.5981 MB / 0.9166 GB, free: 68.67 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001514/1.61, allocations: 281.4 kB / 0.9169 GB, free: 68.62 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 302 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (680): * Single equations (assignments): 670 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,100.0%) 24,(5,80.0%) 33} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002136/1.612, allocations: 285.3 kB / 0.9171 GB, free: 68.45 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001377/1.613, allocations: 344.2 kB / 0.9175 GB, free: 68.27 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01589/1.629, allocations: 7.636 MB / 0.9249 GB, free: 65.73 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01074/1.64, allocations: 6.249 MB / 0.931 GB, free: 63.73 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.75e-05/1.64, allocations: 10.34 kB / 0.931 GB, free: 63.73 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.905e-05/1.64, allocations: 25.69 kB / 0.9311 GB, free: 63.73 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02597/1.666, allocations: 14.92 MB / 0.9456 GB, free: 52.35 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-05/1.666, allocations: 15.91 kB / 0.9456 GB, free: 52.34 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003426/1.669, allocations: 0.7769 MB / 0.9464 GB, free: 51.72 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002965/1.672, allocations: 1.026 MB / 0.9474 GB, free: 50.96 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006366/1.673, allocations: 47.64 kB / 0.9475 GB, free: 50.92 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01043/1.683, allocations: 8.88 MB / 0.9561 GB, free: 42.92 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.659e-05/1.684, allocations: 19.59 kB / 0.9561 GB, free: 42.91 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01795/1.701, allocations: 12.98 MB / 0.9688 GB, free: 30.85 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003022/1.705, allocations: 1.062 MB / 0.9699 GB, free: 29.88 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00208/1.707, allocations: 23.62 kB / 0.9699 GB, free: 29.86 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00407/1.711, allocations: 180.3 kB / 0.97 GB, free: 29.74 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008692/1.712, allocations: 276.4 kB / 0.9703 GB, free: 29.57 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000739/1.712, allocations: 147.6 kB / 0.9705 GB, free: 29.43 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.003974/1.716, allocations: 1.954 MB / 0.9724 GB, free: 27.74 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.008641/1.725, allocations: 2.051 MB / 0.9744 GB, free: 25.69 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 58 * Number of states: 2 (converter_m.port_p.reference.gamma,loss_e.conductor[1].pin_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (421): * Single equations (assignments): 411 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,100.0%) 24,(5,80.0%) 33} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001059/1.726, allocations: 252.7 kB / 0.9746 GB, free: 25.5 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01233/1.739, allocations: 7.667 MB / 0.9821 GB, free: 18.76 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.579e-05/1.739, allocations: 4.875 kB / 0.9821 GB, free: 18.76 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006882/1.745, allocations: 3.709 MB / 0.9857 GB, free: 15.44 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004475/1.75, allocations: 0.5805 MB / 0.9863 GB, free: 14.99 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03431/1.784, allocations: 13.97 MB / 0.9999 GB, free: 2.402 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.1818/1.966, allocations: 6.397 MB / 1.006 GB, free: 77.03 MB / 442.7 MB Notification: Performance of SimCode: time 1.453e-06/1.966, allocations: 5.719 kB / 1.006 GB, free: 77.03 MB / 442.7 MB Notification: Performance of Templates: time 0.1079/2.074, allocations: 70.68 MB / 1.075 GB, free: 73.88 MB / 442.7 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile (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) 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","../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.EddyCurrentLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches