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.00107/0.00107, allocations: 122.2 kB / 17.79 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001057/0.001057, allocations: 197.2 kB / 18.73 MB, free: 4.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.312/1.312, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001074/0.001074, allocations: 63.89 kB / 358.7 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2527/0.2538, allocations: 50.55 MB / 409.3 MB, free: 1.551 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.01041/0.2643, allocations: 10.01 MB / 419.3 MB, free: 7.496 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006406/0.2707, allocations: 3.392 MB / 422.7 MB, free: 4.094 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001415/0.2722, allocations: 71.81 kB / 422.7 MB, free: 4.023 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008481/0.2807, allocations: 3.842 MB / 426.6 MB, free: 176 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004641/0.2854, allocations: 1.481 MB / 428.1 MB, free: 14.69 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00268/0.2881, allocations: 1.066 MB / 429.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.009993/0.2981, allocations: 9.251 MB / 438.4 MB, free: 4.336 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03278/0.3309, allocations: 20.34 MB / 458.7 MB, free: 15.86 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007493/0.3385, allocations: 5.07 MB / 463.8 MB, free: 10.78 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008899/0.3474, allocations: 6.103 MB / 469.9 MB, free: 4.656 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003392/0.3508, allocations: 1.395 MB / 471.3 MB, free: 3.262 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005545/0.3564, allocations: 1.66 MB / 472.9 MB, free: 1.602 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004516/0.3609, allocations: 2.923 MB / 475.9 MB, free: 14.67 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009427/0.3704, allocations: 5.451 MB / 481.3 MB, free: 9.199 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0218/0.3922, allocations: 18.86 MB / 0.4884 GB, free: 6.289 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.742e-06/0.3922, allocations: 0 / 0.4884 GB, free: 6.289 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3923, allocations: 0 / 0.4884 GB, free: 6.289 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004511/0.3927, allocations: 0 / 0.4884 GB, free: 6.289 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.03393/0.4267, allocations: 12.26 MB / 0.5004 GB, free: 9.949 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.4267, allocations: 8.031 kB / 0.5004 GB, free: 9.941 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04726/0.474, allocations: 8.553 MB / 0.5088 GB, free: 1.367 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01261/0.4866, allocations: 5.894 MB / 0.5145 GB, free: 11.41 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005157/0.4872, allocations: 0.6584 MB / 0.5152 GB, free: 10.75 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003311/0.4905, allocations: 0.8671 MB / 0.516 GB, free: 9.879 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03084/0.5213, allocations: 15.98 MB / 0.5316 GB, free: 9.855 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002088/0.5216, allocations: 7.906 kB / 0.5316 GB, free: 9.848 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001207/0.5228, allocations: 368 kB / 0.532 GB, free: 9.488 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004885/0.5233, allocations: 0.5621 MB / 0.5325 GB, free: 8.922 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.411/0.9343, allocations: 15.72 MB / 0.5479 GB, free: 108.2 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05775/0.9921, allocations: 48.51 MB / 0.5953 GB, free: 69.66 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01376/1.006, allocations: 19.32 MB / 0.6141 GB, free: 48.25 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004121/1.01, allocations: 3.586 MB / 0.6176 GB, free: 44.66 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003679/1.01, allocations: 269.5 kB / 0.6179 GB, free: 44.38 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.197e-05/1.011, allocations: 82.56 kB / 0.618 GB, free: 44.29 MB / 462.1 MB Notification: Performance of pre-optimization done (n=468): time 6.672e-06/1.011, allocations: 0 / 0.618 GB, free: 44.29 MB / 462.1 MB Notification: Performance of matching and sorting (n=468): time 0.01866/1.029, allocations: 11.55 MB / 0.6293 GB, free: 32.61 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.747e-05/1.029, allocations: 125.1 kB / 0.6294 GB, free: 32.46 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004358/1.034, allocations: 3.846 MB / 0.6331 GB, free: 28.61 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002749/1.034, allocations: 105.6 kB / 0.6332 GB, free: 28.5 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001345/1.035, allocations: 3.893 MB / 0.637 GB, free: 24.59 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009307/1.036, allocations: 1.616 MB / 0.6386 GB, free: 22.98 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001828/1.038, allocations: 1.464 MB / 0.64 GB, free: 21.51 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 4.824e-05/1.038, allocations: 301.1 kB / 0.6403 GB, free: 21.21 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004108/1.042, allocations: 3.691 MB / 0.6439 GB, free: 17.52 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005301/1.048, allocations: 6.524 MB / 0.6503 GB, free: 9.688 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01132/1.059, allocations: 10.83 MB / 0.6609 GB, free: 13.52 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.41e-05/1.059, allocations: 28 kB / 0.6609 GB, free: 13.5 MB / 478.1 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.02121/1.08, allocations: 11.95 MB / 0.6726 GB, free: 1.473 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.433e-05/1.08, allocations: 48.06 kB / 0.6726 GB, free: 1.426 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001075/1.08, allocations: 92 kB / 0.6727 GB, free: 1.336 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004567/1.085, allocations: 1.616 MB / 0.6743 GB, free: 15.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005616/1.091, allocations: 1.669 MB / 0.6759 GB, free: 14.03 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01852/1.109, allocations: 17.65 MB / 0.6932 GB, free: 11.53 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005038/1.114, allocations: 0.9526 MB / 0.6941 GB, free: 10.57 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009596/1.115, allocations: 360 kB / 0.6944 GB, free: 10.22 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.00559/1.121, allocations: 3.762 MB / 0.6981 GB, free: 6.445 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007172/1.122, allocations: 391.1 kB / 0.6985 GB, free: 6.059 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01442/1.136, allocations: 8.576 MB / 0.7069 GB, free: 13.39 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.879e-05/1.136, allocations: 48 kB / 0.7069 GB, free: 13.35 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.917e-05/1.136, allocations: 12 kB / 0.7069 GB, free: 13.34 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.105e-05/1.136, allocations: 23.91 kB / 0.7069 GB, free: 13.31 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02855/1.165, allocations: 16.78 MB / 0.7233 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.706e-05/1.165, allocations: 7.938 kB / 0.7233 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003443/1.168, allocations: 0.8543 MB / 0.7242 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004553/1.173, allocations: 1.519 MB / 0.7256 GB, free: 9.957 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003512/1.173, allocations: 99.98 kB / 0.7257 GB, free: 9.859 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01845/1.192, allocations: 17.46 MB / 0.7428 GB, free: 7.559 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/1.192, allocations: 0 / 0.7428 GB, free: 7.559 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2754/1.467, allocations: 12.24 MB / 0.7547 GB, free: 182.4 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002365/1.469, allocations: 1.102 MB / 0.7558 GB, free: 182.3 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005324/1.47, allocations: 83.66 kB / 0.7559 GB, free: 182.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00218/1.472, allocations: 308 kB / 0.7562 GB, free: 182.3 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000649/1.473, allocations: 319.8 kB / 0.7565 GB, free: 182.3 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002637/1.473, allocations: 137.1 kB / 0.7566 GB, free: 182.3 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003226/1.476, allocations: 2.57 MB / 0.7591 GB, free: 181.7 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/1.476, allocations: 0 / 0.7591 GB, free: 181.7 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006422/1.483, allocations: 2.386 MB / 0.7615 GB, free: 181.2 MB / 0.545 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.0005973/1.483, allocations: 268.4 kB / 0.7617 GB, free: 181.1 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01209/1.495, allocations: 9.383 MB / 0.7709 GB, free: 177.4 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.276e-06/1.495, allocations: 0 / 0.7709 GB, free: 177.4 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005978/1.501, allocations: 4.465 MB / 0.7752 GB, free: 175.3 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003661/1.505, allocations: 0.7462 MB / 0.776 GB, free: 175 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02337/1.529, allocations: 16.82 MB / 0.7924 GB, free: 164.6 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005393/1.534, allocations: 6.048 MB / 0.7983 GB, free: 159.9 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.00636/1.54, allocations: 3.249 MB / 0.8015 GB, free: 157.8 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001127/1.542, allocations: 381 kB / 0.8018 GB, free: 157.5 MB / 0.545 GB Notification: Performance of SimCode: time 9.12e-07/1.542, allocations: 0 / 0.8018 GB, free: 157.5 MB / 0.545 GB Notification: Performance of Templates: time 0.09206/1.634, allocations: 65.6 MB / 0.8659 GB, free: 93.5 MB / 0.545 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/PolyphaseInductance/PolyphaseInductance.csv","/var/lib/jenkins/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