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.00153/0.00153, allocations: 201 kB / 18.11 MB, free: 3.617 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.361/1.361, allocations: 226.5 MB / 245.4 MB, free: 8.188 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007807/0.0007809, allocations: 98.98 kB / 297.5 MB, free: 6.887 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002236/0.0002237, allocations: 4 kB / 358.1 MB, free: 10.27 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1864/0.1866, allocations: 51.3 MB / 409.4 MB, free: 27.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09452/0.2812, allocations: 88.53 MB / 497.9 MB, free: 2.961 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002183/0.2814, allocations: 80.58 kB / 498 MB, free: 2.883 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2646/0.5461, allocations: 54.06 MB / 0.5391 GB, free: 72.79 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.933e-06/0.5461, allocations: 0 / 0.5391 GB, free: 72.79 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001394/0.5463, allocations: 59.92 kB / 0.5392 GB, free: 72.73 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.00619/0.5525, allocations: 2.83 MB / 0.5419 GB, free: 69.84 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.5525, allocations: 8.031 kB / 0.5419 GB, free: 69.83 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003324/0.5558, allocations: 0.6885 MB / 0.5426 GB, free: 69.14 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00284/0.5587, allocations: 1.699 MB / 0.5443 GB, free: 67.38 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001001/0.5588, allocations: 173 kB / 0.5444 GB, free: 67.21 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004004/0.5592, allocations: 224.4 kB / 0.5447 GB, free: 66.99 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004536/0.5638, allocations: 3.128 MB / 0.5477 GB, free: 63.76 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.828e-05/0.5638, allocations: 4 kB / 0.5477 GB, free: 63.76 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000237/0.5641, allocations: 92 kB / 0.5478 GB, free: 63.67 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.379e-05/0.5641, allocations: 69.98 kB / 0.5479 GB, free: 63.6 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003894/0.568, allocations: 2.73 MB / 0.5505 GB, free: 60.87 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0116/0.5797, allocations: 9.285 MB / 0.5596 GB, free: 51.25 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003443/0.5831, allocations: 4.401 MB / 0.5639 GB, free: 46.23 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000982/0.5841, allocations: 0.819 MB / 0.5647 GB, free: 45.41 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0031/0.5872, allocations: 3.158 MB / 0.5678 GB, free: 41.99 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.605e-05/0.5873, allocations: 54.73 kB / 0.5678 GB, free: 41.93 MB / 378.7 MB Notification: Performance of pre-optimization done (n=92): time 2.294e-06/0.5873, allocations: 4.281 kB / 0.5678 GB, free: 41.92 MB / 378.7 MB Notification: Performance of matching and sorting (n=100): time 0.006185/0.5935, allocations: 4.249 MB / 0.572 GB, free: 37.57 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.075e-05/0.5935, allocations: 115.2 kB / 0.5721 GB, free: 37.44 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0016/0.5951, allocations: 1.588 MB / 0.5736 GB, free: 35.83 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.28e-05/0.5952, allocations: 49.7 kB / 0.5737 GB, free: 35.78 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000426/0.5956, allocations: 1.095 MB / 0.5748 GB, free: 34.67 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001721/0.5958, allocations: 354.9 kB / 0.5751 GB, free: 34.32 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.753e-05/0.5959, allocations: 28 kB / 0.5751 GB, free: 34.29 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.569e-05/0.5959, allocations: 357.9 kB / 0.5755 GB, free: 33.93 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008723/0.5968, allocations: 0.6466 MB / 0.5761 GB, free: 33.29 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009585/0.5978, allocations: 1.031 MB / 0.5771 GB, free: 32.09 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001851/0.5996, allocations: 1.722 MB / 0.5788 GB, free: 30.21 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.5997, allocations: 4 kB / 0.5788 GB, free: 30.21 MB / 378.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.002632/0.6023, allocations: 1.968 MB / 0.5807 GB, free: 28.23 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.6023, allocations: 10.19 kB / 0.5807 GB, free: 28.22 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.303e-05/0.6024, allocations: 15.94 kB / 0.5807 GB, free: 28.21 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003012/0.6027, allocations: 129.9 kB / 0.5809 GB, free: 28.07 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001158/0.6038, allocations: 347.5 kB / 0.5812 GB, free: 27.73 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001906/0.6057, allocations: 3.178 MB / 0.5843 GB, free: 24.28 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009069/0.6067, allocations: 107.7 kB / 0.5844 GB, free: 24.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.474e-05/0.6068, allocations: 59.98 kB / 0.5845 GB, free: 24.12 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.001223/0.608, allocations: 0.825 MB / 0.5853 GB, free: 23.28 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002148/0.6082, allocations: 150.2 kB / 0.5854 GB, free: 23.13 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002048/0.6103, allocations: 1.415 MB / 0.5868 GB, free: 21.71 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.554e-06/0.6103, allocations: 12 kB / 0.5868 GB, free: 21.7 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.6103, allocations: 4 kB / 0.5868 GB, free: 21.69 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.238e-06/0.6103, allocations: 7.984 kB / 0.5868 GB, free: 21.68 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002907/0.6132, allocations: 2.453 MB / 0.5892 GB, free: 19.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.6132, allocations: 3.938 kB / 0.5892 GB, free: 19.15 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00076/0.614, allocations: 191.8 kB / 0.5894 GB, free: 18.96 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005276/0.6145, allocations: 266.4 kB / 0.5897 GB, free: 18.7 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.566e-05/0.6146, allocations: 35.97 kB / 0.5897 GB, free: 18.66 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003902/0.6185, allocations: 5.782 MB / 0.5953 GB, free: 12.48 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.6186, allocations: 0 / 0.5953 GB, free: 12.48 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003112/0.6217, allocations: 2.596 MB / 0.5979 GB, free: 9.852 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003175/0.622, allocations: 251.2 kB / 0.5981 GB, free: 9.586 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000166/0.6222, allocations: 31.97 kB / 0.5981 GB, free: 9.555 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008102/0.623, allocations: 103.9 kB / 0.5982 GB, free: 9.453 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001892/0.6232, allocations: 104.1 kB / 0.5983 GB, free: 9.348 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.097e-05/0.6233, allocations: 35.98 kB / 0.5984 GB, free: 9.312 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001298/0.6246, allocations: 1.103 MB / 0.5994 GB, free: 8.207 MB / 378.7 MB Notification: Performance of sort global known variables: time 2e-07/0.6246, allocations: 0 / 0.5994 GB, free: 8.207 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001394/0.626, allocations: 452 kB / 0.5999 GB, free: 7.766 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.0002833/0.6263, allocations: 204 kB / 0.6001 GB, free: 7.559 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002354/0.6286, allocations: 1.739 MB / 0.6018 GB, free: 5.797 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.6286, allocations: 3.938 kB / 0.6018 GB, free: 5.793 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001446/0.6301, allocations: 1.173 MB / 0.6029 GB, free: 4.582 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001552/0.6317, allocations: 264.8 kB / 0.6032 GB, free: 4.32 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006373/0.6381, allocations: 5.553 MB / 0.6086 GB, free: 14.72 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00162/0.6397, allocations: 2.086 MB / 0.6106 GB, free: 12.59 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001265/0.641, allocations: 451.3 kB / 0.6111 GB, free: 12.14 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002665/0.6412, allocations: 99.41 kB / 0.6112 GB, free: 12.04 MB / 394.7 MB Notification: Performance of SimCode: time 5.51e-07/0.6412, allocations: 0 / 0.6112 GB, free: 12.04 MB / 394.7 MB Notification: Performance of Templates: time 0.02942/0.6707, allocations: 18.39 MB / 0.6291 GB, free: 9.832 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/jenkins1/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