Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.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.FundamentalWave.Examples.Components.PolyphaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|converter_m.singlePhaseElectroMagneticConverter.1..Phi.re|converter_m.singlePhaseElectroMagneticConverter.2..Phi.im|inductor_e.inductor.1..i|inductor_e.inductor.2..i|inductor_e.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance") translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|converter_m.singlePhaseElectroMagneticConverter.1..Phi.re|converter_m.singlePhaseElectroMagneticConverter.2..Phi.im|inductor_e.inductor.1..i|inductor_e.inductor.2..i|inductor_e.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001516/0.001516, allocations: 174.8 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.368/1.368, allocations: 221.4 MB / 235.5 MB, free: 2.879 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.0008281/0.0008283, allocations: 99.73 kB / 286.5 MB, free: 164 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.585e-05/2.591e-05, allocations: 4 kB / 343.8 MB, free: 4.285 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1255, allocations: 50.42 MB / 394.3 MB, free: 1.828 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2888/0.4143, allocations: 85.76 MB / 480 MB, free: 1.727 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002154/0.4145, allocations: 83.78 kB / 480.1 MB, free: 1.648 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07693/0.4915, allocations: 31.51 MB / 0.4996 GB, free: 1.82 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.026e-06/0.4915, allocations: 4 kB / 0.4996 GB, free: 1.816 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.554e-05/0.4916, allocations: 43.92 kB / 0.4997 GB, free: 1.773 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: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.003332/0.495, allocations: 1.681 MB / 0.5013 GB, free: 44 kB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.495, allocations: 12.03 kB / 0.5013 GB, free: 32 kB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001349/0.4964, allocations: 322.3 kB / 0.5016 GB, free: 15.71 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001815/0.4982, allocations: 1.074 MB / 0.5027 GB, free: 14.59 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.139e-05/0.4983, allocations: 102.5 kB / 0.5028 GB, free: 14.49 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001922/0.4985, allocations: 132 kB / 0.5029 GB, free: 14.36 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00267/0.5012, allocations: 1.788 MB / 0.5046 GB, free: 12.52 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.343e-05/0.5012, allocations: 0 / 0.5046 GB, free: 12.52 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001439/0.5013, allocations: 52 kB / 0.5047 GB, free: 12.47 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-05/0.5014, allocations: 57.92 kB / 0.5047 GB, free: 12.42 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002248/0.5037, allocations: 1.501 MB / 0.5062 GB, free: 10.91 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008058/0.5117, allocations: 5.583 MB / 0.5117 GB, free: 5.105 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002707/0.5145, allocations: 2.856 MB / 0.5145 GB, free: 1.801 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005988/0.5151, allocations: 469.2 kB / 0.5149 GB, free: 1.336 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002225/0.5173, allocations: 1.521 MB / 0.5164 GB, free: 15.75 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.048e-05/0.5174, allocations: 38.84 kB / 0.5164 GB, free: 15.7 MB / 410.7 MB Notification: Performance of pre-optimization done (n=52): time 2.335e-06/0.5174, allocations: 0 / 0.5164 GB, free: 15.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=52): time 0.001306/0.5187, allocations: 0.8001 MB / 0.5172 GB, free: 14.89 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.852e-05/0.5187, allocations: 81.11 kB / 0.5173 GB, free: 14.8 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001148/0.5199, allocations: 0.9185 MB / 0.5182 GB, free: 13.88 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.422e-05/0.5199, allocations: 37.7 kB / 0.5182 GB, free: 13.83 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003993/0.5203, allocations: 0.6774 MB / 0.5189 GB, free: 13.14 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001284/0.5205, allocations: 189.3 kB / 0.5191 GB, free: 12.96 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.579e-05/0.5205, allocations: 12 kB / 0.5191 GB, free: 12.95 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001001/0.5206, allocations: 334 kB / 0.5194 GB, free: 12.61 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004194/0.5211, allocations: 325.4 kB / 0.5197 GB, free: 12.3 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005125/0.5216, allocations: 494.1 kB / 0.5202 GB, free: 11.74 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000513/0.5221, allocations: 401.2 kB / 0.5206 GB, free: 11.35 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.5221, allocations: 0 / 0.5206 GB, free: 11.35 MB / 410.7 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.00129/0.5234, allocations: 0.9316 MB / 0.5215 GB, free: 10.41 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.5234, allocations: 12.12 kB / 0.5215 GB, free: 10.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/0.5235, allocations: 7.953 kB / 0.5215 GB, free: 10.39 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.254e-05/0.5235, allocations: 8 kB / 0.5215 GB, free: 10.39 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007255/0.5242, allocations: 191.7 kB / 0.5217 GB, free: 10.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.593e-05/0.5243, allocations: 11.98 kB / 0.5217 GB, free: 10.19 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005126/0.5248, allocations: 83.34 kB / 0.5218 GB, free: 10.11 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-05/0.5248, allocations: 28 kB / 0.5218 GB, free: 10.08 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (81): * Single equations (assignments): 81 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001303/0.525, allocations: 144.7 kB / 0.5219 GB, free: 9.93 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001338/0.5251, allocations: 90.88 kB / 0.522 GB, free: 9.84 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001062/0.5262, allocations: 0.6502 MB / 0.5226 GB, free: 9.172 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.622e-06/0.5262, allocations: 7.938 kB / 0.5227 GB, free: 9.164 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.5262, allocations: 4 kB / 0.5227 GB, free: 9.16 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.5262, allocations: 3.984 kB / 0.5227 GB, free: 9.156 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00215/0.5284, allocations: 1.626 MB / 0.5243 GB, free: 7.465 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.5284, allocations: 0 / 0.5243 GB, free: 7.465 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004438/0.5288, allocations: 95.97 kB / 0.5243 GB, free: 7.371 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003831/0.5292, allocations: 149.9 kB / 0.5245 GB, free: 7.223 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.848e-05/0.5293, allocations: 23.98 kB / 0.5245 GB, free: 7.199 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002683/0.532, allocations: 2.598 MB / 0.527 GB, free: 4.465 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/0.532, allocations: 8.016 kB / 0.5271 GB, free: 4.457 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0017/0.5337, allocations: 1.413 MB / 0.5284 GB, free: 2.988 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002315/0.534, allocations: 188 kB / 0.5286 GB, free: 2.785 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001029/0.5341, allocations: 19.98 kB / 0.5286 GB, free: 2.766 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005434/0.5346, allocations: 67.94 kB / 0.5287 GB, free: 2.699 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001387/0.5348, allocations: 59.8 kB / 0.5288 GB, free: 2.641 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.843e-05/0.5348, allocations: 19.89 kB / 0.5288 GB, free: 2.621 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0009786/0.5358, allocations: 0.7177 MB / 0.5295 GB, free: 1.91 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.5358, allocations: 0 / 0.5295 GB, free: 1.91 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001058/0.5369, allocations: 366.4 kB / 0.5298 GB, free: 1.551 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (inductor_e.inductor[1].i,inductor_e.inductor[2].i,inductor_e.inductor[3].i,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 (36): * Single equations (assignments): 35 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002985/0.5372, allocations: 155.2 kB / 0.53 GB, free: 1.391 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009947/0.5382, allocations: 0.7057 MB / 0.5307 GB, free: 0.6836 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.5382, allocations: 0 / 0.5307 GB, free: 0.6836 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008571/0.5391, allocations: 0.545 MB / 0.5312 GB, free: 132 kB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007281/0.5398, allocations: 171.2 kB / 0.5314 GB, free: 15.96 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003241/0.5431, allocations: 2.255 MB / 0.5336 GB, free: 13.65 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009956/0.5441, allocations: 1.514 MB / 0.535 GB, free: 12.11 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005778/0.5447, allocations: 242.6 kB / 0.5353 GB, free: 11.87 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001593/0.5448, allocations: 59.42 kB / 0.5353 GB, free: 11.81 MB / 426.7 MB Notification: Performance of SimCode: time 3.4e-07/0.5448, allocations: 4 kB / 0.5353 GB, free: 11.8 MB / 426.7 MB Notification: Performance of Templates: time 0.01787/0.5627, allocations: 10.85 MB / 0.5459 GB, free: 1.082 MB / 426.7 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/Components/PolyphaseInductance/PolyphaseInductance.csv","../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches