Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.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.MultiPhaseInductance,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_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance") translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance,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_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001408/0.001408, allocations: 177.7 kB / 8.698 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.412/1.412, allocations: 205.3 MB / 214.4 MB, free: 1.664 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008587/0.0008586, allocations: 86.7 kB / 262.4 MB, free: 1.605 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.852e-05/1.857e-05, allocations: 4 kB / 315.5 MB, free: 22.7 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08824/0.08827, allocations: 47.58 MB / 363.1 MB, free: 7.066 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.331/0.4193, allocations: 84.21 MB / 447.3 MB, free: 11.46 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000224/0.4196, allocations: 79.08 kB / 447.4 MB, free: 11.42 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.077/0.4966, allocations: 30.61 MB / 478 MB, free: 2.484 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.502e-06/0.4966, allocations: 4 kB / 478 MB, free: 2.48 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001376/0.4968, allocations: 39.92 kB / 478 MB, free: 2.441 MB / 346.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.004972/0.5018, allocations: 1.677 MB / 479.7 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.809e-05/0.5018, allocations: 12.03 kB / 479.7 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001748/0.5036, allocations: 321.8 kB / 480 MB, free: 412 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002407/0.506, allocations: 1.075 MB / 481.1 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.86e-05/0.5061, allocations: 44 kB / 481.1 MB, free: 15.24 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003442/0.5064, allocations: 83.98 kB / 481.2 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002679/0.5091, allocations: 1.438 MB / 482.7 MB, free: 13.72 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002835/0.512, allocations: 1.587 MB / 484.2 MB, free: 12.08 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.751e-05/0.512, allocations: 4 kB / 484.3 MB, free: 12.08 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001234/0.5122, allocations: 0 / 484.3 MB, free: 12.08 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.8e-05/0.5122, allocations: 46 kB / 484.3 MB, free: 12.03 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0097/0.5219, allocations: 5.343 MB / 489.6 MB, free: 6.469 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003036/0.525, allocations: 2.826 MB / 492.5 MB, free: 3.188 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000595/0.5256, allocations: 443.7 kB / 492.9 MB, free: 2.746 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002678/0.5283, allocations: 1.514 MB / 494.4 MB, free: 1.168 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.38e-05/0.5284, allocations: 38.84 kB / 494.4 MB, free: 1.121 MB / 362.7 MB Notification: Performance of pre-optimization done (n=52): time 2.665e-06/0.5284, allocations: 288 / 494.5 MB, free: 1.121 MB / 362.7 MB Notification: Performance of matching and sorting (n=52): time 0.001708/0.5301, allocations: 0.8119 MB / 495.3 MB, free: 308 kB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.354e-05/0.5302, allocations: 81.11 kB / 495.3 MB, free: 208 kB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00142/0.5316, allocations: 0.8595 MB / 496.2 MB, free: 15.34 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.997e-05/0.5317, allocations: 25.7 kB / 496.2 MB, free: 15.3 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004584/0.5322, allocations: 0.6735 MB / 496.9 MB, free: 14.62 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001523/0.5323, allocations: 177.4 kB / 497.1 MB, free: 14.45 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.333e-05/0.5324, allocations: 4 kB / 497.1 MB, free: 14.44 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001031/0.5325, allocations: 334 kB / 497.4 MB, free: 14.11 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004061/0.5329, allocations: 309.4 kB / 497.7 MB, free: 13.81 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005047/0.5334, allocations: 473.8 kB / 498.2 MB, free: 13.27 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007269/0.5341, allocations: 433.2 kB / 498.6 MB, free: 12.85 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.119e-06/0.5341, allocations: 4 kB / 498.6 MB, free: 12.85 MB / 378.7 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001479/0.5356, allocations: 0.931 MB / 499.5 MB, free: 11.91 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.736e-05/0.5357, allocations: 12.52 kB / 499.5 MB, free: 11.9 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/0.5357, allocations: 8 kB / 499.5 MB, free: 11.89 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.848e-05/0.5357, allocations: 8 kB / 499.6 MB, free: 11.89 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007695/0.5365, allocations: 179.8 kB / 499.7 MB, free: 11.71 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.18e-05/0.5365, allocations: 19.94 kB / 499.7 MB, free: 11.69 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000634/0.5372, allocations: 75.33 kB / 499.8 MB, free: 11.62 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.435e-05/0.5373, allocations: 28 kB / 499.8 MB, free: 11.59 MB / 378.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.0001812/0.5374, allocations: 116.8 kB / 500 MB, free: 11.47 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002511/0.5377, allocations: 86.97 kB / 0.4883 GB, free: 11.38 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001362/0.5391, allocations: 0.6739 MB / 0.489 GB, free: 10.7 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.125e-06/0.5391, allocations: 4 kB / 0.489 GB, free: 10.69 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.113e-05/0.5391, allocations: 4 kB / 0.489 GB, free: 10.69 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.325e-06/0.5391, allocations: 3.984 kB / 0.489 GB, free: 10.68 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002501/0.5416, allocations: 1.431 MB / 0.4904 GB, free: 9.199 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.5417, allocations: 4 kB / 0.4904 GB, free: 9.195 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004823/0.5421, allocations: 95.88 kB / 0.4905 GB, free: 9.102 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004658/0.5426, allocations: 146.8 kB / 0.4906 GB, free: 8.957 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.245e-05/0.5427, allocations: 15.92 kB / 0.4906 GB, free: 8.941 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002809/0.5455, allocations: 2.514 MB / 0.4931 GB, free: 6.312 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/0.5455, allocations: 240 / 0.4931 GB, free: 6.312 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002149/0.5477, allocations: 1.432 MB / 0.4945 GB, free: 4.824 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003127/0.548, allocations: 192 kB / 0.4947 GB, free: 4.617 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001762/0.5482, allocations: 12.11 kB / 0.4947 GB, free: 4.605 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006092/0.5488, allocations: 55.94 kB / 0.4947 GB, free: 4.551 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000136/0.549, allocations: 55.86 kB / 0.4948 GB, free: 4.496 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-05/0.549, allocations: 16 kB / 0.4948 GB, free: 4.48 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001052/0.5501, allocations: 0.6552 MB / 0.4955 GB, free: 3.832 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.5501, allocations: 0 / 0.4955 GB, free: 3.832 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001139/0.5512, allocations: 350.3 kB / 0.4958 GB, free: 3.488 MB / 378.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.0002816/0.5515, allocations: 139.1 kB / 0.4959 GB, free: 3.34 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001008/0.5525, allocations: 0.6829 MB / 0.4966 GB, free: 2.656 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.5526, allocations: 4.125 kB / 0.4966 GB, free: 2.652 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008451/0.5534, allocations: 0.5228 MB / 0.4971 GB, free: 2.121 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000856/0.5543, allocations: 135.4 kB / 0.4972 GB, free: 1.988 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004214/0.5585, allocations: 2.22 MB / 0.4994 GB, free: 15.72 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001411/0.5599, allocations: 1.533 MB / 0.5009 GB, free: 14.16 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0007319/0.5607, allocations: 226.5 kB / 0.5011 GB, free: 13.93 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002154/0.5609, allocations: 59.42 kB / 0.5012 GB, free: 13.88 MB / 394.7 MB Notification: Performance of SimCode: time 5.31e-07/0.5609, allocations: 0 / 0.5012 GB, free: 13.88 MB / 394.7 MB Notification: Performance of Templates: time 0.01875/0.5797, allocations: 9.159 MB / 0.5101 GB, free: 4.703 MB / 394.7 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/Components/MultiPhaseInductance/MultiPhaseInductance.csv","../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches