Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001414/0.001414, allocations: 193.4 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.335/1.335, allocations: 225.6 MB / 234.8 MB, free: 3.258 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008435/0.0008435, allocations: 97.75 kB / 286.7 MB, free: 5.273 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.939e-05/1.951e-05, allocations: 4 kB / 343.7 MB, free: 8.258 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.1096, allocations: 51.47 MB / 395.2 MB, free: 4.746 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3438/0.4534, allocations: 89.77 MB / 484.9 MB, free: 3.574 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000229/0.4537, allocations: 82.47 kB / 485 MB, free: 3.535 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1317/0.5854, allocations: 56 MB / 0.5283 GB, free: 240 kB / 394.7 MB Notification: Performance of FrontEnd: time 2.195e-06/0.5855, allocations: 0 / 0.5283 GB, free: 240 kB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002461/0.5857, allocations: 63.94 kB / 0.5284 GB, free: 176 kB / 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.008932/0.5947, allocations: 2.773 MB / 0.5311 GB, free: 13.34 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/0.5948, allocations: 8.031 kB / 0.5311 GB, free: 13.33 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004204/0.599, allocations: 0.6569 MB / 0.5318 GB, free: 12.67 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00493/0.6039, allocations: 1.826 MB / 0.5335 GB, free: 10.79 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001411/0.6041, allocations: 84 kB / 0.5336 GB, free: 10.7 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008875/0.605, allocations: 152 kB / 0.5338 GB, free: 10.55 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006096/0.6111, allocations: 2.631 MB / 0.5363 GB, free: 7.918 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007365/0.6185, allocations: 3.071 MB / 0.5393 GB, free: 4.723 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.806e-05/0.6186, allocations: 0 / 0.5393 GB, free: 4.723 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004044/0.619, allocations: 0 / 0.5393 GB, free: 4.723 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001122/0.6191, allocations: 109.3 kB / 0.5394 GB, free: 4.613 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01556/0.6347, allocations: 10.01 MB / 0.5492 GB, free: 10.29 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004591/0.6393, allocations: 4.567 MB / 0.5537 GB, free: 5.062 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001144/0.6405, allocations: 0.8352 MB / 0.5545 GB, free: 4.23 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004283/0.6448, allocations: 2.655 MB / 0.5571 GB, free: 1.434 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.15e-05/0.6448, allocations: 47.42 kB / 0.5571 GB, free: 1.375 MB / 426.7 MB Notification: Performance of pre-optimization done (n=102): time 2.776e-06/0.6449, allocations: 0 / 0.5571 GB, free: 1.375 MB / 426.7 MB Notification: Performance of matching and sorting (n=102): time 0.003305/0.6482, allocations: 1.599 MB / 0.5587 GB, free: 15.76 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.204e-05/0.6482, allocations: 89.98 kB / 0.5588 GB, free: 15.65 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001535/0.6498, allocations: 1.11 MB / 0.5599 GB, free: 14.53 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.505e-05/0.6498, allocations: 25.7 kB / 0.5599 GB, free: 14.5 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000817/0.6507, allocations: 1.171 MB / 0.561 GB, free: 13.31 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002981/0.651, allocations: 339 kB / 0.5613 GB, free: 12.98 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.67e-05/0.651, allocations: 0 / 0.5613 GB, free: 12.98 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001768/0.6512, allocations: 357.9 kB / 0.5617 GB, free: 12.62 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000773/0.652, allocations: 0.5101 MB / 0.5622 GB, free: 12.11 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009351/0.6529, allocations: 0.7793 MB / 0.5629 GB, free: 11.22 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001896/0.6549, allocations: 0.8628 MB / 0.5638 GB, free: 10.36 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.712e-06/0.6549, allocations: 4 kB / 0.5638 GB, free: 10.36 MB / 442.7 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.00409/0.659, allocations: 1.972 MB / 0.5657 GB, free: 8.367 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.037e-05/0.659, allocations: 13.77 kB / 0.5657 GB, free: 8.355 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.132e-05/0.6591, allocations: 12 kB / 0.5657 GB, free: 8.344 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001098/0.6602, allocations: 399.4 kB / 0.5661 GB, free: 7.953 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008549/0.661, allocations: 219.7 kB / 0.5663 GB, free: 7.738 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007151/0.6682, allocations: 5.849 MB / 0.572 GB, free: 1.66 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001209/0.6694, allocations: 119 kB / 0.5722 GB, free: 1.543 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.131e-05/0.6695, allocations: 44 kB / 0.5722 GB, free: 1.5 MB / 442.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 (107): * Single equations (assignments): 105 * 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,(2,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002602/0.6698, allocations: 133.5 kB / 0.5723 GB, free: 1.363 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002404/0.6701, allocations: 134.3 kB / 0.5725 GB, free: 1.23 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2566/0.9267, allocations: 1.712 MB / 0.5741 GB, free: 89.91 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.72e-05/0.9268, allocations: 12.28 kB / 0.5741 GB, free: 89.91 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.117e-05/0.9269, allocations: 6.688 kB / 0.5741 GB, free: 89.91 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.057e-05/0.9269, allocations: 9.062 kB / 0.5742 GB, free: 89.91 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007047/0.934, allocations: 3.667 MB / 0.5777 GB, free: 89.49 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.143e-06/0.934, allocations: 2.219 kB / 0.5777 GB, free: 89.49 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005432/0.9345, allocations: 136.2 kB / 0.5779 GB, free: 89.49 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008164/0.9354, allocations: 388.1 kB / 0.5782 GB, free: 89.47 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.93e-05/0.9355, allocations: 24.41 kB / 0.5783 GB, free: 89.47 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005518/0.941, allocations: 5.838 MB / 0.584 GB, free: 86.93 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/0.941, allocations: 0 / 0.584 GB, free: 86.93 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00364/0.9447, allocations: 2.633 MB / 0.5865 GB, free: 86.44 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003237/0.945, allocations: 237.9 kB / 0.5868 GB, free: 86.28 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000159/0.9452, allocations: 17.91 kB / 0.5868 GB, free: 86.28 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007283/0.9459, allocations: 82.78 kB / 0.5869 GB, free: 86.28 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001798/0.9461, allocations: 100.1 kB / 0.587 GB, free: 86.27 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.174e-05/0.9462, allocations: 33.89 kB / 0.587 GB, free: 86.27 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001026/0.9472, allocations: 0.8437 MB / 0.5878 GB, free: 86.16 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.9472, allocations: 0 / 0.5878 GB, free: 86.16 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001891/0.9491, allocations: 0.6439 MB / 0.5884 GB, free: 86.08 MB / 442.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 (62): * Single equations (assignments): 60 * 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.0002882/0.9494, allocations: 164.6 kB / 0.5886 GB, free: 85.99 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002036/0.9514, allocations: 1.623 MB / 0.5902 GB, free: 85.73 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.362e-06/0.9514, allocations: 6.906 kB / 0.5902 GB, free: 85.73 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001237/0.9527, allocations: 1.032 MB / 0.5912 GB, free: 85.48 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001101/0.9538, allocations: 244.3 kB / 0.5914 GB, free: 85.47 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005145/0.959, allocations: 3.642 MB / 0.595 GB, free: 84.6 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001411/0.9604, allocations: 2.226 MB / 0.5972 GB, free: 83.85 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0009172/0.9613, allocations: 333.2 kB / 0.5975 GB, free: 83.82 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000201/0.9615, allocations: 86.45 kB / 0.5976 GB, free: 83.81 MB / 442.7 MB Notification: Performance of SimCode: time 4.01e-07/0.9615, allocations: 0 / 0.5976 GB, free: 83.81 MB / 442.7 MB Notification: Performance of Templates: time 0.03065/0.9922, allocations: 17.13 MB / 0.6143 GB, free: 83.1 MB / 442.7 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/Components/EddyCurrentLosses/EddyCurrentLosses.csv","../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches