Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.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.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Ie.re|Ie.im|Im.re|Im.im",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Ie.re|Ie.im|Im.re|Im.im",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001142/0.001141, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.451/1.451, allocations: 226.7 MB / 245.5 MB, free: 6.965 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009341/0.000934, allocations: 100.8 kB / 296.7 MB, free: 6.469 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008852/0.0008852, allocations: 47.92 kB / 356.6 MB, free: 10.58 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2106/0.2115, allocations: 50.45 MB / 407.1 MB, free: 27.81 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.007407/0.2189, allocations: 9.879 MB / 416.9 MB, free: 17.89 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005542/0.2245, allocations: 3.397 MB / 420.3 MB, free: 14.49 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001213/0.2258, allocations: 67.81 kB / 420.4 MB, free: 14.43 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006078/0.2319, allocations: 3.617 MB / 424 MB, free: 10.8 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003126/0.235, allocations: 1.385 MB / 425.4 MB, free: 9.418 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001711/0.2367, allocations: 1.013 MB / 426.4 MB, free: 8.41 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.006568/0.2433, allocations: 9.342 MB / 435.8 MB, free: 15.04 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02046/0.2638, allocations: 17.3 MB / 453.1 MB, free: 13.61 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00558/0.2694, allocations: 4.519 MB / 457.6 MB, free: 9.074 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008133/0.2776, allocations: 5.927 MB / 463.5 MB, free: 3.129 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002982/0.2806, allocations: 1.027 MB / 464.5 MB, free: 2.102 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005561/0.2862, allocations: 1.269 MB / 465.8 MB, free: 0.832 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003021/0.2892, allocations: 2.532 MB / 468.3 MB, free: 14.29 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.007885/0.2971, allocations: 5.053 MB / 473.4 MB, free: 9.219 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01683/0.314, allocations: 18.49 MB / 491.9 MB, free: 6.68 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.926e-06/0.314, allocations: 4 kB / 491.9 MB, free: 6.676 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.314, allocations: 0 / 491.9 MB, free: 6.676 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0004389/0.3145, allocations: 4 kB / 491.9 MB, free: 6.672 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2549 * Number of variables: 2549 Notification: Performance of Generate backend data structure: time 0.03281/0.3473, allocations: 12.31 MB / 0.4924 GB, free: 10.28 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.3474, allocations: 8.031 kB / 0.4924 GB, free: 10.27 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04563/0.393, allocations: 8.51 MB / 0.5007 GB, free: 1.742 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3159/0.709, allocations: 5.745 MB / 0.5063 GB, free: 75.33 MB / 378.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00066/0.7097, allocations: 0.6639 MB / 0.5069 GB, free: 75.04 MB / 378.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003226/0.7129, allocations: 0.8737 MB / 0.5078 GB, free: 74.75 MB / 378.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03152/0.7444, allocations: 15.98 MB / 0.5234 GB, free: 68.24 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000424/0.7449, allocations: 6.031 kB / 0.5234 GB, free: 68.23 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002778/0.7477, allocations: 367.7 kB / 0.5238 GB, free: 67.88 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000457/0.7482, allocations: 0.5582 MB / 0.5243 GB, free: 67.32 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02481/0.773, allocations: 15.72 MB / 0.5397 GB, free: 51.58 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06926/0.8423, allocations: 49.06 MB / 0.5876 GB, free: 1.652 MB / 378.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01923/0.8616, allocations: 19.32 MB / 0.6064 GB, free: 12.21 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005307/0.8669, allocations: 3.582 MB / 0.6099 GB, free: 8.629 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006123/0.8676, allocations: 261 kB / 0.6102 GB, free: 8.355 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.621e-05/0.8677, allocations: 94.48 kB / 0.6103 GB, free: 8.254 MB / 410.8 MB Notification: Performance of pre-optimization done (n=468): time 7.103e-06/0.8677, allocations: 0 / 0.6103 GB, free: 8.254 MB / 410.8 MB Notification: Performance of matching and sorting (n=468): time 0.02544/0.8931, allocations: 11.51 MB / 0.6215 GB, free: 12.62 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.168e-05/0.8933, allocations: 133 kB / 0.6216 GB, free: 12.47 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007385/0.9006, allocations: 3.835 MB / 0.6254 GB, free: 8.625 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0008895/0.9016, allocations: 101.7 kB / 0.6255 GB, free: 8.52 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002864/0.9044, allocations: 3.9 MB / 0.6293 GB, free: 4.574 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002108/0.9066, allocations: 1.606 MB / 0.6309 GB, free: 2.945 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004788/0.9114, allocations: 1.464 MB / 0.6323 GB, free: 1.473 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0001096/0.9115, allocations: 305.1 kB / 0.6326 GB, free: 1.172 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006754/0.9183, allocations: 3.684 MB / 0.6362 GB, free: 13.48 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008713/0.927, allocations: 6.521 MB / 0.6425 GB, free: 5.668 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01507/0.9421, allocations: 10.82 MB / 0.6531 GB, free: 9.496 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001013/0.9422, allocations: 28 kB / 0.6531 GB, free: 9.469 MB / 458.8 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.02493/0.9672, allocations: 11.95 MB / 0.6648 GB, free: 13.44 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001277/0.9674, allocations: 48 kB / 0.6649 GB, free: 13.39 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001684/0.9675, allocations: 92 kB / 0.6649 GB, free: 13.3 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005273/0.9728, allocations: 1.605 MB / 0.6665 GB, free: 11.68 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006763/0.9796, allocations: 1.665 MB / 0.6681 GB, free: 10.01 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2325/1.212, allocations: 16.1 MB / 0.6839 GB, free: 148.3 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005451/1.218, allocations: 0.9582 MB / 0.6848 GB, free: 148 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001001/1.219, allocations: 351.8 kB / 0.6851 GB, free: 148 MB / 474.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 424 * 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 (876): * Single equations (assignments): 870 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(8,30,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005381/1.224, allocations: 3.764 MB / 0.6888 GB, free: 146.4 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006535/1.225, allocations: 391.7 kB / 0.6892 GB, free: 146.3 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01385/1.239, allocations: 8.569 MB / 0.6976 GB, free: 143.2 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.088e-05/1.239, allocations: 46.88 kB / 0.6976 GB, free: 143.2 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.134e-05/1.239, allocations: 13.72 kB / 0.6976 GB, free: 143.2 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.005e-05/1.239, allocations: 33.23 kB / 0.6976 GB, free: 143.2 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0261/1.265, allocations: 16.93 MB / 0.7142 GB, free: 136.8 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.113e-05/1.265, allocations: 3.812 kB / 0.7142 GB, free: 136.8 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003574/1.268, allocations: 0.8612 MB / 0.715 GB, free: 136.8 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004742/1.273, allocations: 1.501 MB / 0.7165 GB, free: 136.5 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009335/1.274, allocations: 103.6 kB / 0.7166 GB, free: 136.4 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0154/1.29, allocations: 15.88 MB / 0.7321 GB, free: 120.9 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/1.29, allocations: 4 kB / 0.7321 GB, free: 120.9 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02835/1.318, allocations: 19.39 MB / 0.751 GB, free: 101.1 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002795/1.321, allocations: 1.104 MB / 0.7521 GB, free: 100 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001231/1.322, allocations: 88 kB / 0.7522 GB, free: 99.91 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003388/1.325, allocations: 307.7 kB / 0.7525 GB, free: 99.61 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001262/1.327, allocations: 319.6 kB / 0.7528 GB, free: 99.3 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006313/1.327, allocations: 137.4 kB / 0.7529 GB, free: 99.16 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.004122/1.332, allocations: 2.578 MB / 0.7554 GB, free: 96.59 MB / 474.8 MB Notification: Performance of sort global known variables: time 1.7e-07/1.332, allocations: 4 kB / 0.7555 GB, free: 96.59 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.007746/1.339, allocations: 2.584 MB / 0.758 GB, free: 94 MB / 474.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (voltageSource_m.plug_p.reference.gamma,voltageSource_e.plug_p.reference.gamma) * 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 (455): * Single equations (assignments): 449 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(8,30,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008252/1.34, allocations: 268 kB / 0.7582 GB, free: 93.73 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.01294/1.353, allocations: 9.349 MB / 0.7674 GB, free: 84.28 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 7.925e-06/1.353, allocations: 0 / 0.7674 GB, free: 84.28 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.006272/1.359, allocations: 4.474 MB / 0.7717 GB, free: 79.73 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004207/1.364, allocations: 0.7006 MB / 0.7724 GB, free: 79.04 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02967/1.393, allocations: 23.27 MB / 0.7951 GB, free: 55.68 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007739/1.401, allocations: 6.178 MB / 0.8012 GB, free: 49.46 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.008152/1.409, allocations: 3.255 MB / 0.8044 GB, free: 46.2 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001727/1.411, allocations: 375.3 kB / 0.8047 GB, free: 45.84 MB / 474.8 MB Notification: Performance of SimCode: time 1.032e-06/1.411, allocations: 0 / 0.8047 GB, free: 45.84 MB / 474.8 MB Notification: Performance of Templates: time 0.2785/1.69, allocations: 67.79 MB / 0.8709 GB, free: 137 MB / 474.8 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/PolyphaseInductance/PolyphaseInductance.csv","../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches