Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0006803/0.0006803, allocations: 84 kB / 21.43 MB, free: 3.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003238/0.003238, allocations: 143.6 kB / 24.68 MB, free: 8.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8222/0.8222, allocations: 173.4 MB / 201.2 MB, free: 9.43 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.923e-06/1.923e-06, allocations: 3.938 kB / 319.7 MB, free: 5.848 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.427e-05/1.619e-05, allocations: 2.281 kB / 319.7 MB, free: 5.844 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.00635/0.006366, allocations: 8.689 MB / 328.4 MB, free: 13.11 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004232/0.0106, allocations: 3.201 MB / 331.6 MB, free: 9.898 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005743/0.01117, allocations: 87.56 kB / 331.7 MB, free: 9.812 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003644/0.01482, allocations: 3.793 MB / 335.5 MB, free: 6.012 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002111/0.01693, allocations: 1.566 MB / 337 MB, free: 4.441 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001115/0.01804, allocations: 1.012 MB / 338 MB, free: 3.43 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.005668/0.02371, allocations: 9.499 MB / 347.5 MB, free: 9.891 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0114/0.03511, allocations: 12.86 MB / 360.4 MB, free: 12.89 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006387/0.04149, allocations: 7.509 MB / 367.9 MB, free: 5.367 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004962/0.04646, allocations: 5.513 MB / 373.4 MB, free: 15.84 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001314/0.04777, allocations: 1.398 MB / 374.8 MB, free: 14.45 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001636/0.04941, allocations: 1.624 MB / 376.5 MB, free: 12.82 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001463/0.05087, allocations: 2.981 MB / 379.4 MB, free: 9.832 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002548/0.05342, allocations: 3.684 MB / 383.1 MB, free: 6.141 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01061/0.06403, allocations: 19.16 MB / 402.3 MB, free: 2.926 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.06403, allocations: 4 kB / 402.3 MB, free: 2.922 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.06403, allocations: 0 / 402.3 MB, free: 2.922 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001968/0.06423, allocations: 0 / 402.3 MB, free: 2.922 MB / 362.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.01545/0.07968, allocations: 12.29 MB / 414.6 MB, free: 6.559 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.07972, allocations: 8.922 kB / 414.6 MB, free: 6.551 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02181/0.1015, allocations: 8.554 MB / 423.1 MB, free: 13.98 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007469/0.109, allocations: 6.007 MB / 429.1 MB, free: 7.91 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002877/0.1093, allocations: 0.6584 MB / 429.8 MB, free: 7.25 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001007/0.1103, allocations: 0.871 MB / 430.7 MB, free: 6.379 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01841/0.1287, allocations: 16.23 MB / 446.9 MB, free: 6.047 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001322/0.1288, allocations: 7.953 kB / 446.9 MB, free: 6.039 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000717/0.1295, allocations: 372 kB / 447.3 MB, free: 5.676 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000379/0.1299, allocations: 0.5543 MB / 447.8 MB, free: 5.117 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2884/0.4183, allocations: 15.64 MB / 463.5 MB, free: 102.6 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03756/0.4559, allocations: 41.66 MB / 0.4933 GB, free: 65.36 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007689/0.4636, allocations: 8.425 MB / 0.5015 GB, free: 57.41 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002433/0.466, allocations: 3.234 MB / 0.5047 GB, free: 54.17 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002038/0.4662, allocations: 91.88 kB / 0.5048 GB, free: 54.08 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.065e-05/0.4662, allocations: 86.56 kB / 0.5048 GB, free: 53.98 MB / 410.8 MB Notification: Performance of pre-optimization done (n=468): time 5.841e-06/0.4662, allocations: 3.156 kB / 0.5049 GB, free: 53.98 MB / 410.8 MB Notification: Performance of matching and sorting (n=468): time 0.01142/0.4777, allocations: 11.06 MB / 0.5157 GB, free: 42.93 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.747e-05/0.4777, allocations: 133 kB / 0.5158 GB, free: 42.78 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003497/0.4812, allocations: 3.967 MB / 0.5197 GB, free: 38.93 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0002039/0.4814, allocations: 105.6 kB / 0.5198 GB, free: 38.82 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009811/0.4824, allocations: 4.018 MB / 0.5237 GB, free: 35.18 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005948/0.483, allocations: 1.671 MB / 0.5253 GB, free: 33.53 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001166/0.4842, allocations: 1.461 MB / 0.5267 GB, free: 32.06 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 2.531e-05/0.4842, allocations: 305.1 kB / 0.527 GB, free: 31.76 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002829/0.487, allocations: 3.684 MB / 0.5306 GB, free: 28.07 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003416/0.4904, allocations: 6.523 MB / 0.537 GB, free: 20.25 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006485/0.4969, allocations: 10.83 MB / 0.5476 GB, free: 8.086 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.225e-05/0.4969, allocations: 28 kB / 0.5476 GB, free: 8.059 MB / 410.8 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.01142/0.5084, allocations: 11.92 MB / 0.5592 GB, free: 12.06 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.184e-05/0.5084, allocations: 44.34 kB / 0.5593 GB, free: 12.02 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-05/0.5085, allocations: 96 kB / 0.5594 GB, free: 11.93 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002728/0.5112, allocations: 1.621 MB / 0.561 GB, free: 10.29 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002909/0.5141, allocations: 1.661 MB / 0.5626 GB, free: 8.621 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01272/0.5268, allocations: 16.73 MB / 0.5789 GB, free: 7.281 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003993/0.5308, allocations: 0.9665 MB / 0.5799 GB, free: 6.309 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003801/0.5312, allocations: 360 kB / 0.5802 GB, free: 5.957 MB / 442.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.004737/0.536, allocations: 3.761 MB / 0.5839 GB, free: 2.184 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005044/0.5365, allocations: 409.3 kB / 0.5843 GB, free: 1.781 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008957/0.5454, allocations: 8.526 MB / 0.5926 GB, free: 9.172 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.561e-05/0.5454, allocations: 52 kB / 0.5926 GB, free: 9.121 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.629e-05/0.5455, allocations: 15.94 kB / 0.5927 GB, free: 9.105 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.661e-05/0.5455, allocations: 23.91 kB / 0.5927 GB, free: 9.082 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01618/0.5617, allocations: 14.84 MB / 0.6072 GB, free: 10.21 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.048e-05/0.5617, allocations: 4 kB / 0.6072 GB, free: 10.21 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001747/0.5634, allocations: 0.862 MB / 0.608 GB, free: 9.348 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002607/0.566, allocations: 1.511 MB / 0.6095 GB, free: 7.816 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002014/0.5662, allocations: 104 kB / 0.6096 GB, free: 7.715 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1806/0.7469, allocations: 16.51 MB / 0.6257 GB, free: 145.5 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.7469, allocations: 3.812 kB / 0.6257 GB, free: 145.5 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01102/0.7579, allocations: 12.2 MB / 0.6376 GB, free: 141 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001696/0.7596, allocations: 1.078 MB / 0.6387 GB, free: 140.6 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003376/0.7599, allocations: 82.25 kB / 0.6388 GB, free: 140.5 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00116/0.7611, allocations: 309.5 kB / 0.6391 GB, free: 140.4 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004255/0.7615, allocations: 334.1 kB / 0.6394 GB, free: 140.4 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001679/0.7617, allocations: 140.7 kB / 0.6395 GB, free: 140.4 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.002334/0.764, allocations: 2.539 MB / 0.642 GB, free: 139.5 MB / 474.8 MB Notification: Performance of sort global known variables: time 2.7e-07/0.764, allocations: 0 / 0.642 GB, free: 139.5 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.004292/0.7683, allocations: 2.405 MB / 0.6443 GB, free: 139 MB / 474.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.0003992/0.7687, allocations: 262 kB / 0.6446 GB, free: 138.8 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.00746/0.7762, allocations: 8.992 MB / 0.6534 GB, free: 132.1 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.7762, allocations: 4 kB / 0.6534 GB, free: 132.1 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003251/0.7794, allocations: 4.165 MB / 0.6574 GB, free: 128.5 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001895/0.7813, allocations: 0.7192 MB / 0.6581 GB, free: 127.9 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01596/0.7973, allocations: 17.07 MB / 0.6748 GB, free: 112.6 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003026/0.8003, allocations: 5.467 MB / 0.6801 GB, free: 107.4 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001346/0.8016, allocations: 436.4 kB / 0.6806 GB, free: 106.9 MB / 474.8 MB Notification: Performance of SimCode: time 1.423e-06/0.8016, allocations: 3.938 kB / 0.6806 GB, free: 106.9 MB / 474.8 MB Notification: Performance of Templates: time 0.5341/1.336, allocations: 420.3 MB / 1.091 GB, free: 55 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/PolyphaseInductance/PolyphaseInductance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.54792678821832]