Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001098/0.001098, allocations: 94.48 kB / 16.65 MB, free: 6.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000959/0.000959, allocations: 178.1 kB / 17.56 MB, free: 5.949 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.314/1.314, allocations: 223.3 MB / 241.6 MB, free: 204 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002554/0.0002553, allocations: 4 kB / 301.4 MB, free: 6.137 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09561/0.09588, allocations: 50.41 MB / 351.9 MB, free: 3.711 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.009046/0.105, allocations: 9.237 MB / 361.1 MB, free: 10.42 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006732/0.1117, allocations: 3.272 MB / 364.4 MB, free: 7.145 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001671/0.1135, allocations: 67.81 kB / 364.4 MB, free: 7.078 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002146/0.1156, allocations: 0.7001 MB / 365.1 MB, free: 6.375 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00428/0.1199, allocations: 1.393 MB / 366.5 MB, free: 4.98 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002347/0.1223, allocations: 0.9894 MB / 367.5 MB, free: 3.992 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.2486/0.3709, allocations: 9.05 MB / 376.6 MB, free: 9.105 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02864/0.3995, allocations: 18.98 MB / 395.5 MB, free: 2.711 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006282/0.4059, allocations: 3.582 MB / 399.1 MB, free: 0.8555 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00787/0.4138, allocations: 4.717 MB / 403.8 MB, free: 13.11 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001992/0.4158, allocations: 0.582 MB / 404.4 MB, free: 12.53 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003472/0.4193, allocations: 0.822 MB / 405.2 MB, free: 11.75 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002058/0.4214, allocations: 1.892 MB / 407.1 MB, free: 10.25 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00714/0.4285, allocations: 4.338 MB / 411.5 MB, free: 5.977 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01672/0.4453, allocations: 17.71 MB / 429.2 MB, free: 4.566 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.4453, allocations: 0 / 429.2 MB, free: 4.566 MB / 334.1 MB Notification: Performance of FrontEnd: time 4.419e-06/0.4453, allocations: 4 kB / 429.2 MB, free: 4.562 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0005246/0.4459, allocations: 3.938 kB / 429.2 MB, free: 4.559 MB / 334.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.02988/0.4758, allocations: 10.76 MB / 439.9 MB, free: 9.773 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.898e-05/0.4758, allocations: 8.031 kB / 440 MB, free: 9.766 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.048/0.5238, allocations: 8.487 MB / 448.4 MB, free: 1.371 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01346/0.5373, allocations: 5.95 MB / 454.4 MB, free: 11.62 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000789/0.5382, allocations: 0.6618 MB / 455.1 MB, free: 10.96 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003608/0.5418, allocations: 0.8657 MB / 455.9 MB, free: 10.11 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04093/0.5827, allocations: 15.99 MB / 471.9 MB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004391/0.5832, allocations: 11.98 kB / 471.9 MB, free: 10.1 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003088/0.5863, allocations: 365.1 kB / 472.3 MB, free: 9.75 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006306/0.587, allocations: 0.5544 MB / 472.8 MB, free: 9.191 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03242/0.6194, allocations: 15.72 MB / 488.5 MB, free: 9.453 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08808/0.7075, allocations: 48.46 MB / 0.5244 GB, free: 8.312 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3906/1.098, allocations: 19.32 MB / 0.5433 GB, free: 122.1 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006836/1.105, allocations: 3.594 MB / 0.5468 GB, free: 121.2 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005286/1.106, allocations: 175.9 kB / 0.547 GB, free: 121.1 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.165e-05/1.106, allocations: 85.06 kB / 0.547 GB, free: 121.1 MB / 446.1 MB Notification: Performance of pre-optimization done (n=468): time 6.642e-06/1.106, allocations: 0 / 0.547 GB, free: 121.1 MB / 446.1 MB Notification: Performance of matching and sorting (n=468): time 0.02466/1.13, allocations: 11.59 MB / 0.5584 GB, free: 117.2 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.404e-05/1.131, allocations: 128.5 kB / 0.5585 GB, free: 117.1 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006482/1.137, allocations: 3.844 MB / 0.5622 GB, free: 115.8 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007626/1.138, allocations: 101.3 kB / 0.5623 GB, free: 115.7 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002027/1.14, allocations: 3.897 MB / 0.5661 GB, free: 112.9 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001438/1.141, allocations: 1.604 MB / 0.5677 GB, free: 111.7 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007161/1.142, allocations: 0.5776 MB / 0.5683 GB, free: 111.4 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.441e-05/1.142, allocations: 301.1 kB / 0.5686 GB, free: 111.1 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004549/1.147, allocations: 3.683 MB / 0.5722 GB, free: 109.8 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005596/1.152, allocations: 6.53 MB / 0.5785 GB, free: 104.8 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01036/1.163, allocations: 10.82 MB / 0.5891 GB, free: 97.7 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.107e-05/1.163, allocations: 31.31 kB / 0.5891 GB, free: 97.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.01794/1.181, allocations: 11.94 MB / 0.6008 GB, free: 86.84 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.714e-05/1.181, allocations: 48 kB / 0.6008 GB, free: 86.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001614/1.181, allocations: 92 kB / 0.6009 GB, free: 86.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004546/1.185, allocations: 1.609 MB / 0.6025 GB, free: 85.07 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006047/1.192, allocations: 1.662 MB / 0.6041 GB, free: 83.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01534/1.207, allocations: 16.23 MB / 0.62 GB, free: 66.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005755/1.213, allocations: 0.9483 MB / 0.6209 GB, free: 65.44 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001172/1.214, allocations: 364 kB / 0.6212 GB, free: 65.09 MB / 446.1 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.006121/1.22, allocations: 3.758 MB / 0.6249 GB, free: 61.31 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001058/1.221, allocations: 387.1 kB / 0.6253 GB, free: 60.93 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01475/1.236, allocations: 8.573 MB / 0.6336 GB, free: 52.27 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.422e-05/1.236, allocations: 48 kB / 0.6337 GB, free: 52.23 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.7e-05/1.236, allocations: 12 kB / 0.6337 GB, free: 52.21 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.984e-05/1.236, allocations: 23.91 kB / 0.6337 GB, free: 52.19 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02942/1.265, allocations: 16.94 MB / 0.6503 GB, free: 35.19 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.373e-05/1.266, allocations: 4 kB / 0.6503 GB, free: 35.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003637/1.269, allocations: 0.8543 MB / 0.6511 GB, free: 34.33 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004536/1.274, allocations: 1.507 MB / 0.6526 GB, free: 32.8 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008808/1.275, allocations: 99.97 kB / 0.6527 GB, free: 32.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01482/1.29, allocations: 16.02 MB / 0.6683 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/1.29, allocations: 3.938 kB / 0.6683 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01746/1.307, allocations: 12.21 MB / 0.6802 GB, free: 3.457 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002434/1.309, allocations: 1.123 MB / 0.6813 GB, free: 2.309 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007555/1.31, allocations: 80 kB / 0.6814 GB, free: 2.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002798/1.313, allocations: 307.7 kB / 0.6817 GB, free: 1.93 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007942/1.314, allocations: 327.5 kB / 0.682 GB, free: 1.605 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002565/1.314, allocations: 136 kB / 0.6822 GB, free: 1.473 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003911/1.318, allocations: 2.575 MB / 0.6847 GB, free: 14.9 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.71e-07/1.318, allocations: 0 / 0.6847 GB, free: 14.9 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.008575/1.327, allocations: 2.377 MB / 0.687 GB, free: 12.52 MB / 462.1 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.001125/1.328, allocations: 263.8 kB / 0.6872 GB, free: 12.25 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01778/1.346, allocations: 9.356 MB / 0.6964 GB, free: 2.789 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.728e-05/1.346, allocations: 4 kB / 0.6964 GB, free: 2.785 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.2203/1.566, allocations: 4.468 MB / 0.7007 GB, free: 135.3 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005727/1.572, allocations: 0.6999 MB / 0.7014 GB, free: 135.3 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03392/1.606, allocations: 20.81 MB / 0.7218 GB, free: 127.2 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005974/1.612, allocations: 6.046 MB / 0.7277 GB, free: 125 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.007518/1.619, allocations: 3.253 MB / 0.7308 GB, free: 124.7 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00126/1.621, allocations: 372.4 kB / 0.7312 GB, free: 124.7 MB / 462.1 MB Notification: Performance of SimCode: time 1.322e-06/1.621, allocations: 7.938 kB / 0.7312 GB, free: 124.7 MB / 462.1 MB Notification: Performance of Templates: time 0.09567/1.716, allocations: 64.42 MB / 0.7941 GB, free: 71.71 MB / 462.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches