Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008933/0.0008933, allocations: 182.6 kB / 18.04 MB, free: 3.785 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.312/1.312, allocations: 205.4 MB / 224.2 MB, free: 9.023 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.0007831/0.0007833, allocations: 86.34 kB / 272.5 MB, free: 8.258 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003302/0.0003303, allocations: 15.98 kB / 329.5 MB, free: 15.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2042/0.2046, allocations: 47.57 MB / 377 MB, free: 45.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09176/0.2964, allocations: 87.93 MB / 465 MB, free: 8.605 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002145/0.2966, allocations: 83.95 kB / 465 MB, free: 8.523 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2788/0.5754, allocations: 53.73 MB / 0.5066 GB, free: 87.63 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.5755, allocations: 0 / 0.5066 GB, free: 87.63 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002057/0.5757, allocations: 69.56 kB / 0.5067 GB, free: 87.62 MB / 378.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.007801/0.5835, allocations: 2.941 MB / 0.5095 GB, free: 86.42 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.5836, allocations: 7.781 kB / 0.5096 GB, free: 86.42 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003208/0.5868, allocations: 0.6026 MB / 0.5101 GB, free: 86.27 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003954/0.5908, allocations: 1.865 MB / 0.512 GB, free: 85.78 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001821/0.591, allocations: 195.4 kB / 0.5122 GB, free: 85.77 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008183/0.5918, allocations: 268.4 kB / 0.5124 GB, free: 85.77 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007056/0.5989, allocations: 3.575 MB / 0.5159 GB, free: 85.39 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.291e-05/0.599, allocations: 192 / 0.5159 GB, free: 85.39 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004257/0.5994, allocations: 120.4 kB / 0.516 GB, free: 85.39 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.159e-05/0.5995, allocations: 103 kB / 0.5161 GB, free: 85.38 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005196/0.6047, allocations: 2.907 MB / 0.5189 GB, free: 84.65 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01605/0.6208, allocations: 10.53 MB / 0.5292 GB, free: 79.32 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003864/0.6247, allocations: 4.694 MB / 0.5338 GB, free: 75.28 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001253/0.626, allocations: 0.9566 MB / 0.5348 GB, free: 74.94 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003729/0.6297, allocations: 2.474 MB / 0.5372 GB, free: 73.53 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.512e-05/0.6298, allocations: 49.12 kB / 0.5372 GB, free: 73.48 MB / 378.7 MB Notification: Performance of pre-optimization done (n=104): time 3.727e-06/0.6298, allocations: 0 / 0.5372 GB, free: 73.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=104): time 0.005545/0.6354, allocations: 2.771 MB / 0.5399 GB, free: 72.41 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.861e-05/0.6354, allocations: 93.92 kB / 0.54 GB, free: 72.3 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001796/0.6372, allocations: 1.354 MB / 0.5413 GB, free: 71.18 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.754e-05/0.6373, allocations: 49.7 kB / 0.5414 GB, free: 71.12 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005188/0.6378, allocations: 1.151 MB / 0.5425 GB, free: 70.09 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002082/0.6381, allocations: 356.4 kB / 0.5428 GB, free: 69.78 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.14e-05/0.6381, allocations: 24 kB / 0.5429 GB, free: 69.76 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.377e-05/0.6382, allocations: 361.4 kB / 0.5432 GB, free: 69.41 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008397/0.6391, allocations: 0.5844 MB / 0.5438 GB, free: 68.94 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009488/0.64, allocations: 0.8617 MB / 0.5446 GB, free: 68.09 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00178/0.6418, allocations: 1.502 MB / 0.5461 GB, free: 66.64 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.725e-06/0.6418, allocations: 4 kB / 0.5461 GB, free: 66.63 MB / 378.7 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.002943/0.6448, allocations: 1.997 MB / 0.548 GB, free: 64.91 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.334e-05/0.6448, allocations: 12.12 kB / 0.5481 GB, free: 64.89 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.612e-05/0.6448, allocations: 10.72 kB / 0.5481 GB, free: 64.89 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008752/0.6457, allocations: 407 kB / 0.5485 GB, free: 64.54 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007857/0.6465, allocations: 223.6 kB / 0.5487 GB, free: 64.32 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005884/0.6524, allocations: 6.108 MB / 0.5546 GB, free: 57.96 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009985/0.6534, allocations: 146.8 kB / 0.5548 GB, free: 57.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001115/0.6536, allocations: 47.98 kB / 0.5548 GB, free: 57.77 MB / 378.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (109): * Single equations (assignments): 107 * 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.001437/0.655, allocations: 0.8603 MB / 0.5557 GB, free: 56.9 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003193/0.6553, allocations: 142.3 kB / 0.5558 GB, free: 56.76 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002689/0.658, allocations: 1.706 MB / 0.5575 GB, free: 55.04 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.698e-06/0.658, allocations: 12 kB / 0.5575 GB, free: 55.02 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.196e-05/0.6581, allocations: 4 kB / 0.5575 GB, free: 55.02 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.178e-05/0.6581, allocations: 11.91 kB / 0.5575 GB, free: 55.01 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006216/0.6643, allocations: 4.019 MB / 0.5614 GB, free: 50.92 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.132e-06/0.6643, allocations: 0 / 0.5614 GB, free: 50.92 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005513/0.6649, allocations: 144 kB / 0.5616 GB, free: 50.78 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008413/0.6657, allocations: 408.8 kB / 0.5619 GB, free: 50.38 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.259e-05/0.6658, allocations: 35.98 kB / 0.562 GB, free: 50.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005502/0.6714, allocations: 6.081 MB / 0.5679 GB, free: 44 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.6714, allocations: 0 / 0.5679 GB, free: 44 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003352/0.6747, allocations: 2.574 MB / 0.5704 GB, free: 41.39 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003893/0.6751, allocations: 239.3 kB / 0.5707 GB, free: 41.14 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002502/0.6754, allocations: 31.98 kB / 0.5707 GB, free: 41.11 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008966/0.6763, allocations: 107.8 kB / 0.5708 GB, free: 41 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002324/0.6766, allocations: 92.67 kB / 0.5709 GB, free: 40.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.033e-05/0.6766, allocations: 35.98 kB / 0.5709 GB, free: 40.88 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001292/0.6779, allocations: 0.9435 MB / 0.5718 GB, free: 39.93 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.6779, allocations: 0 / 0.5718 GB, free: 39.93 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001901/0.6799, allocations: 0.6765 MB / 0.5725 GB, free: 39.25 MB / 378.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 62 * 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.0003269/0.6802, allocations: 177.8 kB / 0.5727 GB, free: 39.07 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002657/0.6829, allocations: 1.831 MB / 0.5745 GB, free: 37.21 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.127e-06/0.6829, allocations: 3.938 kB / 0.5745 GB, free: 37.21 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001545/0.6844, allocations: 1.161 MB / 0.5756 GB, free: 36.02 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001727/0.6862, allocations: 280.5 kB / 0.5759 GB, free: 35.75 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007035/0.6932, allocations: 5.549 MB / 0.5813 GB, free: 30.18 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001713/0.695, allocations: 2.187 MB / 0.5834 GB, free: 27.96 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001095/0.6961, allocations: 342 kB / 0.5837 GB, free: 27.63 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002546/0.6963, allocations: 83.42 kB / 0.5838 GB, free: 27.55 MB / 378.7 MB Notification: Performance of SimCode: time 7.31e-07/0.6963, allocations: 0 / 0.5838 GB, free: 27.55 MB / 378.7 MB Notification: Performance of Templates: time 0.03039/0.7267, allocations: 19.56 MB / 0.6029 GB, free: 8.156 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_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_Modelica.Magnetic.FundamentalWave.Examples.Components.EddyCurrentLosses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches