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.001533/0.001533, allocations: 172.2 kB / 17.39 MB, free: 4.309 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.377/1.377, allocations: 223.3 MB / 241.4 MB, free: 11.6 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007812/0.0007812, allocations: 100.1 kB / 292.6 MB, free: 10.78 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003134/0.0003134, allocations: 15.94 kB / 352.4 MB, free: 15.02 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1804/0.1807, allocations: 50.39 MB / 402.7 MB, free: 32.46 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08702/0.2678, allocations: 85.89 MB / 488.6 MB, free: 10.45 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001944/0.268, allocations: 83.95 kB / 488.7 MB, free: 10.36 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2148/0.4828, allocations: 31.41 MB / 0.5079 GB, free: 88.45 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.554e-06/0.4828, allocations: 0.5625 kB / 0.5079 GB, free: 88.45 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001368/0.483, allocations: 37.09 kB / 0.508 GB, free: 88.45 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.004013/0.487, allocations: 1.839 MB / 0.5098 GB, free: 87.63 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.487, allocations: 9.625 kB / 0.5098 GB, free: 87.63 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001384/0.4884, allocations: 324.7 kB / 0.5101 GB, free: 87.54 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001799/0.4902, allocations: 1.116 MB / 0.5112 GB, free: 87.18 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.231e-05/0.4903, allocations: 102.1 kB / 0.5113 GB, free: 87.17 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002271/0.4906, allocations: 131.7 kB / 0.5114 GB, free: 87.17 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002502/0.4931, allocations: 1.854 MB / 0.5132 GB, free: 87 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.639e-05/0.4931, allocations: 3.938 kB / 0.5132 GB, free: 87 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001246/0.4933, allocations: 62.69 kB / 0.5133 GB, free: 86.99 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.935e-05/0.4933, allocations: 44.72 kB / 0.5133 GB, free: 86.99 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002185/0.4955, allocations: 1.605 MB / 0.5149 GB, free: 86.97 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007093/0.5026, allocations: 5.59 MB / 0.5203 GB, free: 84.78 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002182/0.5048, allocations: 2.908 MB / 0.5232 GB, free: 82.18 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006325/0.5055, allocations: 0.5022 MB / 0.5237 GB, free: 82 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001918/0.5074, allocations: 1.544 MB / 0.5252 GB, free: 81.03 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.104e-05/0.5074, allocations: 45.44 kB / 0.5252 GB, free: 80.98 MB / 378.7 MB Notification: Performance of pre-optimization done (n=53): time 2.795e-06/0.5074, allocations: 3.797 kB / 0.5252 GB, free: 80.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=53): time 0.002686/0.5101, allocations: 1.448 MB / 0.5266 GB, free: 80.46 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.563e-05/0.5102, allocations: 80.86 kB / 0.5267 GB, free: 80.37 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001088/0.5113, allocations: 1.023 MB / 0.5277 GB, free: 79.98 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.524e-05/0.5113, allocations: 37.3 kB / 0.5278 GB, free: 79.94 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002881/0.5116, allocations: 0.6703 MB / 0.5284 GB, free: 79.43 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000103/0.5117, allocations: 195.3 kB / 0.5286 GB, free: 79.28 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.096e-05/0.5118, allocations: 11.88 kB / 0.5286 GB, free: 79.27 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.452e-05/0.5118, allocations: 337.1 kB / 0.5289 GB, free: 78.95 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004889/0.5123, allocations: 366.6 kB / 0.5293 GB, free: 78.84 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005392/0.5129, allocations: 0.5225 MB / 0.5298 GB, free: 78.53 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001058/0.5139, allocations: 0.9008 MB / 0.5307 GB, free: 78.06 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.514, allocations: 4 kB / 0.5307 GB, free: 78.06 MB / 378.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001367/0.5153, allocations: 1.019 MB / 0.5317 GB, free: 77.69 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.5154, allocations: 11.81 kB / 0.5317 GB, free: 77.68 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.318e-06/0.5154, allocations: 11.22 kB / 0.5317 GB, free: 77.68 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.891e-05/0.5154, allocations: 7.844 kB / 0.5317 GB, free: 77.68 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006797/0.5161, allocations: 188.8 kB / 0.5319 GB, free: 77.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.212e-05/0.5161, allocations: 11.94 kB / 0.5319 GB, free: 77.63 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005019/0.5166, allocations: 93.06 kB / 0.532 GB, free: 77.55 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.418e-05/0.5167, allocations: 32 kB / 0.532 GB, free: 77.52 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 82 * 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.0006357/0.5173, allocations: 0.5191 MB / 0.5325 GB, free: 77.08 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001401/0.5174, allocations: 86.97 kB / 0.5326 GB, free: 76.99 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001018/0.5185, allocations: 0.7055 MB / 0.5333 GB, free: 76.4 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.5185, allocations: 4 kB / 0.5333 GB, free: 76.4 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/0.5185, allocations: 4 kB / 0.5333 GB, free: 76.39 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.692e-06/0.5185, allocations: 3.469 kB / 0.5333 GB, free: 76.39 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001949/0.5205, allocations: 1.662 MB / 0.5349 GB, free: 75.01 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.5205, allocations: 0 / 0.5349 GB, free: 75.01 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003971/0.5209, allocations: 110.2 kB / 0.535 GB, free: 74.92 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003814/0.5213, allocations: 145.1 kB / 0.5352 GB, free: 74.81 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.264e-05/0.5213, allocations: 19.94 kB / 0.5352 GB, free: 74.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002117/0.5235, allocations: 2.624 MB / 0.5377 GB, free: 72.29 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.5235, allocations: 0 / 0.5377 GB, free: 72.29 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001752/0.5252, allocations: 1.515 MB / 0.5392 GB, free: 70.95 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001837/0.5254, allocations: 187.2 kB / 0.5394 GB, free: 70.76 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001061/0.5255, allocations: 23 kB / 0.5394 GB, free: 70.74 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004862/0.526, allocations: 64.22 kB / 0.5395 GB, free: 70.69 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001137/0.5262, allocations: 55.25 kB / 0.5395 GB, free: 70.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-05/0.5262, allocations: 19.89 kB / 0.5396 GB, free: 70.64 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007301/0.5269, allocations: 0.724 MB / 0.5403 GB, free: 70.04 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.527, allocations: 4 kB / 0.5403 GB, free: 70.04 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008281/0.5278, allocations: 362.5 kB / 0.5406 GB, free: 69.68 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 36 * 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.0002148/0.528, allocations: 162.4 kB / 0.5408 GB, free: 69.52 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001095/0.5291, allocations: 0.7949 MB / 0.5415 GB, free: 68.87 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.5291, allocations: 4.25 kB / 0.5416 GB, free: 68.87 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008315/0.53, allocations: 0.5912 MB / 0.5421 GB, free: 68.34 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000972/0.531, allocations: 181.6 kB / 0.5423 GB, free: 68.2 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003756/0.5347, allocations: 3.319 MB / 0.5455 GB, free: 65.13 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008015/0.5355, allocations: 1.499 MB / 0.547 GB, free: 63.61 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0006825/0.5362, allocations: 230.4 kB / 0.5472 GB, free: 63.39 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001693/0.5364, allocations: 59.42 kB / 0.5473 GB, free: 63.33 MB / 378.7 MB Notification: Performance of SimCode: time 7.81e-07/0.5364, allocations: 0 / 0.5473 GB, free: 63.33 MB / 378.7 MB Notification: Performance of Templates: time 0.01597/0.5524, allocations: 10.94 MB / 0.558 GB, free: 52.7 MB / 378.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/jenkins1/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