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.001003/0.001003, allocations: 200.2 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.363/1.363, allocations: 225.6 MB / 234.8 MB, free: 3.293 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007748/0.0007749, allocations: 94.92 kB / 286.7 MB, free: 5.215 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.346e-05/1.339e-05, allocations: 4 kB / 343.7 MB, free: 8.297 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.1047, allocations: 51.48 MB / 395.2 MB, free: 4.777 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3619/0.4666, allocations: 87.84 MB / 483 MB, free: 5.453 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002005/0.4669, allocations: 80.52 kB / 483.1 MB, free: 5.41 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.122/0.5889, allocations: 53.77 MB / 0.5243 GB, free: 4.375 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.589, allocations: 0 / 0.5243 GB, free: 4.375 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001238/0.5891, allocations: 55.94 kB / 0.5243 GB, free: 4.32 MB / 394.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.005856/0.595, allocations: 2.608 MB / 0.5269 GB, free: 1.652 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.595, allocations: 12.03 kB / 0.5269 GB, free: 1.641 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003574/0.5986, allocations: 0.6798 MB / 0.5276 GB, free: 0.957 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003/0.6016, allocations: 1.632 MB / 0.5291 GB, free: 15.26 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.135e-05/0.6017, allocations: 72.34 kB / 0.5292 GB, free: 15.19 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002808/0.602, allocations: 143.7 kB / 0.5294 GB, free: 15.05 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003739/0.6057, allocations: 2.438 MB / 0.5317 GB, free: 12.61 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004208/0.61, allocations: 2.682 MB / 0.5344 GB, free: 9.836 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.04e-05/0.61, allocations: 4 kB / 0.5344 GB, free: 9.832 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001838/0.6102, allocations: 4 kB / 0.5344 GB, free: 9.828 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.539e-05/0.6103, allocations: 66 kB / 0.5344 GB, free: 9.762 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01439/0.6247, allocations: 8.888 MB / 0.5431 GB, free: 0.5547 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004481/0.6292, allocations: 4.235 MB / 0.5472 GB, free: 11.69 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008768/0.6301, allocations: 0.7248 MB / 0.5479 GB, free: 10.96 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004301/0.6344, allocations: 3.114 MB / 0.551 GB, free: 7.59 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.389e-05/0.6345, allocations: 46.7 kB / 0.551 GB, free: 7.535 MB / 426.7 MB Notification: Performance of pre-optimization done (n=87): time 2.785e-06/0.6345, allocations: 0 / 0.551 GB, free: 7.535 MB / 426.7 MB Notification: Performance of matching and sorting (n=95): time 0.007191/0.6417, allocations: 3.562 MB / 0.5545 GB, free: 3.898 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.224e-05/0.6418, allocations: 114.8 kB / 0.5546 GB, free: 3.762 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001693/0.6435, allocations: 1.303 MB / 0.5559 GB, free: 2.453 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.596e-05/0.6436, allocations: 29.7 kB / 0.5559 GB, free: 2.418 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006955/0.6443, allocations: 1.106 MB / 0.557 GB, free: 1.297 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002859/0.6446, allocations: 327.2 kB / 0.5573 GB, free: 0.9727 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.674e-05/0.6446, allocations: 0 / 0.5573 GB, free: 0.9727 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001435/0.6448, allocations: 353.9 kB / 0.5577 GB, free: 0.6211 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006993/0.6455, allocations: 0.5491 MB / 0.5582 GB, free: 72 kB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009563/0.6464, allocations: 0.9116 MB / 0.5591 GB, free: 15 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001787/0.6482, allocations: 0.8987 MB / 0.56 GB, free: 14.1 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.293e-06/0.6483, allocations: 7.938 kB / 0.56 GB, free: 14.09 MB / 442.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003403/0.6517, allocations: 1.853 MB / 0.5618 GB, free: 12.23 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.653e-05/0.6517, allocations: 11.95 kB / 0.5618 GB, free: 12.22 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.778e-05/0.6517, allocations: 12 kB / 0.5618 GB, free: 12.21 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003355/0.6521, allocations: 122.1 kB / 0.5619 GB, free: 12.08 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001262/0.6533, allocations: 335.5 kB / 0.5622 GB, free: 11.75 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002546/0.6559, allocations: 3.048 MB / 0.5652 GB, free: 8.477 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001087/0.657, allocations: 79.69 kB / 0.5653 GB, free: 8.398 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.338e-05/0.6571, allocations: 52 kB / 0.5653 GB, free: 8.348 MB / 442.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 148 * 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.0002579/0.6574, allocations: 150.1 kB / 0.5655 GB, free: 8.199 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003388/0.6577, allocations: 146.2 kB / 0.5656 GB, free: 8.055 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003201/0.6609, allocations: 1.41 MB / 0.567 GB, free: 6.625 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.474e-05/0.661, allocations: 15.98 kB / 0.567 GB, free: 6.609 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.609e-05/0.661, allocations: 7.938 kB / 0.567 GB, free: 6.602 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.246e-05/0.661, allocations: 3.984 kB / 0.567 GB, free: 6.598 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003958/0.665, allocations: 2.065 MB / 0.569 GB, free: 4.48 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.665, allocations: 4 kB / 0.569 GB, free: 4.477 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008004/0.6658, allocations: 187.8 kB / 0.5692 GB, free: 4.293 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005861/0.6664, allocations: 252.3 kB / 0.5695 GB, free: 4.039 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.861e-05/0.6665, allocations: 19.98 kB / 0.5695 GB, free: 4.02 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2638/0.9303, allocations: 5.528 MB / 0.5749 GB, free: 92.47 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.553e-06/0.9304, allocations: 4.812 kB / 0.5749 GB, free: 92.47 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003714/0.9341, allocations: 2.524 MB / 0.5773 GB, free: 92.04 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004033/0.9345, allocations: 245.5 kB / 0.5776 GB, free: 91.95 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000174/0.9347, allocations: 11.88 kB / 0.5776 GB, free: 91.95 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008153/0.9355, allocations: 89.61 kB / 0.5777 GB, free: 91.95 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002168/0.9358, allocations: 92.34 kB / 0.5778 GB, free: 91.95 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.917e-05/0.9358, allocations: 29.86 kB / 0.5778 GB, free: 91.95 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001205/0.937, allocations: 0.9938 MB / 0.5788 GB, free: 91.84 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.937, allocations: 0 / 0.5788 GB, free: 91.84 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00144/0.9385, allocations: 409.3 kB / 0.5792 GB, free: 91.84 MB / 442.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,reluctance_s[2].V_m.im,reluctance_s[3].V_m.im) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (71): * Single equations (assignments): 68 * 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.00031/0.9388, allocations: 162 kB / 0.5793 GB, free: 91.75 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00199/0.9408, allocations: 1.489 MB / 0.5808 GB, free: 91.55 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.9408, allocations: 0 / 0.5808 GB, free: 91.55 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001253/0.9421, allocations: 1.055 MB / 0.5818 GB, free: 91.23 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001119/0.9432, allocations: 228 kB / 0.582 GB, free: 91.23 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005392/0.9486, allocations: 3.751 MB / 0.5857 GB, free: 90.36 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001438/0.9501, allocations: 2.135 MB / 0.5878 GB, free: 89.59 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001183/0.9513, allocations: 442.2 kB / 0.5882 GB, free: 89.55 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002473/0.9515, allocations: 90.94 kB / 0.5883 GB, free: 89.55 MB / 442.7 MB Notification: Performance of SimCode: time 9.92e-07/0.9515, allocations: 0 / 0.5883 GB, free: 89.55 MB / 442.7 MB Notification: Performance of Templates: time 0.02719/0.9787, allocations: 15.55 MB / 0.6035 GB, free: 88.93 MB / 442.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