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.001188/0.001188, allocations: 79.69 kB / 21.7 MB, free: 2.852 MB / 18.57 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.001532/0.001532, allocations: 163 kB / 24.99 MB, free: 9.32 MB / 18.57 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 0.9556/0.9556, allocations: 177 MB / 205.2 MB, free: 5.637 MB / 186.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 9.92e-07/9.92e-07, allocations: 0 / 273 MB, free: 1.789 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.005e-05/1.104e-05, allocations: 2.312 kB / 273 MB, free: 1.785 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.007138/0.007149, allocations: 9.708 MB / 282.7 MB, free: 8.023 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003623/0.01077, allocations: 3.334 MB / 286 MB, free: 4.68 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004534/0.01123, allocations: 87.56 kB / 286.1 MB, free: 4.594 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003773/0.015, allocations: 4.092 MB / 290.2 MB, free: 496 kB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1032/0.1182, allocations: 1.535 MB / 291.8 MB, free: 13.59 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001549/0.1197, allocations: 1.039 MB / 292.8 MB, free: 13.59 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.007346/0.1271, allocations: 9.632 MB / 302.4 MB, free: 10.77 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01116/0.1382, allocations: 12.86 MB / 315.3 MB, free: 3.934 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006117/0.1444, allocations: 7.553 MB / 322.8 MB, free: 13.05 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005437/0.1498, allocations: 6.038 MB / 328.9 MB, free: 7.402 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001574/0.1514, allocations: 1.395 MB / 330.3 MB, free: 6.008 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001822/0.1532, allocations: 1.649 MB / 331.9 MB, free: 4.395 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001648/0.1548, allocations: 3.021 MB / 334.9 MB, free: 1.555 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003537/0.1584, allocations: 3.718 MB / 338.7 MB, free: 14.04 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007316/0.1657, allocations: 9.718 MB / 348.4 MB, free: 4.82 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.1657, allocations: 0 / 348.4 MB, free: 4.82 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1657, allocations: 0 / 348.4 MB, free: 4.82 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001414/0.1658, allocations: 0 / 348.4 MB, free: 4.82 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.01757/0.1834, allocations: 13.27 MB / 361.7 MB, free: 7.562 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.1834, allocations: 11.98 kB / 361.7 MB, free: 7.551 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02877/0.2122, allocations: 10.03 MB / 371.7 MB, free: 13.63 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008028/0.2202, allocations: 5.458 MB / 377.2 MB, free: 8.383 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003999/0.2206, allocations: 0.667 MB / 377.8 MB, free: 7.723 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001584/0.2222, allocations: 0.8773 MB / 378.7 MB, free: 6.855 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01522/0.2375, allocations: 8.564 MB / 387.3 MB, free: 14.21 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001662/0.2376, allocations: 11.95 kB / 387.3 MB, free: 14.2 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007557/0.2384, allocations: 369.4 kB / 387.6 MB, free: 13.85 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003705/0.2387, allocations: 0.5582 MB / 388.2 MB, free: 13.29 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01133/0.2501, allocations: 5.104 MB / 393.3 MB, free: 8.156 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04727/0.2973, allocations: 37.47 MB / 430.8 MB, free: 2.504 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2078/0.5052, allocations: 6.221 MB / 437 MB, free: 105.9 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002492/0.5076, allocations: 1.379 MB / 438.4 MB, free: 105.8 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003166/0.508, allocations: 147.7 kB / 438.5 MB, free: 105.8 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.114e-05/0.508, allocations: 89.7 kB / 438.6 MB, free: 105.8 MB / 378.8 MB Notification: Performance of pre-optimization done (n=468): time 8.215e-06/0.508, allocations: 3.844 kB / 438.6 MB, free: 105.8 MB / 378.8 MB Notification: Performance of matching and sorting (n=468): time 0.01141/0.5194, allocations: 6.116 MB / 444.7 MB, free: 105.5 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.651e-05/0.5195, allocations: 130.7 kB / 444.8 MB, free: 105.4 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003948/0.5234, allocations: 4.051 MB / 448.9 MB, free: 105.1 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0002848/0.5237, allocations: 98.77 kB / 449 MB, free: 105 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001625/0.5253, allocations: 4.358 MB / 453.3 MB, free: 103.3 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008516/0.5262, allocations: 1.732 MB / 455.1 MB, free: 102.3 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001424/0.5276, allocations: 1.701 MB / 456.8 MB, free: 102.2 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 3.852e-05/0.5277, allocations: 479.9 kB / 457.3 MB, free: 101.7 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001646/0.5293, allocations: 1.136 MB / 458.4 MB, free: 101.7 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002763/0.5321, allocations: 5.418 MB / 463.8 MB, free: 96.62 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005089/0.5372, allocations: 7.219 MB / 471 MB, free: 90.03 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.202e-05/0.5372, allocations: 32.58 kB / 471.1 MB, free: 90.03 MB / 378.8 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.008648/0.5458, allocations: 6.95 MB / 478 MB, free: 86.36 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.885e-05/0.5459, allocations: 52 kB / 478.1 MB, free: 86.31 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-05/0.546, allocations: 92 kB / 478.1 MB, free: 86.22 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003187/0.5492, allocations: 1.535 MB / 479.7 MB, free: 85.19 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003165/0.5523, allocations: 1.675 MB / 481.4 MB, free: 83.77 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008056/0.5604, allocations: 15.72 MB / 497.1 MB, free: 68.09 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003839/0.5642, allocations: 0.9673 MB / 498 MB, free: 67.21 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004144/0.5646, allocations: 363.1 kB / 498.4 MB, free: 66.86 MB / 378.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.00189/0.5665, allocations: 0.6442 MB / 499 MB, free: 66.21 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005991/0.5671, allocations: 0.5404 MB / 499.6 MB, free: 65.66 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006189/0.5733, allocations: 4.864 MB / 0.4926 GB, free: 61.4 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.658e-05/0.5733, allocations: 48 kB / 0.4927 GB, free: 61.36 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.497e-05/0.5733, allocations: 12 kB / 0.4927 GB, free: 61.34 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.552e-05/0.5734, allocations: 27.91 kB / 0.4927 GB, free: 61.32 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01469/0.5881, allocations: 12.34 MB / 0.5048 GB, free: 48.93 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.037e-05/0.5881, allocations: 0 / 0.5048 GB, free: 48.93 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001745/0.5898, allocations: 0.8698 MB / 0.5056 GB, free: 48.06 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002952/0.5928, allocations: 1.433 MB / 0.507 GB, free: 46.6 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002566/0.593, allocations: 116 kB / 0.5071 GB, free: 46.48 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007598/0.6006, allocations: 15.51 MB / 0.5223 GB, free: 30.26 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.6006, allocations: 8.875 kB / 0.5223 GB, free: 30.25 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007714/0.6083, allocations: 5.855 MB / 0.528 GB, free: 24.17 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001361/0.6097, allocations: 0.9522 MB / 0.5289 GB, free: 23.22 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003785/0.6101, allocations: 96.02 kB / 0.529 GB, free: 23.12 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00118/0.6113, allocations: 291.6 kB / 0.5293 GB, free: 22.84 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005171/0.6118, allocations: 351.3 kB / 0.5296 GB, free: 22.49 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001755/0.6119, allocations: 143.9 kB / 0.5298 GB, free: 22.35 MB / 378.8 MB Notification: Performance of sorting global known variables: time 0.001716/0.6137, allocations: 1.59 MB / 0.5313 GB, free: 20.77 MB / 378.8 MB Notification: Performance of sort global known variables: time 1.81e-07/0.6137, allocations: 4.656 kB / 0.5313 GB, free: 20.76 MB / 378.8 MB Notification: Performance of remove unused functions: time 0.004811/0.6185, allocations: 2.403 MB / 0.5337 GB, free: 18.35 MB / 378.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.000463/0.6189, allocations: 275.8 kB / 0.5339 GB, free: 18.07 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.006398/0.6253, allocations: 5.783 MB / 0.5396 GB, free: 12.15 MB / 378.8 MB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.6253, allocations: 4 kB / 0.5396 GB, free: 12.15 MB / 378.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002934/0.6283, allocations: 3.172 MB / 0.5427 GB, free: 8.855 MB / 378.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002072/0.6303, allocations: 0.7588 MB / 0.5434 GB, free: 8.125 MB / 378.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01623/0.6466, allocations: 13.51 MB / 0.5566 GB, free: 10.48 MB / 394.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002154/0.6487, allocations: 2.523 MB / 0.5591 GB, free: 7.93 MB / 394.8 MB Notification: Performance of simCode: alias equations: time 0.004715/0.6534, allocations: 2.809 MB / 0.5618 GB, free: 5.113 MB / 394.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008793/0.6543, allocations: 404.4 kB / 0.5622 GB, free: 4.719 MB / 394.8 MB Notification: Performance of SimCode: time 2.004e-06/0.6543, allocations: 0 / 0.5622 GB, free: 4.719 MB / 394.8 MB Notification: Performance of Templates: time 0.181/0.8353, allocations: 62.3 MB / 0.6231 GB, free: 78.66 MB / 394.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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.049842042848468]