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.001149/0.001149, allocations: 113 kB / 18.45 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001225/0.001225, allocations: 210.8 kB / 19.41 MB, free: 3.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.341/1.341, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 63.89 kB / 359.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2756/0.2769, allocations: 50.54 MB / 409.9 MB, free: 1.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.01118/0.2881, allocations: 10 MB / 419.9 MB, free: 7.539 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006832/0.295, allocations: 3.388 MB / 423.3 MB, free: 4.141 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001672/0.2967, allocations: 71.81 kB / 423.4 MB, free: 4.07 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008943/0.3056, allocations: 3.826 MB / 427.2 MB, free: 240 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004819/0.3105, allocations: 1.493 MB / 428.7 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002819/0.3133, allocations: 1.047 MB / 429.8 MB, free: 13.69 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01204/0.3254, allocations: 9.255 MB / 439 MB, free: 4.402 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03128/0.3567, allocations: 20.35 MB / 459.4 MB, free: 15.92 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00787/0.3646, allocations: 5.066 MB / 464.4 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009579/0.3742, allocations: 6.099 MB / 470.5 MB, free: 4.727 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004178/0.3785, allocations: 1.395 MB / 471.9 MB, free: 3.332 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005633/0.3841, allocations: 1.66 MB / 473.6 MB, free: 1.672 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004917/0.3891, allocations: 2.927 MB / 476.5 MB, free: 14.74 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009648/0.3988, allocations: 5.451 MB / 482 MB, free: 9.266 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02014/0.4189, allocations: 18.85 MB / 0.4891 GB, free: 6.359 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.431e-06/0.419, allocations: 0 / 0.4891 GB, free: 6.359 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.419, allocations: 0 / 0.4891 GB, free: 6.359 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0005093/0.4195, allocations: 0 / 0.4891 GB, free: 6.359 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.03894/0.4584, allocations: 12.27 MB / 0.5011 GB, free: 10.01 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.215e-05/0.4585, allocations: 12.03 kB / 0.5011 GB, free: 9.996 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05049/0.509, allocations: 8.549 MB / 0.5094 GB, free: 1.426 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01347/0.5225, allocations: 5.883 MB / 0.5152 GB, free: 11.48 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006265/0.5232, allocations: 0.6623 MB / 0.5158 GB, free: 10.81 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00364/0.5268, allocations: 0.8671 MB / 0.5167 GB, free: 9.945 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04285/0.5697, allocations: 15.99 MB / 0.5323 GB, free: 9.914 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003485/0.5701, allocations: 7.906 kB / 0.5323 GB, free: 9.906 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003009/0.5731, allocations: 368 kB / 0.5326 GB, free: 9.547 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006046/0.5737, allocations: 0.5543 MB / 0.5332 GB, free: 8.988 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4152/0.9889, allocations: 15.72 MB / 0.5485 GB, free: 108.4 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0611/1.05, allocations: 48.51 MB / 0.5959 GB, free: 69.76 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01421/1.064, allocations: 19.33 MB / 0.6148 GB, free: 48.34 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004063/1.068, allocations: 3.586 MB / 0.6183 GB, free: 44.75 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003523/1.069, allocations: 271.4 kB / 0.6185 GB, free: 44.47 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.502e-05/1.069, allocations: 86.56 kB / 0.6186 GB, free: 44.38 MB / 462.1 MB Notification: Performance of pre-optimization done (n=468): time 5.65e-06/1.069, allocations: 3.938 kB / 0.6186 GB, free: 44.37 MB / 462.1 MB Notification: Performance of matching and sorting (n=468): time 0.02011/1.089, allocations: 11.55 MB / 0.6299 GB, free: 32.69 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.487e-05/1.089, allocations: 125.1 kB / 0.63 GB, free: 32.55 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004884/1.094, allocations: 3.85 MB / 0.6338 GB, free: 28.69 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006652/1.095, allocations: 97.7 kB / 0.6339 GB, free: 28.59 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001548/1.096, allocations: 3.889 MB / 0.6377 GB, free: 24.68 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001155/1.097, allocations: 1.609 MB / 0.6392 GB, free: 23.09 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001763/1.099, allocations: 1.468 MB / 0.6407 GB, free: 21.61 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 4.158e-05/1.099, allocations: 305.1 kB / 0.641 GB, free: 21.31 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004255/1.103, allocations: 3.688 MB / 0.6446 GB, free: 17.62 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005451/1.109, allocations: 6.521 MB / 0.6509 GB, free: 9.797 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01089/1.12, allocations: 10.83 MB / 0.6615 GB, free: 13.63 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.016e-05/1.12, allocations: 28 kB / 0.6615 GB, free: 13.61 MB / 478.1 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.02195/1.142, allocations: 11.95 MB / 0.6732 GB, free: 1.578 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.862e-05/1.142, allocations: 44 kB / 0.6733 GB, free: 1.535 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001686/1.142, allocations: 92 kB / 0.6733 GB, free: 1.445 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005041/1.147, allocations: 1.621 MB / 0.6749 GB, free: 15.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006356/1.154, allocations: 1.669 MB / 0.6766 GB, free: 14.13 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02081/1.174, allocations: 17.66 MB / 0.6938 GB, free: 11.63 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00569/1.18, allocations: 0.9523 MB / 0.6947 GB, free: 10.67 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001166/1.181, allocations: 360 kB / 0.6951 GB, free: 10.32 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.007297/1.189, allocations: 3.754 MB / 0.6987 GB, free: 6.547 MB / 0.4982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000987/1.19, allocations: 395 kB / 0.6991 GB, free: 6.156 MB / 0.4982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01615/1.206, allocations: 8.569 MB / 0.7075 GB, free: 13.5 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.413e-05/1.206, allocations: 48 kB / 0.7075 GB, free: 13.45 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-05/1.206, allocations: 16 kB / 0.7076 GB, free: 13.44 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.064e-05/1.206, allocations: 23.91 kB / 0.7076 GB, free: 13.41 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02971/1.236, allocations: 16.77 MB / 0.724 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.948e-05/1.236, allocations: 12.19 kB / 0.724 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003714/1.239, allocations: 0.8581 MB / 0.7248 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005064/1.245, allocations: 1.518 MB / 0.7263 GB, free: 10.06 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006332/1.245, allocations: 99.98 kB / 0.7264 GB, free: 9.961 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02026/1.265, allocations: 17.46 MB / 0.7434 GB, free: 7.664 MB / 0.5451 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/1.266, allocations: 4 kB / 0.7434 GB, free: 7.66 MB / 0.5451 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2766/1.542, allocations: 12.22 MB / 0.7554 GB, free: 182.3 MB / 0.5451 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002567/1.545, allocations: 1.1 MB / 0.7564 GB, free: 182.2 MB / 0.5451 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006946/1.545, allocations: 90.95 kB / 0.7565 GB, free: 182.2 MB / 0.5451 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002487/1.548, allocations: 303.5 kB / 0.7568 GB, free: 182.2 MB / 0.5451 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006554/1.549, allocations: 317.6 kB / 0.7571 GB, free: 182.2 MB / 0.5451 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002487/1.549, allocations: 138.2 kB / 0.7573 GB, free: 182.2 MB / 0.5451 GB Notification: Performance of sorting global known variables: time 0.003234/1.552, allocations: 2.576 MB / 0.7598 GB, free: 181.7 MB / 0.5451 GB Notification: Performance of sort global known variables: time 1.4e-07/1.552, allocations: 3.094 kB / 0.7598 GB, free: 181.7 MB / 0.5451 GB Notification: Performance of remove unused functions: time 0.00711/1.559, allocations: 2.388 MB / 0.7621 GB, free: 181.2 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.0009666/1.56, allocations: 265.3 kB / 0.7624 GB, free: 181 MB / 0.5451 GB Notification: Performance of simCode: created initialization part: time 0.01449/1.575, allocations: 9.384 MB / 0.7715 GB, free: 177.3 MB / 0.5451 GB Notification: Performance of simCode: created event and clocks part: time 1.332e-05/1.575, allocations: 3.906 kB / 0.7715 GB, free: 177.3 MB / 0.5451 GB Notification: Performance of simCode: created simulation system equations: time 0.007469/1.582, allocations: 4.474 MB / 0.7759 GB, free: 175.3 MB / 0.5451 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004643/1.587, allocations: 0.7387 MB / 0.7766 GB, free: 175 MB / 0.5451 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02638/1.613, 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.006215/1.62, allocations: 5.929 MB / 0.7988 GB, free: 160 MB / 0.5451 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001979/1.622, allocations: 436.6 kB / 0.7992 GB, free: 159.6 MB / 0.5451 GB Notification: Performance of SimCode: time 1.603e-06/1.622, allocations: 4 kB / 0.7992 GB, free: 159.6 MB / 0.5451 GB Notification: Performance of Templates: time 0.8685/2.49, allocations: 417.4 MB / 1.207 GB, free: 170.1 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