Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000997/0.0009971, allocations: 198.6 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.19/1.19, allocations: 227.2 MB / 245 MB, free: 7.594 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007952/0.0007952, allocations: 106.9 kB / 297.3 MB, free: 6.172 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002026/0.0002026, allocations: 4 kB / 357.9 MB, free: 9.527 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1788/0.179, allocations: 51.48 MB / 409.4 MB, free: 26.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09438/0.2734, allocations: 88.57 MB / 498 MB, free: 2.023 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002136/0.2737, allocations: 83.95 kB / 498.1 MB, free: 1.941 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2704/0.5441, allocations: 54.36 MB / 0.5395 GB, free: 70.87 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.324e-06/0.5441, allocations: 0 / 0.5395 GB, free: 70.87 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001882/0.5443, allocations: 52 kB / 0.5395 GB, free: 70.82 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: 588 * Number of variables: 588 Notification: Performance of Generate backend data structure: time 0.006822/0.5511, allocations: 2.857 MB / 0.5423 GB, free: 67.89 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.5512, allocations: 8.031 kB / 0.5423 GB, free: 67.89 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003566/0.5548, allocations: 0.6954 MB / 0.543 GB, free: 67.19 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003516/0.5583, allocations: 1.646 MB / 0.5446 GB, free: 65.48 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001261/0.5585, allocations: 172.6 kB / 0.5448 GB, free: 65.31 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005823/0.559, allocations: 224 kB / 0.545 GB, free: 65.09 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004338/0.5634, allocations: 3.1 MB / 0.548 GB, free: 61.9 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.526e-05/0.5634, allocations: 352 / 0.548 GB, free: 61.9 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001911/0.5636, allocations: 95.95 kB / 0.5481 GB, free: 61.8 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.754e-05/0.5637, allocations: 69.98 kB / 0.5482 GB, free: 61.74 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00339/0.5671, allocations: 2.73 MB / 0.5508 GB, free: 59 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01144/0.5785, allocations: 9.278 MB / 0.5599 GB, free: 49.39 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003388/0.582, allocations: 4.394 MB / 0.5642 GB, free: 44.38 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003289/0.5853, allocations: 3.154 MB / 0.5673 GB, free: 40.96 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.156e-05/0.5853, allocations: 50.75 kB / 0.5673 GB, free: 40.9 MB / 378.7 MB Notification: Performance of pre-optimization done (n=92): time 2.154e-06/0.5853, allocations: 4 kB / 0.5673 GB, free: 40.9 MB / 378.7 MB Notification: Performance of matching and sorting (n=100): time 0.00598/0.5913, allocations: 4.233 MB / 0.5715 GB, free: 36.57 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.977e-05/0.5913, allocations: 115.2 kB / 0.5716 GB, free: 36.43 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00144/0.5928, allocations: 1.425 MB / 0.573 GB, free: 35 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.132e-05/0.5929, allocations: 53.62 kB / 0.573 GB, free: 34.94 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004254/0.5933, allocations: 1.102 MB / 0.5741 GB, free: 33.82 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001687/0.5935, allocations: 358.9 kB / 0.5744 GB, free: 33.46 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.597e-05/0.5935, allocations: 24 kB / 0.5745 GB, free: 33.44 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.151e-05/0.5936, allocations: 353.9 kB / 0.5748 GB, free: 33.09 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008014/0.5944, allocations: 0.6505 MB / 0.5754 GB, free: 32.44 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009154/0.5953, allocations: 1.023 MB / 0.5764 GB, free: 31.26 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009422/0.5963, allocations: 0.8068 MB / 0.5772 GB, free: 30.46 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/0.5963, allocations: 4 kB / 0.5772 GB, free: 30.45 MB / 378.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.002428/0.5987, allocations: 1.983 MB / 0.5792 GB, free: 28.46 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.5988, allocations: 12.28 kB / 0.5792 GB, free: 28.45 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/0.5988, allocations: 12 kB / 0.5792 GB, free: 28.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002971/0.5991, allocations: 129.6 kB / 0.5793 GB, free: 28.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001182/0.6003, allocations: 347.5 kB / 0.5796 GB, free: 27.96 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001858/0.6021, allocations: 3.222 MB / 0.5828 GB, free: 24.47 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008876/0.603, allocations: 107.5 kB / 0.5829 GB, free: 24.36 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.753e-05/0.6031, allocations: 56.05 kB / 0.5829 GB, free: 24.31 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (155): * Single equations (assignments): 153 * 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 {(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001071/0.6042, allocations: 0.8211 MB / 0.5837 GB, free: 23.48 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001938/0.6044, allocations: 150.2 kB / 0.5839 GB, free: 23.33 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001983/0.6064, allocations: 1.424 MB / 0.5853 GB, free: 21.89 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.213e-06/0.6064, allocations: 12 kB / 0.5853 GB, free: 21.88 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.6064, allocations: 4 kB / 0.5853 GB, free: 21.88 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.824e-06/0.6064, allocations: 3.984 kB / 0.5853 GB, free: 21.87 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003212/0.6097, allocations: 2.45 MB / 0.5877 GB, free: 19.35 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.6097, allocations: 7.938 kB / 0.5877 GB, free: 19.34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007529/0.6104, allocations: 195.9 kB / 0.5879 GB, free: 19.15 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005337/0.611, allocations: 258.2 kB / 0.5881 GB, free: 18.89 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.704e-05/0.6111, allocations: 31.98 kB / 0.5882 GB, free: 18.86 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003819/0.6149, allocations: 5.879 MB / 0.5939 GB, free: 12.57 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.6149, allocations: 0 / 0.5939 GB, free: 12.57 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00301/0.6179, allocations: 2.669 MB / 0.5965 GB, free: 9.832 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003989/0.6183, allocations: 251.2 kB / 0.5967 GB, free: 9.566 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001607/0.6185, allocations: 31.98 kB / 0.5968 GB, free: 9.535 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008031/0.6193, allocations: 99.91 kB / 0.5969 GB, free: 9.438 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001734/0.6195, allocations: 96.23 kB / 0.597 GB, free: 9.344 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.928e-05/0.6196, allocations: 31.98 kB / 0.597 GB, free: 9.312 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001227/0.6208, allocations: 1.099 MB / 0.5981 GB, free: 8.211 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.6208, allocations: 4 kB / 0.5981 GB, free: 8.207 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001324/0.6221, allocations: 456 kB / 0.5985 GB, free: 7.762 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (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,converter_s[1].Phi.re,converter_s[2].Phi.im,converter_s[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 (76): * Single equations (assignments): 73 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 16,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002717/0.6224, allocations: 185.7 kB / 0.5987 GB, free: 7.574 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002232/0.6246, allocations: 1.739 MB / 0.6004 GB, free: 5.812 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.6247, allocations: 4.062 kB / 0.6004 GB, free: 5.809 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001382/0.626, allocations: 1.172 MB / 0.6015 GB, free: 4.594 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000947/0.627, allocations: 260.6 kB / 0.6018 GB, free: 4.34 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005923/0.6329, allocations: 5.54 MB / 0.6072 GB, free: 14.75 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001586/0.6345, allocations: 2.14 MB / 0.6093 GB, free: 12.57 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001202/0.6358, allocations: 451.3 kB / 0.6097 GB, free: 12.12 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002677/0.636, allocations: 99.42 kB / 0.6098 GB, free: 12.03 MB / 394.7 MB Notification: Performance of SimCode: time 1.072e-06/0.636, allocations: 0 / 0.6098 GB, free: 12.03 MB / 394.7 MB Notification: Performance of Templates: time 0.02926/0.6653, allocations: 18.2 MB / 0.6276 GB, free: 9.996 MB / 410.7 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & ./Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches