Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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=10000,variableFilter="time|Ie.re|Ie.im|Im.re|Im.im",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|Ie.re|Ie.im|Im.re|Im.im",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001318/0.001318, allocations: 113.5 kB / 18.79 MB, free: 3.562 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001293/0.001293, allocations: 215.1 kB / 19.8 MB, free: 2.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.417/1.417, allocations: 230.4 MB / 251.1 MB, free: 8.43 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001929/0.001929, allocations: 67.83 kB / 369 MB, free: 6.051 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3152/0.3171, allocations: 53.32 MB / 422.3 MB, free: 7.859 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.01239/0.3295, allocations: 10.05 MB / 432.3 MB, free: 13.76 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00674/0.3363, allocations: 3.404 MB / 435.7 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00132/0.3376, allocations: 71.81 kB / 435.8 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009101/0.3467, allocations: 3.862 MB / 439.7 MB, free: 6.406 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004375/0.3511, allocations: 1.501 MB / 441.2 MB, free: 4.902 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002636/0.3537, allocations: 1.068 MB / 442.2 MB, free: 3.836 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01136/0.3651, allocations: 9.271 MB / 451.5 MB, free: 10.53 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02203/0.3871, allocations: 15.81 MB / 467.3 MB, free: 10.58 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00664/0.3937, allocations: 5.074 MB / 472.4 MB, free: 5.496 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009459/0.4032, allocations: 6.157 MB / 478.5 MB, free: 15.32 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003329/0.4065, allocations: 1.395 MB / 479.9 MB, free: 13.93 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004629/0.4111, allocations: 1.66 MB / 481.6 MB, free: 12.27 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003568/0.4147, allocations: 2.934 MB / 484.5 MB, free: 9.324 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007673/0.4224, allocations: 5.459 MB / 490 MB, free: 3.844 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02018/0.4426, allocations: 18.9 MB / 0.497 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.4426, allocations: 3.938 kB / 0.497 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.4426, allocations: 0 / 0.497 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.000345/0.4429, allocations: 0 / 0.497 GB, free: 0.8789 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.03402/0.4769, allocations: 12.45 MB / 0.5091 GB, free: 4.332 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.477, allocations: 16.03 kB / 0.5091 GB, free: 4.316 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04904/0.526, allocations: 8.417 MB / 0.5174 GB, free: 11.88 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.013/0.539, allocations: 5.911 MB / 0.5231 GB, free: 5.906 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007084/0.5397, allocations: 0.6623 MB / 0.5238 GB, free: 5.242 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003341/0.5431, allocations: 0.8671 MB / 0.5246 GB, free: 4.375 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03806/0.5811, allocations: 16.02 MB / 0.5403 GB, free: 4.312 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002396/0.5814, allocations: 15.89 kB / 0.5403 GB, free: 4.297 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001799/0.5832, allocations: 372 kB / 0.5406 GB, free: 3.934 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006031/0.5838, allocations: 0.5543 MB / 0.5412 GB, free: 3.375 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4234/1.007, allocations: 15.77 MB / 0.5566 GB, free: 98.14 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06554/1.073, allocations: 48.68 MB / 0.6041 GB, free: 55.31 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01403/1.087, allocations: 18.86 MB / 0.6225 GB, free: 34.37 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004388/1.091, allocations: 3.254 MB / 0.6257 GB, free: 31.11 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004002/1.092, allocations: 296.4 kB / 0.626 GB, free: 30.82 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.773e-05/1.092, allocations: 86.5 kB / 0.6261 GB, free: 30.72 MB / 462.1 MB Notification: Performance of pre-optimization done (n=468): time 6.162e-06/1.092, allocations: 0 / 0.6261 GB, free: 30.72 MB / 462.1 MB Notification: Performance of matching and sorting (n=468): time 0.01941/1.111, allocations: 11.57 MB / 0.6374 GB, free: 19.02 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.066e-05/1.111, allocations: 125.1 kB / 0.6375 GB, free: 18.88 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00453/1.116, allocations: 3.848 MB / 0.6413 GB, free: 15.09 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000721/1.116, allocations: 101.7 kB / 0.6414 GB, free: 14.98 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001623/1.118, allocations: 4.051 MB / 0.6453 GB, free: 11.38 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001462/1.119, allocations: 1.685 MB / 0.647 GB, free: 9.715 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001832/1.121, allocations: 1.492 MB / 0.6484 GB, free: 8.215 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 3.784e-05/1.121, allocations: 305.1 kB / 0.6487 GB, free: 7.914 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004327/1.126, allocations: 3.691 MB / 0.6523 GB, free: 4.215 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006862/1.132, allocations: 6.528 MB / 0.6587 GB, free: 12.39 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01513/1.148, allocations: 10.85 MB / 0.6693 GB, free: 204 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.597e-05/1.148, allocations: 28 kB / 0.6693 GB, free: 176 kB / 478.1 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.02283/1.171, allocations: 11.96 MB / 0.681 GB, free: 4.137 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.228e-05/1.171, allocations: 44 kB / 0.681 GB, free: 4.094 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001515/1.171, allocations: 92 kB / 0.6811 GB, free: 4.004 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004826/1.176, allocations: 1.617 MB / 0.6827 GB, free: 2.367 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006292/1.182, allocations: 1.677 MB / 0.6843 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02167/1.204, allocations: 17.68 MB / 0.7016 GB, free: 14.17 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005521/1.209, allocations: 0.9625 MB / 0.7026 GB, free: 13.2 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008826/1.21, allocations: 371.9 kB / 0.7029 GB, free: 12.84 MB / 0.5138 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.006015/1.216, allocations: 3.754 MB / 0.7066 GB, free: 9.07 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008003/1.217, allocations: 413.3 kB / 0.707 GB, free: 8.664 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01557/1.232, allocations: 8.518 MB / 0.7153 GB, free: 60 kB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.175e-05/1.232, allocations: 55.98 kB / 0.7153 GB, free: 4 kB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.043e-05/1.232, allocations: 15.98 kB / 0.7154 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.209e-05/1.232, allocations: 23.86 kB / 0.7154 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02966/1.262, allocations: 16.8 MB / 0.7318 GB, free: 14.99 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.716e-05/1.262, allocations: 4 kB / 0.7318 GB, free: 14.99 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003484/1.266, allocations: 0.8659 MB / 0.7326 GB, free: 14.12 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004602/1.27, allocations: 1.511 MB / 0.7341 GB, free: 12.59 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000367/1.271, allocations: 112 kB / 0.7342 GB, free: 12.48 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02106/1.292, allocations: 17.48 MB / 0.7513 GB, free: 10.16 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.469e-05/1.292, allocations: 7.938 kB / 0.7513 GB, free: 10.16 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2607/1.552, allocations: 12.23 MB / 0.7632 GB, free: 187.9 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003399/1.556, allocations: 1.122 MB / 0.7643 GB, free: 187.8 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009683/1.557, allocations: 88.8 kB / 0.7644 GB, free: 187.8 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002706/1.559, allocations: 297.3 kB / 0.7647 GB, free: 187.8 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007725/1.56, allocations: 330.9 kB / 0.765 GB, free: 187.8 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002844/1.56, allocations: 146.3 kB / 0.7652 GB, free: 187.8 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.003618/1.564, allocations: 2.571 MB / 0.7677 GB, free: 187.7 MB / 0.5607 GB Notification: Performance of sort global known variables: time 1.2e-07/1.564, allocations: 0 / 0.7677 GB, free: 187.7 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.007414/1.571, allocations: 2.408 MB / 0.77 GB, free: 187.6 MB / 0.5607 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.0009122/1.572, allocations: 265.5 kB / 0.7703 GB, free: 187.5 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01294/1.585, allocations: 9.024 MB / 0.7791 GB, free: 184.2 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 1.009e-05/1.585, allocations: 3.938 kB / 0.7791 GB, free: 184.2 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.006054/1.591, allocations: 4.172 MB / 0.7832 GB, free: 182.3 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003528/1.595, allocations: 0.7431 MB / 0.7839 GB, free: 182 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02575/1.621, allocations: 17.08 MB / 0.8006 GB, free: 173.7 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006349/1.627, allocations: 6.043 MB / 0.8065 GB, free: 169 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.006588/1.634, allocations: 3.255 MB / 0.8097 GB, free: 167 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001184/1.635, allocations: 406.4 kB / 0.81 GB, free: 166.6 MB / 0.5607 GB Notification: Performance of SimCode: time 1.553e-06/1.635, allocations: 0 / 0.81 GB, free: 166.6 MB / 0.5607 GB Notification: Performance of Templates: time 0.09934/1.734, allocations: 67.97 MB / 0.8764 GB, free: 101.4 MB / 0.5607 GB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/PolyphaseInductance/PolyphaseInductance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches