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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.002089/0.002089, allocations: 117.7 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002296/0.002296, allocations: 208.8 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.408/2.408, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001803/0.001803, allocations: 55.91 kB / 359.4 MB, free: 12.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3388/0.3406, allocations: 50.54 MB / 409.9 MB, free: 1.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.0157/0.3563, allocations: 10 MB / 419.9 MB, free: 7.504 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01047/0.3669, allocations: 3.396 MB / 423.3 MB, free: 4.098 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003213/0.3701, allocations: 67.81 kB / 423.4 MB, free: 4.031 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01187/0.382, allocations: 3.831 MB / 427.2 MB, free: 196 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007427/0.3895, allocations: 1.473 MB / 428.7 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004128/0.3936, allocations: 1.059 MB / 429.8 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01541/0.4091, allocations: 9.258 MB / 439 MB, free: 4.363 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04365/0.4528, allocations: 20.34 MB / 459.4 MB, free: 15.89 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0101/0.4629, allocations: 5.066 MB / 464.4 MB, free: 10.81 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01304/0.476, allocations: 6.095 MB / 470.5 MB, free: 4.695 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005547/0.4816, allocations: 1.402 MB / 471.9 MB, free: 3.293 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008137/0.4898, allocations: 1.656 MB / 473.6 MB, free: 1.637 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00652/0.4964, allocations: 2.927 MB / 476.5 MB, free: 14.7 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0128/0.5092, allocations: 5.459 MB / 482 MB, free: 9.223 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02719/0.5365, allocations: 18.85 MB / 0.4891 GB, free: 6.32 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.106e-06/0.5365, allocations: 0 / 0.4891 GB, free: 6.32 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.424e-06/0.5365, allocations: 0 / 0.4891 GB, free: 6.32 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0005658/0.5371, allocations: 0 / 0.4891 GB, free: 6.32 MB / 414.1 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.04979/0.5869, allocations: 12.26 MB / 0.5011 GB, free: 9.98 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.182e-05/0.587, allocations: 11.97 kB / 0.5011 GB, free: 9.969 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0502/0.6372, allocations: 8.557 MB / 0.5094 GB, free: 1.391 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01496/0.6522, allocations: 5.879 MB / 0.5152 GB, free: 11.45 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006112/0.6529, allocations: 0.6623 MB / 0.5158 GB, free: 10.78 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003525/0.6564, allocations: 0.8671 MB / 0.5167 GB, free: 9.914 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03796/0.6944, allocations: 15.98 MB / 0.5323 GB, free: 9.891 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004049/0.6948, allocations: 15.91 kB / 0.5323 GB, free: 9.875 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003252/0.6981, allocations: 364 kB / 0.5326 GB, free: 9.52 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000608/0.6987, allocations: 0.5621 MB / 0.5332 GB, free: 8.953 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.6489/1.348, allocations: 15.72 MB / 0.5485 GB, free: 108.3 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1049/1.453, allocations: 48.52 MB / 0.5959 GB, free: 69.69 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02796/1.481, allocations: 19.33 MB / 0.6148 GB, free: 48.28 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008548/1.489, allocations: 3.586 MB / 0.6183 GB, free: 44.69 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009409/1.49, allocations: 265.4 kB / 0.6185 GB, free: 44.41 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001324/1.49, allocations: 86.5 kB / 0.6186 GB, free: 44.32 MB / 462.1 MB Notification: Performance of pre-optimization done (n=468): time 2.483e-05/1.49, allocations: 4 kB / 0.6186 GB, free: 44.31 MB / 462.1 MB Notification: Performance of matching and sorting (n=468): time 0.02708/1.517, allocations: 11.55 MB / 0.6299 GB, free: 32.64 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.332e-05/1.518, allocations: 129 kB / 0.63 GB, free: 32.49 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006527/1.524, allocations: 3.85 MB / 0.6338 GB, free: 28.63 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006828/1.525, allocations: 101.7 kB / 0.6339 GB, free: 28.53 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001976/1.527, allocations: 3.889 MB / 0.6377 GB, free: 24.62 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001631/1.528, allocations: 1.608 MB / 0.6392 GB, free: 23 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003251/1.532, allocations: 1.464 MB / 0.6407 GB, free: 21.53 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 5.275e-05/1.532, allocations: 305.1 kB / 0.641 GB, free: 21.23 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004846/1.537, allocations: 3.688 MB / 0.6446 GB, free: 17.54 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006049/1.543, allocations: 6.524 MB / 0.6509 GB, free: 9.711 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01134/1.554, allocations: 10.82 MB / 0.6615 GB, free: 13.55 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.44e-05/1.554, allocations: 32 kB / 0.6615 GB, free: 13.52 MB / 478.1 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.02228/1.576, allocations: 11.95 MB / 0.6732 GB, free: 1.492 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001558/1.577, allocations: 44 kB / 0.6733 GB, free: 1.449 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002666/1.577, allocations: 92 kB / 0.6733 GB, free: 1.359 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009298/1.586, allocations: 1.624 MB / 0.6749 GB, free: 15.71 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0118/1.598, allocations: 1.669 MB / 0.6766 GB, free: 14.04 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03504/1.633, allocations: 17.65 MB / 0.6938 GB, free: 11.55 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01017/1.643, allocations: 0.9601 MB / 0.6947 GB, free: 10.59 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002045/1.645, allocations: 356 kB / 0.6951 GB, free: 10.24 MB / 0.4982 GB 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.01214/1.658, allocations: 3.75 MB / 0.6987 GB, free: 6.473 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001587/1.659, allocations: 399 kB / 0.6991 GB, free: 6.078 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01749/1.677, allocations: 8.569 MB / 0.7075 GB, free: 13.42 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.932e-05/1.677, allocations: 48 kB / 0.7075 GB, free: 13.37 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.342e-05/1.677, allocations: 12 kB / 0.7075 GB, free: 13.36 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001011/1.677, allocations: 23.91 kB / 0.7076 GB, free: 13.34 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03776/1.715, allocations: 16.79 MB / 0.724 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.398e-05/1.715, allocations: 4 kB / 0.724 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003849/1.719, allocations: 0.8662 MB / 0.7248 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004911/1.724, allocations: 1.514 MB / 0.7263 GB, free: 9.969 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008765/1.725, allocations: 104 kB / 0.7264 GB, free: 9.867 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02778/1.752, allocations: 17.46 MB / 0.7434 GB, free: 7.578 MB / 0.5451 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-05/1.752, allocations: 7.938 kB / 0.7434 GB, free: 7.57 MB / 0.5451 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3655/2.118, allocations: 12.23 MB / 0.7554 GB, free: 182.5 MB / 0.5451 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004673/2.123, allocations: 1.098 MB / 0.7564 GB, free: 182.4 MB / 0.5451 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001511/2.124, allocations: 85.28 kB / 0.7565 GB, free: 182.4 MB / 0.5451 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004746/2.129, allocations: 301.5 kB / 0.7568 GB, free: 182.4 MB / 0.5451 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001135/2.13, allocations: 322.9 kB / 0.7571 GB, free: 182.4 MB / 0.5451 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004637/2.131, allocations: 144.4 kB / 0.7573 GB, free: 182.4 MB / 0.5451 GB Notification: Performance of sorting global known variables: time 0.005998/2.137, allocations: 2.573 MB / 0.7598 GB, free: 181.8 MB / 0.5451 GB Notification: Performance of sort global known variables: time 7.91e-07/2.137, allocations: 0 / 0.7598 GB, free: 181.8 MB / 0.5451 GB Notification: Performance of remove unused functions: time 0.01374/2.151, allocations: 2.389 MB / 0.7621 GB, free: 181.3 MB / 0.5451 GB 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.001599/2.152, allocations: 263.7 kB / 0.7624 GB, free: 181.2 MB / 0.5451 GB Notification: Performance of simCode: created initialization part: time 0.02279/2.175, allocations: 9.38 MB / 0.7715 GB, free: 177.5 MB / 0.5451 GB Notification: Performance of simCode: created event and clocks part: time 1.579e-05/2.175, allocations: 0 / 0.7715 GB, free: 177.5 MB / 0.5451 GB Notification: Performance of simCode: created simulation system equations: time 0.01217/2.187, allocations: 4.482 MB / 0.7759 GB, free: 175.4 MB / 0.5451 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007978/2.195, allocations: 0.7366 MB / 0.7766 GB, free: 175.1 MB / 0.5451 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04586/2.241, allocations: 16.76 MB / 0.793 GB, free: 164.6 MB / 0.5451 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0115/2.253, allocations: 5.931 MB / 0.7988 GB, free: 160 MB / 0.5451 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003827/2.257, allocations: 434.1 kB / 0.7992 GB, free: 159.6 MB / 0.5451 GB Notification: Performance of SimCode: time 1.783e-06/2.257, allocations: 3.719 kB / 0.7992 GB, free: 159.6 MB / 0.5451 GB Notification: Performance of Templates: time 2.601/4.858, allocations: 418.4 MB / 1.208 GB, free: 169.3 MB / 0.5607 GB 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/PolyphaseInductance/PolyphaseInductance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches