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.001281/0.001281, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.00102/0.00102, allocations: 165.9 kB / 24.99 MB, free: 8.336 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.9972/0.9972, allocations: 177.1 MB / 205.3 MB, free: 5.637 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 1.152e-06/1.152e-06, allocations: 0 / 273.1 MB, free: 1.836 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.155e-05/1.27e-05, allocations: 2.312 kB / 273.1 MB, free: 1.832 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.009396/0.009408, allocations: 9.715 MB / 282.8 MB, free: 8.07 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004657/0.01406, allocations: 3.334 MB / 286.1 MB, free: 4.727 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006133/0.01468, allocations: 83.56 kB / 286.2 MB, free: 4.645 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005098/0.01978, allocations: 4.107 MB / 290.3 MB, free: 0.5195 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.1192/0.139, allocations: 1.533 MB / 291.8 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001492/0.1404, allocations: 1.04 MB / 292.9 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.006877/0.1473, allocations: 9.642 MB / 302.5 MB, free: 10.99 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01274/0.1601, allocations: 12.85 MB / 315.4 MB, free: 4.152 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006602/0.1667, allocations: 7.564 MB / 322.9 MB, free: 13.25 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005544/0.1722, allocations: 6.03 MB / 329 MB, free: 7.609 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001848/0.1741, allocations: 1.398 MB / 330.4 MB, free: 6.211 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001711/0.1758, allocations: 1.648 MB / 332 MB, free: 4.602 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001557/0.1773, allocations: 3.02 MB / 335 MB, free: 1.758 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002761/0.1801, allocations: 3.711 MB / 338.7 MB, free: 14.23 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006511/0.1866, allocations: 9.723 MB / 348.5 MB, free: 5.008 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.1866, allocations: 4 kB / 348.5 MB, free: 5.004 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1866, allocations: 0 / 348.5 MB, free: 5.004 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001289/0.1867, allocations: 0 / 348.5 MB, free: 5.004 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.01624/0.203, allocations: 13.27 MB / 361.7 MB, free: 7.746 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/0.203, allocations: 8.031 kB / 361.7 MB, free: 7.738 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0277/0.2307, allocations: 10.03 MB / 371.8 MB, free: 13.81 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006265/0.237, allocations: 5.459 MB / 377.2 MB, free: 8.566 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000389/0.2374, allocations: 0.6668 MB / 377.9 MB, free: 7.906 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009343/0.2383, allocations: 0.8663 MB / 378.8 MB, free: 7.047 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01377/0.2521, allocations: 8.567 MB / 387.3 MB, free: 14.41 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001667/0.2522, allocations: 15.94 kB / 387.3 MB, free: 14.39 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00088/0.2531, allocations: 372 kB / 387.7 MB, free: 14.04 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004797/0.2536, allocations: 0.5504 MB / 388.3 MB, free: 13.48 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01266/0.2663, allocations: 5.107 MB / 393.4 MB, free: 8.348 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04657/0.3128, allocations: 37.46 MB / 430.8 MB, free: 2.699 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2096/0.5225, allocations: 6.23 MB / 437.1 MB, free: 105.8 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002445/0.5249, allocations: 1.384 MB / 438.4 MB, free: 105.7 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000314/0.5252, allocations: 142.7 kB / 438.6 MB, free: 105.7 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.846e-05/0.5253, allocations: 87.91 kB / 438.7 MB, free: 105.7 MB / 378.8 MB Notification: Performance of pre-optimization done (n=468): time 6.813e-06/0.5253, allocations: 2.438 kB / 438.7 MB, free: 105.7 MB / 378.8 MB Notification: Performance of matching and sorting (n=468): time 0.01097/0.5363, allocations: 6.123 MB / 444.8 MB, free: 105.4 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.578e-05/0.5363, allocations: 129.1 kB / 444.9 MB, free: 105.3 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003711/0.54, allocations: 4.045 MB / 449 MB, free: 104.9 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001847/0.5402, allocations: 99.45 kB / 449.1 MB, free: 104.9 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001369/0.5416, allocations: 4.358 MB / 453.4 MB, free: 103.2 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.000706/0.5423, allocations: 1.736 MB / 455.2 MB, free: 102.2 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001401/0.5437, allocations: 1.699 MB / 456.9 MB, free: 102.1 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 3.675e-05/0.5437, allocations: 476.8 kB / 457.3 MB, free: 101.6 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001606/0.5453, allocations: 1.135 MB / 458.5 MB, free: 101.6 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0026/0.5479, allocations: 5.425 MB / 463.9 MB, free: 96.52 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004571/0.5525, allocations: 7.216 MB / 471.1 MB, free: 89.9 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.052e-05/0.5525, allocations: 28.38 kB / 471.1 MB, free: 89.9 MB / 378.8 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.007899/0.5604, allocations: 6.955 MB / 478.1 MB, free: 86.45 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.926e-05/0.5605, allocations: 47.94 kB / 478.1 MB, free: 86.4 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.634e-05/0.5605, allocations: 92.88 kB / 478.2 MB, free: 86.31 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002873/0.5634, allocations: 1.535 MB / 479.7 MB, free: 85.28 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002705/0.5661, allocations: 1.682 MB / 481.4 MB, free: 83.85 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007772/0.5739, allocations: 15.71 MB / 497.1 MB, free: 68.18 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00259/0.5764, allocations: 0.9705 MB / 498.1 MB, free: 67.3 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003015/0.5767, allocations: 367.5 kB / 498.5 MB, free: 66.96 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.001772/0.5785, allocations: 0.6422 MB / 499.1 MB, free: 66.3 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005074/0.579, allocations: 0.5365 MB / 499.6 MB, free: 65.76 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006113/0.5851, allocations: 4.863 MB / 0.4927 GB, free: 61.61 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.789e-05/0.5852, allocations: 48 kB / 0.4927 GB, free: 61.56 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.779e-06/0.5852, allocations: 12 kB / 0.4927 GB, free: 61.55 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.726e-05/0.5852, allocations: 27.91 kB / 0.4928 GB, free: 61.52 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01297/0.5982, allocations: 12.36 MB / 0.5048 GB, free: 49.13 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.616e-06/0.5982, allocations: 8.047 kB / 0.5048 GB, free: 49.12 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001649/0.5998, allocations: 0.8698 MB / 0.5057 GB, free: 48.25 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002736/0.6026, allocations: 1.425 MB / 0.5071 GB, free: 46.8 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001737/0.6027, allocations: 112 kB / 0.5072 GB, free: 46.69 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007028/0.6098, allocations: 15.52 MB / 0.5223 GB, free: 30.46 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.6098, allocations: 7.938 kB / 0.5224 GB, free: 30.45 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007075/0.6168, allocations: 5.863 MB / 0.5281 GB, free: 24.36 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001207/0.618, allocations: 0.9528 MB / 0.529 GB, free: 23.41 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003431/0.6184, allocations: 84 kB / 0.5291 GB, free: 23.32 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001149/0.6195, allocations: 299.7 kB / 0.5294 GB, free: 23.03 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004691/0.62, allocations: 347.3 kB / 0.5297 GB, free: 22.69 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001887/0.6202, allocations: 144 kB / 0.5298 GB, free: 22.55 MB / 378.8 MB Notification: Performance of sorting global known variables: time 0.001756/0.622, allocations: 1.592 MB / 0.5314 GB, free: 20.96 MB / 378.8 MB Notification: Performance of sort global known variables: time 7e-08/0.622, allocations: 0 / 0.5314 GB, free: 20.96 MB / 378.8 MB Notification: Performance of remove unused functions: time 0.004594/0.6265, allocations: 2.407 MB / 0.5337 GB, free: 18.55 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.0004229/0.627, allocations: 269.1 kB / 0.534 GB, free: 18.27 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.006332/0.6333, allocations: 5.784 MB / 0.5397 GB, free: 12.35 MB / 378.8 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.6333, allocations: 448 / 0.5397 GB, free: 12.35 MB / 378.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002768/0.6361, allocations: 3.174 MB / 0.5428 GB, free: 9.055 MB / 378.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00188/0.638, allocations: 0.7545 MB / 0.5435 GB, free: 8.328 MB / 378.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01532/0.6533, allocations: 13.51 MB / 0.5567 GB, free: 10.69 MB / 394.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002061/0.6553, allocations: 2.527 MB / 0.5591 GB, free: 8.133 MB / 394.8 MB Notification: Performance of simCode: alias equations: time 0.004054/0.6594, allocations: 2.805 MB / 0.5619 GB, free: 5.32 MB / 394.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000889/0.6603, allocations: 400.4 kB / 0.5623 GB, free: 4.93 MB / 394.8 MB Notification: Performance of SimCode: time 1.894e-06/0.6603, allocations: 0 / 0.5623 GB, free: 4.93 MB / 394.8 MB Notification: Performance of Templates: time 0.1725/0.8328, allocations: 62.33 MB / 0.6231 GB, free: 79.06 MB / 394.8 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 -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.890212021069601]