Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009076/0.0009076, allocations: 80.8 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001007/0.001007, allocations: 172.9 kB / 24.91 MB, free: 8.719 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.949/0.949, allocations: 177.1 MB / 205.3 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 7.42e-07/7.42e-07, allocations: 0 / 273.5 MB, free: 1.223 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 7.023e-06/7.765e-06, allocations: 2.312 kB / 273.5 MB, free: 1.219 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.006864/0.006872, allocations: 9.453 MB / 283 MB, free: 7.719 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004276/0.01115, allocations: 3.484 MB / 286.4 MB, free: 4.223 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005492/0.0117, allocations: 83.56 kB / 286.5 MB, free: 4.141 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004184/0.01588, allocations: 4.067 MB / 290.6 MB, free: 56 kB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.114/0.1299, allocations: 1.521 MB / 292.1 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00138/0.1313, allocations: 1.033 MB / 293.1 MB, free: 14.56 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.006127/0.1374, allocations: 9.665 MB / 302.8 MB, free: 11.25 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01102/0.1484, allocations: 13.16 MB / 316 MB, free: 3.465 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006595/0.155, allocations: 7.61 MB / 323.6 MB, free: 12.35 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005819/0.1609, allocations: 6.349 MB / 329.9 MB, free: 6.43 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002564/0.1634, allocations: 1.399 MB / 331.3 MB, free: 5.031 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001872/0.1653, allocations: 1.674 MB / 333 MB, free: 3.391 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001444/0.1667, allocations: 3.019 MB / 336 MB, free: 0.5508 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002967/0.1697, allocations: 3.711 MB / 339.7 MB, free: 13.02 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007763/0.1775, allocations: 9.715 MB / 349.4 MB, free: 3.777 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.1775, allocations: 0 / 349.4 MB, free: 3.777 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1775, allocations: 0 / 349.4 MB, free: 3.777 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001676/0.1776, allocations: 0 / 349.4 MB, free: 3.777 MB / 298.7 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.01438/0.192, allocations: 11.2 MB / 360.6 MB, free: 9.102 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/0.1921, allocations: 8.031 kB / 360.7 MB, free: 9.094 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02533/0.2174, allocations: 7.996 MB / 368.7 MB, free: 1.375 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006823/0.2242, allocations: 2.96 MB / 371.6 MB, free: 14.63 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003973/0.2246, allocations: 0.6588 MB / 372.3 MB, free: 13.98 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001698/0.2263, allocations: 0.8796 MB / 373.2 MB, free: 13.11 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01019/0.2365, allocations: 8.022 MB / 381.2 MB, free: 5.402 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001244/0.2366, allocations: 7.953 kB / 381.2 MB, free: 5.395 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000624/0.2372, allocations: 369.4 kB / 381.5 MB, free: 5.043 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003453/0.2376, allocations: 0.5582 MB / 382.1 MB, free: 4.48 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00633/0.2439, allocations: 4.445 MB / 386.5 MB, free: 15.98 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03765/0.2816, allocations: 27.85 MB / 414.4 MB, free: 3.754 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005751/0.2873, allocations: 4.455 MB / 418.9 MB, free: 15.31 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001343/0.2887, allocations: 0.9735 MB / 419.8 MB, free: 14.33 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002707/0.2889, allocations: 147.9 kB / 420 MB, free: 14.19 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.723e-05/0.289, allocations: 86.22 kB / 420.1 MB, free: 14.1 MB / 378.7 MB Notification: Performance of pre-optimization done (n=468): time 6.021e-06/0.289, allocations: 0 / 420.1 MB, free: 14.1 MB / 378.7 MB Notification: Performance of matching and sorting (n=468): time 0.008542/0.2975, allocations: 4.522 MB / 424.6 MB, free: 9.602 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.64e-05/0.2976, allocations: 125.1 kB / 424.7 MB, free: 9.461 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002857/0.3005, allocations: 2.423 MB / 427.1 MB, free: 7.023 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004939/0.301, allocations: 105.6 kB / 427.2 MB, free: 6.914 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001765/0.3027, allocations: 3.788 MB / 431 MB, free: 3.09 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001653/0.3044, allocations: 1.669 MB / 432.7 MB, free: 1.406 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001712/0.3061, allocations: 1.332 MB / 434 MB, free: 68 kB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.1251/0.4312, allocations: 301.9 kB / 434.3 MB, free: 98.39 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002793/0.434, allocations: 1.077 MB / 435.4 MB, free: 98.36 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002604/0.4366, allocations: 3.588 MB / 439 MB, free: 94.97 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005169/0.4418, allocations: 5.297 MB / 444.3 MB, free: 91.48 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001325/0.4419, allocations: 34.06 kB / 444.3 MB, free: 91.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.008221/0.4501, allocations: 5.216 MB / 449.5 MB, free: 91.17 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.384e-05/0.4502, allocations: 46.34 kB / 449.6 MB, free: 91.17 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001056/0.4503, allocations: 93.25 kB / 449.7 MB, free: 91.17 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002709/0.453, allocations: 1.377 MB / 451 MB, free: 91.09 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003515/0.4565, allocations: 1.583 MB / 452.6 MB, free: 91.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007047/0.4636, allocations: 10.93 MB / 463.5 MB, free: 83.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003789/0.4674, allocations: 0.786 MB / 464.3 MB, free: 83.4 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008332/0.4682, allocations: 292.2 kB / 464.6 MB, free: 83.4 MB / 378.7 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.002076/0.4703, allocations: 0.5991 MB / 465.2 MB, free: 83.22 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000535/0.4708, allocations: 378.3 kB / 465.6 MB, free: 83.22 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004693/0.4755, allocations: 3.686 MB / 469.3 MB, free: 82.86 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.981e-05/0.4755, allocations: 47.69 kB / 469.3 MB, free: 82.86 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-05/0.4756, allocations: 15.91 kB / 469.3 MB, free: 82.85 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.564e-05/0.4756, allocations: 21.98 kB / 469.4 MB, free: 82.85 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01148/0.4871, allocations: 8.601 MB / 478 MB, free: 81.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.508e-06/0.4871, allocations: 4.062 kB / 478 MB, free: 81.83 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001639/0.4887, allocations: 0.748 MB / 478.7 MB, free: 81.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002557/0.4913, allocations: 1.281 MB / 480 MB, free: 80.48 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003079/0.4916, allocations: 97.38 kB / 480.1 MB, free: 80.46 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006207/0.4978, allocations: 10.75 MB / 490.8 MB, free: 70.21 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.4978, allocations: 4 kB / 490.8 MB, free: 70.2 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005315/0.5031, allocations: 4.3 MB / 495.1 MB, free: 66.66 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001102/0.5042, allocations: 0.6248 MB / 495.8 MB, free: 66.03 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003981/0.5046, allocations: 84 kB / 495.8 MB, free: 65.95 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009629/0.5056, allocations: 124 kB / 496 MB, free: 65.83 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004889/0.5061, allocations: 331 kB / 496.3 MB, free: 65.51 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001751/0.5062, allocations: 101 kB / 496.4 MB, free: 65.41 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001122/0.5074, allocations: 1.033 MB / 497.4 MB, free: 64.5 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.5074, allocations: 0 / 497.4 MB, free: 64.5 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.004702/0.5121, allocations: 2.411 MB / 499.8 MB, free: 62.08 MB / 378.7 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.0004657/0.5125, allocations: 257.2 kB / 0.4884 GB, free: 61.86 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004849/0.5174, allocations: 4.332 MB / 0.4926 GB, free: 57.52 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001091/0.5175, allocations: 69.56 kB / 0.4927 GB, free: 57.44 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002168/0.5196, allocations: 2.379 MB / 0.495 GB, free: 55.02 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001873/0.5215, allocations: 0.7418 MB / 0.4957 GB, free: 54.32 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01538/0.5369, allocations: 13.08 MB / 0.5085 GB, free: 41.2 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001593/0.5385, allocations: 1.789 MB / 0.5102 GB, free: 39.39 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002318/0.5408, allocations: 0.7587 MB / 0.511 GB, free: 38.62 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001632/0.5424, allocations: 0.8817 MB / 0.5118 GB, free: 37.73 MB / 378.7 MB Notification: Performance of SimCode: time 1.733e-06/0.5424, allocations: 0 / 0.5118 GB, free: 37.73 MB / 378.7 MB Notification: Performance of Templates: time 0.07981/0.6223, allocations: 68 MB / 0.5782 GB, free: 2.461 MB / 410.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.6212693569250405]