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.001494/0.001494, allocations: 176.4 kB / 8.346 MB, free: 0.7266 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.519/1.519, allocations: 221.5 MB / 230.3 MB, free: 7.578 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.0009443/0.0009444, allocations: 99.41 kB / 281.2 MB, free: 5.336 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.192e-05/1.194e-05, allocations: 0 / 337 MB, free: 10.05 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09539/0.09541, allocations: 50.42 MB / 387.5 MB, free: 7.582 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3327/0.4281, allocations: 85.1 MB / 472.6 MB, free: 9.77 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002498/0.4284, allocations: 77.73 kB / 472.6 MB, free: 9.695 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0753/0.5038, allocations: 31.17 MB / 0.492 GB, free: 10.21 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.5038, allocations: 0 / 0.492 GB, free: 10.21 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.04e-05/0.5039, allocations: 32 kB / 0.492 GB, free: 10.18 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.003813/0.5077, allocations: 1.685 MB / 0.4937 GB, free: 8.445 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.04e-05/0.5078, allocations: 12.03 kB / 0.4937 GB, free: 8.434 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001429/0.5092, allocations: 321.8 kB / 0.494 GB, free: 8.117 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001933/0.5112, allocations: 1.075 MB / 0.4951 GB, free: 7 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.623e-05/0.5112, allocations: 44.34 kB / 0.4951 GB, free: 6.957 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001806/0.5114, allocations: 79.95 kB / 0.4952 GB, free: 6.879 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002233/0.5137, allocations: 1.438 MB / 0.4966 GB, free: 5.438 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002545/0.5162, allocations: 1.587 MB / 0.4981 GB, free: 3.797 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.892e-05/0.5163, allocations: 0 / 0.4981 GB, free: 3.797 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001044/0.5164, allocations: 7.938 kB / 0.4981 GB, free: 3.789 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.145e-05/0.5165, allocations: 46 kB / 0.4982 GB, free: 3.742 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008551/0.525, allocations: 5.331 MB / 0.5034 GB, free: 14.19 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003081/0.5281, allocations: 2.822 MB / 0.5061 GB, free: 10.92 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005985/0.5288, allocations: 445.3 kB / 0.5066 GB, free: 10.48 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002531/0.5313, allocations: 1.502 MB / 0.508 GB, free: 8.91 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.444e-05/0.5314, allocations: 38.84 kB / 0.5081 GB, free: 8.863 MB / 394.7 MB Notification: Performance of pre-optimization done (n=52): time 3.396e-06/0.5314, allocations: 288 / 0.5081 GB, free: 8.863 MB / 394.7 MB Notification: Performance of matching and sorting (n=52): time 0.001555/0.5329, allocations: 0.8119 MB / 0.5089 GB, free: 8.043 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.299e-05/0.533, allocations: 81.11 kB / 0.5089 GB, free: 7.945 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001221/0.5342, allocations: 0.8594 MB / 0.5098 GB, free: 7.082 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.91e-05/0.5343, allocations: 25.7 kB / 0.5098 GB, free: 7.051 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004537/0.5348, allocations: 0.6774 MB / 0.5105 GB, free: 6.363 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001439/0.5349, allocations: 177.4 kB / 0.5106 GB, free: 6.188 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.033e-05/0.5349, allocations: 0 / 0.5106 GB, free: 6.188 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001804/0.5351, allocations: 334 kB / 0.5109 GB, free: 5.855 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003967/0.5355, allocations: 309.4 kB / 0.5112 GB, free: 5.555 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005187/0.5361, allocations: 473.8 kB / 0.5117 GB, free: 5.02 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007237/0.5368, allocations: 441.1 kB / 0.5121 GB, free: 4.59 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.5368, allocations: 4 kB / 0.5121 GB, free: 4.586 MB / 394.7 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001403/0.5382, allocations: 0.9279 MB / 0.513 GB, free: 3.652 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.522e-05/0.5383, allocations: 11.98 kB / 0.513 GB, free: 3.641 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.208e-05/0.5383, allocations: 12 kB / 0.513 GB, free: 3.629 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.57e-05/0.5383, allocations: 8 kB / 0.5131 GB, free: 3.621 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007706/0.5391, allocations: 183.8 kB / 0.5132 GB, free: 3.441 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.935e-05/0.5391, allocations: 11.94 kB / 0.5132 GB, free: 3.43 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005673/0.5397, allocations: 79.28 kB / 0.5133 GB, free: 3.352 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.027e-05/0.5398, allocations: 28 kB / 0.5133 GB, free: 3.324 MB / 394.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.0001517/0.5399, allocations: 116.8 kB / 0.5135 GB, free: 3.203 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001533/0.5401, allocations: 86.97 kB / 0.5135 GB, free: 3.117 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001313/0.5414, allocations: 0.6739 MB / 0.5142 GB, free: 2.43 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.556e-06/0.5414, allocations: 4 kB / 0.5142 GB, free: 2.426 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.588e-06/0.5414, allocations: 7.938 kB / 0.5142 GB, free: 2.418 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.145e-06/0.5415, allocations: 3.984 kB / 0.5142 GB, free: 2.414 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002356/0.5438, allocations: 1.423 MB / 0.5156 GB, free: 0.9375 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.5438, allocations: 0 / 0.5156 GB, free: 0.9375 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004468/0.5443, allocations: 95.88 kB / 0.5157 GB, free: 0.8438 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004181/0.5447, allocations: 150.3 kB / 0.5158 GB, free: 0.6953 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.318e-05/0.5448, allocations: 11.98 kB / 0.5158 GB, free: 0.6836 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002879/0.5477, allocations: 2.519 MB / 0.5183 GB, free: 14.05 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.274e-06/0.5477, allocations: 4 kB / 0.5183 GB, free: 14.05 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001999/0.5497, allocations: 1.424 MB / 0.5197 GB, free: 12.57 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002657/0.55, allocations: 191.9 kB / 0.5199 GB, free: 12.37 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001056/0.5501, allocations: 8 kB / 0.5199 GB, free: 12.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005246/0.5506, allocations: 55.94 kB / 0.5199 GB, free: 12.3 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001293/0.5508, allocations: 59.84 kB / 0.52 GB, free: 12.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.106e-05/0.5508, allocations: 16 kB / 0.52 GB, free: 12.23 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0009493/0.5518, allocations: 0.6591 MB / 0.5207 GB, free: 11.58 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5518, allocations: 0 / 0.5207 GB, free: 11.58 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001158/0.5529, allocations: 346.3 kB / 0.521 GB, free: 11.24 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.0003063/0.5533, allocations: 147.1 kB / 0.5211 GB, free: 11.08 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001028/0.5543, allocations: 0.6825 MB / 0.5218 GB, free: 10.39 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.5543, allocations: 0 / 0.5218 GB, free: 10.39 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008967/0.5552, allocations: 0.515 MB / 0.5223 GB, free: 9.871 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007912/0.556, allocations: 151.8 kB / 0.5224 GB, free: 9.723 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004016/0.56, allocations: 2.217 MB / 0.5246 GB, free: 7.461 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001183/0.5612, allocations: 1.522 MB / 0.5261 GB, free: 5.91 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006689/0.5619, allocations: 222.5 kB / 0.5263 GB, free: 5.688 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000166/0.5621, allocations: 59.42 kB / 0.5264 GB, free: 5.629 MB / 410.7 MB Notification: Performance of SimCode: time 1.072e-06/0.5621, allocations: 0 / 0.5264 GB, free: 5.629 MB / 410.7 MB Notification: Performance of Templates: time 0.01944/0.5816, allocations: 9.169 MB / 0.5353 GB, free: 12.59 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