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.001028/0.001028, allocations: 84.34 kB / 22.22 MB, free: 2.285 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.001171/0.001171, allocations: 158.9 kB / 25.61 MB, free: 8.891 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.9479/0.9479, allocations: 177 MB / 205.9 MB, free: 4.449 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 1.393e-06/1.393e-06, allocations: 0 / 274.1 MB, free: 4.262 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.405e-05/1.544e-05, allocations: 2.938 kB / 274.1 MB, free: 4.258 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.007181/0.007196, allocations: 9.405 MB / 283.5 MB, free: 10.82 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004969/0.01217, allocations: 3.321 MB / 286.9 MB, free: 7.492 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007868/0.01295, allocations: 79.62 kB / 286.9 MB, free: 7.414 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004009/0.01696, allocations: 3.99 MB / 290.9 MB, free: 3.406 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002446/0.01941, allocations: 1.531 MB / 292.5 MB, free: 1.867 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001405/0.02081, allocations: 1.023 MB / 293.5 MB, free: 0.8438 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.006905/0.02772, allocations: 9.648 MB / 303.1 MB, free: 7.16 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0137/0.04142, allocations: 12.85 MB / 316 MB, free: 10.17 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007238/0.04866, allocations: 7.559 MB / 323.5 MB, free: 2.598 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005785/0.05444, allocations: 6.27 MB / 329.8 MB, free: 12.32 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002091/0.05653, allocations: 1.398 MB / 331.2 MB, free: 10.92 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002769/0.0593, allocations: 1.652 MB / 332.9 MB, free: 9.266 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001757/0.06106, allocations: 3.02 MB / 335.9 MB, free: 6.238 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003487/0.06455, allocations: 3.716 MB / 339.6 MB, free: 2.516 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1313/0.1959, allocations: 9.709 MB / 349.3 MB, free: 40.39 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.284e-06/0.1959, allocations: 0 / 349.3 MB, free: 40.39 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1959, allocations: 1.312 kB / 349.3 MB, free: 40.39 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0005439/0.1964, allocations: 0 / 349.3 MB, free: 40.39 MB / 314.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.02574/0.2222, allocations: 12.13 MB / 361.4 MB, free: 37.21 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.2222, allocations: 15.66 kB / 361.5 MB, free: 37.21 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03466/0.2569, allocations: 7.314 MB / 368.8 MB, free: 36.03 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01022/0.2671, allocations: 4.961 MB / 373.7 MB, free: 32.74 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000477/0.2676, allocations: 0.6634 MB / 374.4 MB, free: 32.25 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003005/0.2706, allocations: 0.8658 MB / 375.3 MB, free: 31.39 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01626/0.2868, allocations: 7.847 MB / 383.1 MB, free: 23.86 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000197/0.287, allocations: 14.75 kB / 383.1 MB, free: 23.85 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001042/0.2881, allocations: 364.2 kB / 383.5 MB, free: 23.5 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004533/0.2885, allocations: 0.5543 MB / 384 MB, free: 22.94 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009436/0.298, allocations: 3.977 MB / 388 MB, free: 18.92 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05096/0.3489, allocations: 36.44 MB / 424.4 MB, free: 15.47 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007092/0.356, allocations: 5.27 MB / 429.7 MB, free: 10.76 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001525/0.3575, allocations: 1.166 MB / 430.9 MB, free: 9.621 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002628/0.3578, allocations: 143.9 kB / 431 MB, free: 9.48 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.16e-05/0.3579, allocations: 89.39 kB / 431.1 MB, free: 9.383 MB / 346.7 MB Notification: Performance of pre-optimization done (n=468): time 7.053e-06/0.3579, allocations: 0 / 431.1 MB, free: 9.383 MB / 346.7 MB Notification: Performance of matching and sorting (n=468): time 0.00977/0.3676, allocations: 5.456 MB / 436.6 MB, free: 3.969 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.935e-05/0.3677, allocations: 129.1 kB / 436.7 MB, free: 3.824 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004837/0.3725, allocations: 3.767 MB / 440.5 MB, free: 0.5195 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003993/0.3729, allocations: 105.7 kB / 440.6 MB, free: 420 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00231/0.3753, allocations: 4.363 MB / 444.9 MB, free: 12.19 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001549/0.3768, allocations: 1.751 MB / 446.7 MB, free: 10.53 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001729/0.3785, allocations: 1.709 MB / 448.4 MB, free: 8.953 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001021/0.3786, allocations: 476.8 kB / 448.8 MB, free: 8.484 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001274/0.3799, allocations: 0.8651 MB / 449.7 MB, free: 7.617 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003421/0.3833, allocations: 5.201 MB / 454.9 MB, free: 0.8594 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005459/0.3888, allocations: 6.787 MB / 461.7 MB, free: 8.816 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.816e-05/0.3888, allocations: 28 kB / 461.7 MB, free: 8.789 MB / 378.7 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.008894/0.3977, allocations: 6.309 MB / 468 MB, free: 3.008 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.791e-05/0.3978, allocations: 47.98 kB / 468.1 MB, free: 2.961 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.98e-05/0.3979, allocations: 92 kB / 468.2 MB, free: 2.871 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003105/0.401, allocations: 1.449 MB / 469.6 MB, free: 1.406 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003269/0.4043, allocations: 1.521 MB / 471.1 MB, free: 15.88 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01036/0.4146, allocations: 15.27 MB / 486.4 MB, free: 76 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.138/0.5526, allocations: 0.7832 MB / 487.2 MB, free: 102.7 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000861/0.5535, allocations: 303.2 kB / 487.5 MB, free: 102.7 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.002982/0.5565, allocations: 0.6422 MB / 488.1 MB, free: 102.5 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009085/0.5574, allocations: 0.5446 MB / 488.7 MB, free: 102.5 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006111/0.5635, allocations: 4.41 MB / 493.1 MB, free: 102.2 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.275e-05/0.5635, allocations: 48.98 kB / 493.1 MB, free: 102.2 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.379e-05/0.5636, allocations: 12.28 kB / 493.1 MB, free: 102.2 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.624e-05/0.5636, allocations: 26.41 kB / 493.2 MB, free: 102.2 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01773/0.5814, allocations: 11.29 MB / 0.4926 GB, free: 101.2 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.077e-05/0.5814, allocations: 7.359 kB / 0.4927 GB, free: 101.2 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0017/0.5831, allocations: 0.7227 MB / 0.4934 GB, free: 101.2 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002924/0.586, allocations: 1.337 MB / 0.4947 GB, free: 101.1 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002729/0.5863, allocations: 114.5 kB / 0.4948 GB, free: 101.1 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007605/0.5939, allocations: 15.06 MB / 0.5095 GB, free: 89.38 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.5939, allocations: 6.406 kB / 0.5095 GB, free: 89.38 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006805/0.6007, allocations: 5.17 MB / 0.5145 GB, free: 88 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001286/0.602, allocations: 0.838 MB / 0.5154 GB, free: 87.48 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004824/0.6024, allocations: 91.56 kB / 0.5154 GB, free: 87.46 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001114/0.6036, allocations: 117.6 kB / 0.5156 GB, free: 87.42 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004637/0.604, allocations: 351.1 kB / 0.5159 GB, free: 87.29 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001948/0.6042, allocations: 106.7 kB / 0.516 GB, free: 87.22 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001677/0.6059, allocations: 1.47 MB / 0.5174 GB, free: 86.34 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.6059, allocations: 0 / 0.5174 GB, free: 86.34 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.005558/0.6115, allocations: 2.409 MB / 0.5198 GB, free: 84.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.0004667/0.6119, allocations: 272.9 kB / 0.52 GB, free: 83.96 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.005844/0.6178, allocations: 5.298 MB / 0.5252 GB, free: 79.91 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.6178, allocations: 0 / 0.5252 GB, free: 79.91 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002707/0.6205, allocations: 2.956 MB / 0.5281 GB, free: 77.29 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002389/0.6229, allocations: 0.7515 MB / 0.5288 GB, free: 76.69 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01573/0.6386, allocations: 13.32 MB / 0.5418 GB, free: 64.1 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001702/0.6403, allocations: 2.523 MB / 0.5443 GB, free: 61.55 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002453/0.6428, allocations: 0.7626 MB / 0.5451 GB, free: 60.78 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001638/0.6444, allocations: 0.9627 MB / 0.546 GB, free: 59.82 MB / 394.7 MB Notification: Performance of SimCode: time 1.573e-06/0.6444, allocations: 0 / 0.546 GB, free: 59.82 MB / 394.7 MB Notification: Performance of Templates: time 0.08098/0.7254, allocations: 69 MB / 0.6134 GB, free: 7.59 MB / 410.7 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: 4.982572499196976]