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.001112/0.001112, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001828/0.002939, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001201/0.001201, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001647/0.002848, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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 1.037/1.037, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09554/1.133, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.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.573e-06/1.573e-06, allocations: 0 / 244.7 MB, free: 14.23 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.309e-05/1.466e-05, allocations: 2.312 kB / 244.7 MB, free: 14.23 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.007124/0.007138, allocations: 9.525 MB / 254.2 MB, free: 4.656 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.006625/0.01376, allocations: 3.507 MB / 257.7 MB, free: 1.137 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0013/0.01506, allocations: 87.56 kB / 257.8 MB, free: 1.051 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004156/0.01922, allocations: 4.071 MB / 261.9 MB, free: 12.96 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003278/0.0225, allocations: 1.527 MB / 263.4 MB, free: 11.43 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001291/0.02379, allocations: 1.03 MB / 264.5 MB, free: 10.39 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.006947/0.03074, allocations: 9.704 MB / 274.2 MB, free: 0.6562 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1382/0.169, allocations: 12.8 MB / 287 MB, free: 15.51 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01133/0.1803, allocations: 7.795 MB / 294.8 MB, free: 12.38 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007195/0.1875, allocations: 6.327 MB / 301.1 MB, free: 10.82 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003084/0.1906, allocations: 1.397 MB / 302.5 MB, free: 10.82 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003347/0.1939, allocations: 1.669 MB / 304.1 MB, free: 9.371 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001783/0.1957, allocations: 2.364 MB / 306.5 MB, free: 7.414 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003758/0.1995, allocations: 3.047 MB / 309.6 MB, free: 4.477 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01058/0.21, allocations: 9.11 MB / 318.7 MB, free: 12.32 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.54e-05/0.2101, allocations: 0 / 318.7 MB, free: 12.32 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.2101, allocations: 0 / 318.7 MB, free: 12.32 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0004424/0.2105, allocations: 1 kB / 318.7 MB, free: 12.32 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.02134/0.2318, allocations: 13.03 MB / 331.7 MB, free: 15.87 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.2319, allocations: 12.03 kB / 331.7 MB, free: 15.86 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02639/0.2583, allocations: 7.985 MB / 339.7 MB, free: 8.164 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008268/0.2665, allocations: 2.951 MB / 342.6 MB, free: 5.426 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004726/0.267, allocations: 0.6604 MB / 343.3 MB, free: 4.77 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002229/0.2692, allocations: 0.8703 MB / 344.2 MB, free: 3.91 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01521/0.2844, allocations: 8.028 MB / 352.2 MB, free: 12.2 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002183/0.2847, allocations: 7.953 kB / 352.2 MB, free: 12.19 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00122/0.2859, allocations: 369.5 kB / 352.6 MB, free: 11.84 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005/0.2864, allocations: 0.527 MB / 353.1 MB, free: 11.31 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0111/0.2975, allocations: 4.453 MB / 357.6 MB, free: 6.809 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04854/0.346, allocations: 27.98 MB / 385.5 MB, free: 11.61 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006794/0.3528, allocations: 4.538 MB / 390.1 MB, free: 7.188 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001141/0.354, allocations: 0.9804 MB / 391 MB, free: 6.242 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002564/0.3542, allocations: 147.9 kB / 391.2 MB, free: 6.098 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.807e-05/0.3543, allocations: 82.56 kB / 391.3 MB, free: 6.008 MB / 362.7 MB Notification: Performance of pre-optimization done (n=468): time 5.791e-06/0.3543, allocations: 0 / 391.3 MB, free: 6.008 MB / 362.7 MB Notification: Performance of matching and sorting (n=468): time 0.007998/0.3623, allocations: 4.517 MB / 395.8 MB, free: 1.547 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.05e-05/0.3623, allocations: 129.1 kB / 395.9 MB, free: 1.402 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002543/0.3649, allocations: 2.427 MB / 398.3 MB, free: 15.41 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003824/0.3653, allocations: 105.7 kB / 398.4 MB, free: 15.3 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001928/0.3672, allocations: 3.784 MB / 402.2 MB, free: 11.48 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00125/0.3684, allocations: 1.665 MB / 403.9 MB, free: 9.797 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001456/0.3699, allocations: 1.336 MB / 405.2 MB, free: 8.453 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.579e-05/0.37, allocations: 309.1 kB / 405.5 MB, free: 8.148 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001574/0.3715, allocations: 1.079 MB / 406.6 MB, free: 7.066 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002296/0.3738, allocations: 3.588 MB / 410.2 MB, free: 2.219 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005931/0.3798, allocations: 5.598 MB / 415.8 MB, free: 11.63 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.982e-05/0.3798, allocations: 28 kB / 415.8 MB, free: 11.61 MB / 394.7 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.007466/0.3873, allocations: 5.214 MB / 421 MB, free: 6.965 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.143e-05/0.3873, allocations: 44 kB / 421.1 MB, free: 6.922 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-05/0.3874, allocations: 95.98 kB / 421.2 MB, free: 6.828 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002776/0.3902, allocations: 1.402 MB / 422.6 MB, free: 5.41 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003382/0.3936, allocations: 1.724 MB / 424.3 MB, free: 3.805 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1467/0.5402, allocations: 10.85 MB / 435.2 MB, free: 96.85 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003938/0.5442, allocations: 0.7807 MB / 435.9 MB, free: 96.85 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007081/0.5449, allocations: 298.2 kB / 436.2 MB, free: 96.85 MB / 394.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.002193/0.5471, allocations: 0.596 MB / 436.8 MB, free: 96.73 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006909/0.5478, allocations: 375.3 kB / 437.2 MB, free: 96.73 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005594/0.5534, allocations: 3.695 MB / 440.9 MB, free: 96.42 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-05/0.5534, allocations: 48.78 kB / 440.9 MB, free: 96.42 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.122e-05/0.5534, allocations: 14.19 kB / 440.9 MB, free: 96.42 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.718e-05/0.5535, allocations: 26.25 kB / 441 MB, free: 96.42 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01234/0.5658, allocations: 8.6 MB / 449.6 MB, free: 95.54 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.307e-06/0.5658, allocations: 0.875 kB / 449.6 MB, free: 95.54 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001919/0.5677, allocations: 0.833 MB / 450.4 MB, free: 95.54 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001607/0.5693, allocations: 0.6286 MB / 451 MB, free: 95.29 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002526/0.5719, allocations: 1.287 MB / 452.3 MB, free: 95.22 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002012/0.5721, allocations: 95.86 kB / 452.4 MB, free: 95.22 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006218/0.5783, allocations: 10.62 MB / 463 MB, free: 87.47 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.268e-06/0.5783, allocations: 6.688 kB / 463 MB, free: 87.47 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005407/0.5837, allocations: 4.32 MB / 467.4 MB, free: 86.72 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006054/0.5843, allocations: 86.28 kB / 467.4 MB, free: 86.72 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001102/0.5854, allocations: 125.6 kB / 467.6 MB, free: 86.71 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004587/0.5859, allocations: 333.8 kB / 467.9 MB, free: 86.71 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001675/0.586, allocations: 105.9 kB / 468 MB, free: 86.7 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001165/0.5872, allocations: 1.032 MB / 469 MB, free: 86.61 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.5872, allocations: 0 / 469 MB, free: 86.61 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.005307/0.5925, allocations: 2.411 MB / 471.4 MB, free: 86.11 MB / 394.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.000515/0.593, allocations: 256.3 kB / 471.7 MB, free: 86.03 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.005856/0.5989, allocations: 4.452 MB / 476.1 MB, free: 85.05 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0002049/0.5991, allocations: 112.7 kB / 476.3 MB, free: 85.01 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002999/0.6021, allocations: 2.74 MB / 479 MB, free: 83.89 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00371/0.6058, allocations: 5.367 MB / 484.4 MB, free: 78.92 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04673/0.6525, allocations: 13.85 MB / 498.2 MB, free: 66.41 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001884/0.6544, allocations: 1.816 MB / 0.4883 GB, free: 65.14 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002145/0.6565, allocations: 0.69 MB / 0.489 GB, free: 64.61 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001185/0.6577, allocations: 0.7628 MB / 0.4897 GB, free: 63.92 MB / 394.7 MB Notification: Performance of SimCode: time 1.543e-06/0.6577, allocations: 0 / 0.4897 GB, free: 63.92 MB / 394.7 MB Notification: Performance of Templates: time 0.08036/0.7381, allocations: 68.88 MB / 0.557 GB, free: 11.73 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 -emit_protected -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.390695922076702]