Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_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_cpp_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_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00106/0.00106, allocations: 199.4 kB / 18.07 MB, free: 3.738 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.231/1.231, allocations: 226.5 MB / 245.4 MB, free: 8.223 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008229/0.0008229, allocations: 105.5 kB / 297.4 MB, free: 6.91 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002417/0.0002418, allocations: 8 kB / 357.4 MB, free: 10.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1978/0.1981, allocations: 51.28 MB / 408.7 MB, free: 27.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09381/0.2919, allocations: 88.53 MB / 497.2 MB, free: 3.074 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00019/0.2922, allocations: 83.95 kB / 497.3 MB, free: 2.992 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2641/0.5563, allocations: 54.07 MB / 0.5384 GB, free: 72.85 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.5563, allocations: 0 / 0.5384 GB, free: 72.85 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001716/0.5565, allocations: 55.94 kB / 0.5385 GB, free: 72.8 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.007268/0.5638, allocations: 2.826 MB / 0.5412 GB, free: 69.91 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.5638, allocations: 8.031 kB / 0.5412 GB, free: 69.9 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003661/0.5675, allocations: 0.6924 MB / 0.5419 GB, free: 69.2 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00348/0.571, allocations: 1.695 MB / 0.5436 GB, free: 67.45 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001346/0.5712, allocations: 173 kB / 0.5437 GB, free: 67.28 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006694/0.5718, allocations: 224.4 kB / 0.544 GB, free: 67.06 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005851/0.5777, allocations: 3.128 MB / 0.547 GB, free: 63.83 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.348e-05/0.5778, allocations: 0 / 0.547 GB, free: 63.83 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003752/0.5782, allocations: 100 kB / 0.5471 GB, free: 63.73 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.086e-05/0.5783, allocations: 73.97 kB / 0.5472 GB, free: 63.66 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004496/0.5828, allocations: 2.726 MB / 0.5498 GB, free: 60.93 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01443/0.5972, allocations: 9.293 MB / 0.5589 GB, free: 51.31 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003621/0.6009, allocations: 4.391 MB / 0.5632 GB, free: 46.3 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001027/0.6019, allocations: 0.8237 MB / 0.564 GB, free: 45.47 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003728/0.6057, allocations: 3.158 MB / 0.5671 GB, free: 42.05 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.247e-05/0.6058, allocations: 54.67 kB / 0.5671 GB, free: 41.99 MB / 378.7 MB Notification: Performance of pre-optimization done (n=92): time 2.745e-06/0.6058, allocations: 0 / 0.5671 GB, free: 41.99 MB / 378.7 MB Notification: Performance of matching and sorting (n=100): time 0.007293/0.6131, allocations: 4.247 MB / 0.5713 GB, free: 37.64 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.155e-05/0.6131, allocations: 115.2 kB / 0.5714 GB, free: 37.51 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002168/0.6153, allocations: 1.588 MB / 0.5729 GB, free: 35.9 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001422/0.6155, allocations: 41.7 kB / 0.573 GB, free: 35.86 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004794/0.616, allocations: 1.098 MB / 0.5741 GB, free: 34.74 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002516/0.6162, allocations: 350.9 kB / 0.5744 GB, free: 34.39 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.989e-05/0.6163, allocations: 28 kB / 0.5744 GB, free: 34.37 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.484e-05/0.6164, allocations: 361.9 kB / 0.5748 GB, free: 34.01 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009257/0.6173, allocations: 0.6466 MB / 0.5754 GB, free: 33.36 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001054/0.6184, allocations: 1.031 MB / 0.5764 GB, free: 32.17 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001932/0.6203, allocations: 1.734 MB / 0.5781 GB, free: 30.28 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.606e-06/0.6204, allocations: 4 kB / 0.5781 GB, free: 30.28 MB / 378.7 MB Notification: Performance of matching and sorting (n=163) (initialization): time 0.002819/0.6232, allocations: 1.969 MB / 0.58 GB, free: 28.29 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.24e-05/0.6232, allocations: 8 kB / 0.58 GB, free: 28.29 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.591e-05/0.6232, allocations: 12 kB / 0.58 GB, free: 28.27 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003162/0.6236, allocations: 125.6 kB / 0.5802 GB, free: 28.14 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001137/0.6247, allocations: 343.6 kB / 0.5805 GB, free: 27.81 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002006/0.6267, allocations: 3.178 MB / 0.5836 GB, free: 24.36 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001136/0.6279, allocations: 111.6 kB / 0.5837 GB, free: 24.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001131/0.628, allocations: 55.98 kB / 0.5838 GB, free: 24.19 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.001305/0.6293, allocations: 0.825 MB / 0.5846 GB, free: 23.36 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003613/0.6297, allocations: 146.5 kB / 0.5847 GB, free: 23.21 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002368/0.6321, allocations: 1.418 MB / 0.5861 GB, free: 21.78 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.828e-06/0.6321, allocations: 8 kB / 0.5861 GB, free: 21.77 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.255e-05/0.6321, allocations: 11.88 kB / 0.5861 GB, free: 21.76 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.214e-05/0.6321, allocations: 8.234 kB / 0.5861 GB, free: 21.75 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003883/0.636, allocations: 2.461 MB / 0.5885 GB, free: 19.22 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.969e-06/0.636, allocations: 4 kB / 0.5885 GB, free: 19.21 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007887/0.6368, allocations: 195.8 kB / 0.5887 GB, free: 19.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005905/0.6374, allocations: 258.2 kB / 0.589 GB, free: 18.76 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.349e-05/0.6375, allocations: 35.97 kB / 0.589 GB, free: 18.73 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003991/0.6415, allocations: 5.783 MB / 0.5946 GB, free: 12.55 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.6416, allocations: 0 / 0.5946 GB, free: 12.55 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003364/0.6449, allocations: 2.604 MB / 0.5972 GB, free: 9.91 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004973/0.6455, allocations: 247.2 kB / 0.5974 GB, free: 9.648 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001766/0.6456, allocations: 27.98 kB / 0.5974 GB, free: 9.621 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000814/0.6465, allocations: 103.9 kB / 0.5975 GB, free: 9.52 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002044/0.6467, allocations: 92.36 kB / 0.5976 GB, free: 9.426 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.09e-05/0.6468, allocations: 35.98 kB / 0.5977 GB, free: 9.391 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001325/0.6481, allocations: 1.103 MB / 0.5987 GB, free: 8.285 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6481, allocations: 4 kB / 0.5987 GB, free: 8.281 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001458/0.6496, allocations: 463.9 kB / 0.5992 GB, free: 7.828 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.0003172/0.6499, allocations: 188 kB / 0.5994 GB, free: 7.637 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002413/0.6523, allocations: 1.745 MB / 0.6011 GB, free: 5.871 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.6523, allocations: 5.188 kB / 0.6011 GB, free: 5.867 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001475/0.6538, allocations: 1.176 MB / 0.6022 GB, free: 4.652 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00177/0.6556, allocations: 258.2 kB / 0.6025 GB, free: 4.398 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006953/0.6626, allocations: 5.532 MB / 0.6079 GB, free: 14.81 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00185/0.6644, allocations: 2.042 MB / 0.6099 GB, free: 12.73 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005863/0.6651, allocations: 107.4 kB / 0.61 GB, free: 12.62 MB / 394.7 MB Notification: Performance of SimCode: time 1.203e-06/0.6651, allocations: 0 / 0.61 GB, free: 12.62 MB / 394.7 MB Notification: Performance of Templates: time 0.0644/0.7295, allocations: 56.35 MB / 0.665 GB, free: 4.297 MB / 442.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.makefile (rm -f Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & ./Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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_cpp_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches