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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007972/0.0007972, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001148/0.001946, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0007458/0.0007458, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001031/0.001777, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.033/1.033, allocations: 177.5 MB / 190 MB, free: 4.77 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08118/1.114, allocations: 53.87 MB / 243.9 MB, free: 14.83 MB / 250.7 MB " [Timeout remaining time 179] 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=10000,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=10000,variableFilter="time|Ie.re|Ie.im|Im.re|Im.im",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 245.2 MB, free: 13.55 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.082e-05/1.241e-05, allocations: 2.312 kB / 245.2 MB, free: 13.55 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.01128/0.01129, allocations: 9.517 MB / 254.7 MB, free: 3.98 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00543/0.01672, allocations: 3.511 MB / 258.2 MB, free: 468 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006969/0.01742, allocations: 87.56 kB / 258.3 MB, free: 380 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003705/0.02112, allocations: 4.067 MB / 262.4 MB, free: 12.29 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001997/0.02312, allocations: 1.527 MB / 263.9 MB, free: 10.75 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001404/0.02452, allocations: 1.036 MB / 264.9 MB, free: 9.715 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.2121/0.2366, allocations: 9.7 MB / 274.6 MB, free: 1.316 MB / 266.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01233/0.249, allocations: 12.8 MB / 287.4 MB, free: 14.82 MB / 282.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006447/0.2554, allocations: 7.788 MB / 295.2 MB, free: 11.69 MB / 282.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004385/0.2598, allocations: 6.331 MB / 301.6 MB, free: 10.13 MB / 282.8 MB Notification: Performance of NFPackage.collectConstants: time 0.001174/0.261, allocations: 1.397 MB / 303 MB, free: 10.06 MB / 282.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001833/0.2628, allocations: 1.661 MB / 304.6 MB, free: 8.473 MB / 282.8 MB Notification: Performance of NFScalarize.scalarize: time 0.001367/0.2642, allocations: 2.365 MB / 307 MB, free: 6.516 MB / 282.8 MB Notification: Performance of NFVerifyModel.verify: time 0.002485/0.2666, allocations: 3.046 MB / 310 MB, free: 3.578 MB / 282.8 MB Notification: Performance of NFConvertDAE.convert: time 0.008805/0.2754, allocations: 9.111 MB / 319.1 MB, free: 11.38 MB / 298.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.444e-05/0.2755, allocations: 0.625 kB / 319.1 MB, free: 11.38 MB / 298.8 MB Notification: Performance of FrontEnd: time 2.174e-06/0.2755, allocations: 0 / 319.1 MB, free: 11.38 MB / 298.8 MB Notification: Performance of Transformations before backend: time 0.0001717/0.2756, allocations: 4.812 kB / 319.1 MB, free: 11.38 MB / 298.8 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.01599/0.2916, allocations: 13.03 MB / 332.2 MB, free: 14.94 MB / 314.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.132e-05/0.2917, allocations: 8.625 kB / 332.2 MB, free: 14.93 MB / 314.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0237/0.3154, allocations: 7.982 MB / 340.2 MB, free: 7.234 MB / 314.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006573/0.3219, allocations: 2.957 MB / 343.1 MB, free: 4.492 MB / 314.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003149/0.3223, allocations: 0.6597 MB / 343.8 MB, free: 3.836 MB / 314.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001086/0.3233, allocations: 0.8738 MB / 344.7 MB, free: 2.973 MB / 314.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00933/0.3327, allocations: 8.024 MB / 352.7 MB, free: 11.27 MB / 330.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001177/0.3328, allocations: 7.75 kB / 352.7 MB, free: 11.26 MB / 330.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006475/0.3334, allocations: 372.8 kB / 353.1 MB, free: 10.91 MB / 330.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003423/0.3338, allocations: 0.5309 MB / 353.6 MB, free: 10.37 MB / 330.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005759/0.3395, allocations: 4.442 MB / 358 MB, free: 5.879 MB / 330.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03234/0.3719, allocations: 27.98 MB / 386 MB, free: 10.68 MB / 362.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007102/0.379, allocations: 4.548 MB / 390.6 MB, free: 6.246 MB / 362.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001341/0.3803, allocations: 0.9799 MB / 391.5 MB, free: 5.301 MB / 362.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002871/0.3806, allocations: 145.5 kB / 391.7 MB, free: 5.16 MB / 362.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.188e-05/0.3807, allocations: 86.55 kB / 391.8 MB, free: 5.066 MB / 362.8 MB Notification: Performance of pre-optimization done (n=468): time 8.085e-06/0.3807, allocations: 0 / 391.8 MB, free: 5.066 MB / 362.8 MB Notification: Performance of matching and sorting (n=468): time 0.0102/0.3909, allocations: 4.513 MB / 396.3 MB, free: 0.6016 MB / 362.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.715e-05/0.3909, allocations: 128.8 kB / 396.4 MB, free: 472 kB / 362.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002326/0.3933, allocations: 2.43 MB / 398.8 MB, free: 14.48 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0002381/0.3935, allocations: 101.7 kB / 398.9 MB, free: 14.38 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001905/0.3954, allocations: 3.784 MB / 402.7 MB, free: 10.55 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001051/0.3965, allocations: 1.669 MB / 404.4 MB, free: 8.871 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001671/0.3981, allocations: 1.336 MB / 405.7 MB, free: 7.527 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 6.738e-05/0.3982, allocations: 301.1 kB / 406 MB, free: 7.23 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00165/0.3998, allocations: 1.079 MB / 407.1 MB, free: 6.148 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002829/0.4027, allocations: 3.595 MB / 410.7 MB, free: 1.293 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005581/0.4083, allocations: 5.596 MB / 416.3 MB, free: 10.71 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-05/0.4083, allocations: 28 kB / 416.3 MB, free: 10.68 MB / 394.8 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.00942/0.4177, allocations: 5.211 MB / 421.5 MB, free: 6.047 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.181e-05/0.4178, allocations: 44 kB / 421.6 MB, free: 6.004 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.054e-05/0.4179, allocations: 96 kB / 421.7 MB, free: 5.91 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002748/0.4206, allocations: 1.401 MB / 423.1 MB, free: 4.492 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00303/0.4236, allocations: 1.716 MB / 424.8 MB, free: 2.895 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1505/0.5742, allocations: 10.86 MB / 435.6 MB, free: 95.61 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004197/0.5784, allocations: 0.7788 MB / 436.4 MB, free: 95.61 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001118/0.5795, allocations: 295.1 kB / 436.7 MB, free: 95.61 MB / 394.8 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.002567/0.582, allocations: 0.6014 MB / 437.3 MB, free: 95.49 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007643/0.5828, allocations: 377.5 kB / 437.7 MB, free: 95.49 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006017/0.5888, allocations: 3.689 MB / 441.4 MB, free: 95.18 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.095e-05/0.5889, allocations: 48.12 kB / 441.4 MB, free: 95.18 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-05/0.5889, allocations: 12.38 kB / 441.4 MB, free: 95.18 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-05/0.5889, allocations: 26.03 kB / 441.4 MB, free: 95.18 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01257/0.6015, allocations: 8.61 MB / 450.1 MB, free: 94.3 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.488e-06/0.6015, allocations: 6.031 kB / 450.1 MB, free: 94.3 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001849/0.6034, allocations: 0.8291 MB / 450.9 MB, free: 94.3 MB / 394.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001609/0.605, allocations: 0.6175 MB / 451.5 MB, free: 94.07 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002615/0.6076, allocations: 1.286 MB / 452.8 MB, free: 94 MB / 394.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002239/0.6078, allocations: 97.58 kB / 452.9 MB, free: 94 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006363/0.6142, allocations: 10.62 MB / 463.5 MB, free: 86.25 MB / 394.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.087e-05/0.6142, allocations: 11.5 kB / 463.5 MB, free: 86.25 MB / 394.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005911/0.6201, allocations: 4.337 MB / 467.9 MB, free: 85.48 MB / 394.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006504/0.6207, allocations: 85.25 kB / 467.9 MB, free: 85.48 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001083/0.6218, allocations: 124.1 kB / 468.1 MB, free: 85.48 MB / 394.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004773/0.6223, allocations: 328.5 kB / 468.4 MB, free: 85.47 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001788/0.6225, allocations: 99.59 kB / 468.5 MB, free: 85.47 MB / 394.8 MB Notification: Performance of sorting global known variables: time 0.001182/0.6237, allocations: 1.034 MB / 469.5 MB, free: 85.38 MB / 394.8 MB Notification: Performance of sort global known variables: time 5e-08/0.6237, allocations: 0 / 469.5 MB, free: 85.38 MB / 394.8 MB Notification: Performance of remove unused functions: time 0.005294/0.629, allocations: 2.406 MB / 471.9 MB, free: 84.88 MB / 394.8 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.0004838/0.6294, allocations: 256.4 kB / 472.2 MB, free: 84.8 MB / 394.8 MB Notification: Performance of simCode: created initialization part: time 0.00587/0.6353, allocations: 4.449 MB / 476.6 MB, free: 83.79 MB / 394.8 MB Notification: Performance of simCode: created event and clocks part: time 0.0001985/0.6355, allocations: 111.7 kB / 476.7 MB, free: 83.75 MB / 394.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002744/0.6383, allocations: 2.739 MB / 479.5 MB, free: 82.64 MB / 394.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003491/0.6417, allocations: 5.379 MB / 484.8 MB, free: 77.66 MB / 394.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05357/0.6953, allocations: 13.84 MB / 498.7 MB, free: 65 MB / 394.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002285/0.6976, allocations: 1.814 MB / 0.4888 GB, free: 63.74 MB / 394.8 MB Notification: Performance of simCode: alias equations: time 0.002607/0.7002, allocations: 0.6905 MB / 0.4894 GB, free: 63.21 MB / 394.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001504/0.7017, allocations: 0.7602 MB / 0.4902 GB, free: 62.52 MB / 394.8 MB Notification: Performance of SimCode: time 1.413e-06/0.7017, allocations: 4 kB / 0.4902 GB, free: 62.51 MB / 394.8 MB Notification: Performance of Templates: time 0.08612/0.7878, allocations: 68.88 MB / 0.5575 GB, free: 10.25 MB / 410.8 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.makefile [Timeout 660] (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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) [Timeout 240] 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.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/PolyphaseInductance/PolyphaseInductance.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.359830407425761]