Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=8000,variableFilter="time|converter_e.singlePhaseElectroMagneticConverter.1..Phi.re|converter_e.singlePhaseElectroMagneticConverter.2..Phi.im|loss_m.Phi.im|loss_m.Phi.re",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses") translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=8000,variableFilter="time|converter_e.singlePhaseElectroMagneticConverter.1..Phi.re|converter_e.singlePhaseElectroMagneticConverter.2..Phi.im|loss_m.Phi.im|loss_m.Phi.re",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Magnetic.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 3.2.3+maint.om/package.mo): time 0.00246/0.00246, allocations: 177 kB / 8.148 MB, free: 2.207 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.704/1.704, allocations: 205.2 MB / 213.7 MB, free: 13.87 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001813/0.001812, allocations: 91.72 kB / 261.8 MB, free: 13.63 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 9.118e-06/9.237e-06, allocations: 4 kB / 314.3 MB, free: 9.055 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2345/0.2345, allocations: 47.55 MB / 361.8 MB, free: 45.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1329/0.3674, allocations: 86.99 MB / 448.8 MB, free: 15.07 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003119/0.3678, allocations: 82 kB / 448.9 MB, free: 14.99 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.1994/0.5672, allocations: 53.01 MB / 0.4901 GB, free: 9.531 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002/0.5675, allocations: 67.88 kB / 0.4902 GB, free: 9.465 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 689 * Number of variables: 689 Notification: Performance of Generate backend data structure: time 0.01089/0.5784, allocations: 2.745 MB / 0.4929 GB, free: 6.66 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/0.5785, allocations: 8.031 kB / 0.4929 GB, free: 6.652 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007555/0.586, allocations: 0.5975 MB / 0.4935 GB, free: 6.051 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008782/0.5949, allocations: 1.838 MB / 0.4953 GB, free: 4.152 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001293/0.595, allocations: 88 kB / 0.4954 GB, free: 4.066 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006054/0.5956, allocations: 160 kB / 0.4955 GB, free: 3.91 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008433/0.6041, allocations: 2.701 MB / 0.4982 GB, free: 1.199 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1363/0.7404, allocations: 3.13 MB / 0.5012 GB, free: 132.2 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.385e-05/0.7406, allocations: 0 / 0.5012 GB, free: 132.2 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003542/0.7409, allocations: 0.625 kB / 0.5012 GB, free: 132.2 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001092/0.741, allocations: 106.5 kB / 0.5013 GB, free: 132.2 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02619/0.7672, allocations: 10.1 MB / 0.5112 GB, free: 130 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001971/0.7693, allocations: 0.8177 MB / 0.512 GB, free: 130 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002101/0.7714, allocations: 0.9111 MB / 0.5129 GB, free: 130 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006401/0.7778, allocations: 2.556 MB / 0.5154 GB, free: 129.2 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.726e-05/0.7779, allocations: 45.66 kB / 0.5154 GB, free: 129.2 MB / 394.7 MB Notification: Performance of pre-optimization done (n=117): time 5.24e-06/0.778, allocations: 0 / 0.5154 GB, free: 129.2 MB / 394.7 MB Notification: Performance of matching and sorting (n=117): time 0.004759/0.7827, allocations: 1.596 MB / 0.517 GB, free: 129 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.471e-05/0.7828, allocations: 92.17 kB / 0.517 GB, free: 128.9 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002519/0.7854, allocations: 1.14 MB / 0.5182 GB, free: 128.8 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003032/0.7857, allocations: 29.58 kB / 0.5182 GB, free: 128.8 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005005/0.7862, allocations: 0.9268 MB / 0.5191 GB, free: 128.3 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004974/0.7867, allocations: 384.6 kB / 0.5195 GB, free: 128.1 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001176/0.7869, allocations: 3.906 kB / 0.5195 GB, free: 128.1 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.787, allocations: 369.8 kB / 0.5198 GB, free: 127.7 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001438/0.7884, allocations: 0.5936 MB / 0.5204 GB, free: 127.7 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001552/0.79, allocations: 0.8675 MB / 0.5212 GB, free: 127.4 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002169/0.7922, allocations: 0.7812 MB / 0.522 GB, free: 127.4 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.552e-05/0.7923, allocations: 0 / 0.522 GB, free: 127.4 MB / 394.7 MB Notification: Performance of matching and sorting (n=164) (initialization): time 0.005642/0.7979, allocations: 1.918 MB / 0.5239 GB, free: 127.3 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.833e-05/0.798, allocations: 3.844 kB / 0.5239 GB, free: 127.3 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.22e-05/0.7981, allocations: 7.562 kB / 0.5239 GB, free: 127.3 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001464/0.7995, allocations: 399.8 kB / 0.5243 GB, free: 127.3 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002119/0.8017, allocations: 248.2 kB / 0.5245 GB, free: 127.3 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01038/0.8121, allocations: 5.668 MB / 0.53 GB, free: 124.6 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00141/0.8136, allocations: 106.1 kB / 0.5301 GB, free: 124.6 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001802/0.8138, allocations: 50.19 kB / 0.5302 GB, free: 124.6 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 120 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(2,100.0%) 19,(3,77.8%) 20} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000316/0.8141, allocations: 59.02 kB / 0.5303 GB, free: 124.6 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004739/0.8146, allocations: 140.5 kB / 0.5304 GB, free: 124.5 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005247/0.8199, allocations: 1.725 MB / 0.5321 GB, free: 124.4 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2e-05/0.8199, allocations: 9.969 kB / 0.5321 GB, free: 124.4 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.59e-05/0.82, allocations: 7.969 kB / 0.5321 GB, free: 124.4 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.053e-05/0.82, allocations: 6.141 kB / 0.5321 GB, free: 124.4 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01058/0.8306, allocations: 3.939 MB / 0.5359 GB, free: 122.8 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.528e-05/0.8306, allocations: 3.719 kB / 0.5359 GB, free: 122.8 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001452/0.8321, allocations: 157.6 kB / 0.5361 GB, free: 122.8 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00163/0.8338, allocations: 400.1 kB / 0.5365 GB, free: 122.7 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002262/0.834, allocations: 24.92 kB / 0.5365 GB, free: 122.7 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01008/0.8441, allocations: 5.655 MB / 0.542 GB, free: 118.9 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.975e-06/0.8442, allocations: 3.906 kB / 0.542 GB, free: 118.9 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006325/0.8505, allocations: 2.678 MB / 0.5446 GB, free: 117.7 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006296/0.8512, allocations: 252 kB / 0.5449 GB, free: 117.5 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004214/0.8516, allocations: 18.25 kB / 0.5449 GB, free: 117.5 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001708/0.8533, allocations: 82.25 kB / 0.545 GB, free: 117.5 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002575/0.8536, allocations: 70.66 kB / 0.545 GB, free: 117.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001231/0.8538, allocations: 38.83 kB / 0.5451 GB, free: 117.5 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.001699/0.8555, allocations: 0.8643 MB / 0.5459 GB, free: 117.1 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002834/0.8583, allocations: 0.624 MB / 0.5465 GB, free: 117 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (converter_e.singlePhaseElectroMagneticConverter[3].Phi.re,converter_e.singlePhaseElectroMagneticConverter[3].Phi.im,converter_m.singlePhaseElectroMagneticConverter[3].Phi.re,converter_m.singlePhaseElectroMagneticConverter[3].Phi.im) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (77): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(2,100.0%) 21,(2,100.0%) 19} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005121/0.8589, allocations: 153.4 kB / 0.5467 GB, free: 116.9 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00427/0.8632, allocations: 1.732 MB / 0.5484 GB, free: 116.2 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.174e-05/0.8632, allocations: 3.594 kB / 0.5484 GB, free: 116.2 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00283/0.8661, allocations: 1.056 MB / 0.5494 GB, free: 115.7 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00248/0.8686, allocations: 231.8 kB / 0.5496 GB, free: 115.7 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01242/0.8811, allocations: 3.737 MB / 0.5533 GB, free: 114.2 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004275/0.8854, allocations: 2.269 MB / 0.5555 GB, free: 113.2 MB / 394.7 MB Notification: Performance of SimCode: time 2.004e-06/0.8855, allocations: 1.469 kB / 0.5555 GB, free: 113.2 MB / 394.7 MB Notification: Performance of Templates: time 0.08385/0.9693, allocations: 50.06 MB / 0.6044 GB, free: 72.31 MB / 394.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches