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.001291/0.001291, allocations: 78.97 kB / 21.42 MB, free: 3.078 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.001476/0.001476, allocations: 148.2 kB / 24.81 MB, free: 9.27 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 1.041/1.041, allocations: 173.4 MB / 201.4 MB, free: 9.219 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.463e-06/1.463e-06, allocations: 0 / 268.4 MB, free: 6.199 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.233e-05/1.38e-05, allocations: 6.25 kB / 268.4 MB, free: 6.191 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.006746/0.00676, allocations: 9.384 MB / 277.8 MB, free: 12.76 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003723/0.01048, allocations: 3.275 MB / 281.1 MB, free: 9.473 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004465/0.01093, allocations: 87.56 kB / 281.2 MB, free: 9.387 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004429/0.01536, allocations: 3.978 MB / 285.1 MB, free: 5.391 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003385/0.01874, allocations: 1.562 MB / 286.7 MB, free: 3.82 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001846/0.02059, allocations: 1.013 MB / 287.7 MB, free: 2.805 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1574/0.178, allocations: 9.503 MB / 297.2 MB, free: 13.85 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01641/0.1944, allocations: 12.86 MB / 310.1 MB, free: 8.102 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01041/0.2048, allocations: 7.554 MB / 317.6 MB, free: 4 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007543/0.2124, allocations: 6.275 MB / 323.9 MB, free: 14.54 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003179/0.2156, allocations: 1.398 MB / 325.3 MB, free: 13.14 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004122/0.2197, allocations: 1.627 MB / 326.9 MB, free: 11.55 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002599/0.2223, allocations: 3.027 MB / 330 MB, free: 8.699 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005969/0.2282, allocations: 3.709 MB / 333.7 MB, free: 5.164 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.03453/0.2628, allocations: 9.69 MB / 343.4 MB, free: 12.02 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.2628, allocations: 0 / 343.4 MB, free: 12.02 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.2628, allocations: 0 / 343.4 MB, free: 12.02 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0003578/0.2631, allocations: 0 / 343.4 MB, free: 12.02 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.05151/0.3147, allocations: 12.14 MB / 355.5 MB, free: 360 kB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.3147, allocations: 12.92 kB / 355.5 MB, free: 348 kB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02357/0.3383, allocations: 7.369 MB / 362.9 MB, free: 9.082 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008425/0.3467, allocations: 4.944 MB / 367.8 MB, free: 4.344 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006142/0.3473, allocations: 0.6658 MB / 368.5 MB, free: 3.688 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00231/0.3496, allocations: 0.8705 MB / 369.4 MB, free: 2.824 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01295/0.3626, allocations: 7.816 MB / 377.2 MB, free: 11.32 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00017/0.3627, allocations: 7.953 kB / 377.2 MB, free: 11.32 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007618/0.3635, allocations: 364.7 kB / 377.5 MB, free: 10.97 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003917/0.3639, allocations: 0.5582 MB / 378.1 MB, free: 10.41 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00739/0.3713, allocations: 3.924 MB / 382 MB, free: 6.438 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04711/0.4184, allocations: 36.33 MB / 418.4 MB, free: 2.719 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006439/0.4248, allocations: 5.245 MB / 423.6 MB, free: 13.92 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001316/0.4261, allocations: 1.158 MB / 424.8 MB, free: 12.75 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002589/0.4264, allocations: 143.9 kB / 424.9 MB, free: 12.61 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.943e-05/0.4265, allocations: 89.39 kB / 425 MB, free: 12.52 MB / 378.7 MB Notification: Performance of pre-optimization done (n=468): time 7.203e-06/0.4265, allocations: 4 kB / 425 MB, free: 12.51 MB / 378.7 MB Notification: Performance of matching and sorting (n=468): time 0.008938/0.4354, allocations: 5.414 MB / 430.4 MB, free: 7.117 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.076e-05/0.4355, allocations: 132.6 kB / 430.5 MB, free: 6.973 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004203/0.4397, allocations: 3.755 MB / 434.3 MB, free: 3.191 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002578/0.4399, allocations: 105.7 kB / 434.4 MB, free: 3.082 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.2202/0.6601, allocations: 4.363 MB / 438.8 MB, free: 93.45 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001771/0.6619, allocations: 1.751 MB / 440.5 MB, free: 92.58 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001886/0.6638, allocations: 1.692 MB / 442.2 MB, free: 92.45 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 4.095e-05/0.6638, allocations: 478.7 kB / 442.7 MB, free: 91.98 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001321/0.6652, allocations: 0.8602 MB / 443.5 MB, free: 91.96 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002713/0.6679, allocations: 5.187 MB / 448.7 MB, free: 86.91 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005092/0.673, allocations: 6.76 MB / 455.5 MB, free: 81.77 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001169/0.6731, allocations: 27.19 kB / 455.5 MB, free: 81.77 MB / 378.8 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.008464/0.6815, allocations: 6.277 MB / 461.8 MB, free: 81.21 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.826e-05/0.6816, allocations: 48.12 kB / 461.8 MB, free: 81.2 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.089e-05/0.6817, allocations: 93.53 kB / 461.9 MB, free: 81.2 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002878/0.6846, allocations: 1.453 MB / 463.4 MB, free: 81.09 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002865/0.6874, allocations: 1.513 MB / 464.9 MB, free: 81.09 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00782/0.6952, allocations: 15.28 MB / 480.2 MB, free: 69.33 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003886/0.6991, allocations: 0.7982 MB / 481 MB, free: 69.08 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007027/0.6998, allocations: 300 kB / 481.3 MB, free: 69.08 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.00254/0.7024, allocations: 0.6402 MB / 481.9 MB, free: 68.92 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006747/0.7031, allocations: 0.5483 MB / 482.4 MB, free: 68.7 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005071/0.7081, allocations: 4.403 MB / 486.8 MB, free: 68.3 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.176e-05/0.7081, allocations: 47.81 kB / 486.9 MB, free: 68.3 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.982e-05/0.7082, allocations: 15.91 kB / 486.9 MB, free: 68.3 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.52e-05/0.7082, allocations: 28.64 kB / 486.9 MB, free: 68.29 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01339/0.7216, allocations: 11.25 MB / 498.2 MB, free: 65.07 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.13e-05/0.7216, allocations: 11.69 kB / 498.2 MB, free: 65.07 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001538/0.7231, allocations: 0.7148 MB / 498.9 MB, free: 64.47 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002655/0.7258, allocations: 1.347 MB / 0.4885 GB, free: 63.61 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002384/0.726, allocations: 103.5 kB / 0.4886 GB, free: 63.52 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007078/0.7331, allocations: 15.07 MB / 0.5033 GB, free: 48.66 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.7331, allocations: 4 kB / 0.5034 GB, free: 48.66 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006231/0.7393, allocations: 5.14 MB / 0.5084 GB, free: 44.25 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001421/0.7408, allocations: 0.836 MB / 0.5092 GB, free: 43.6 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003207/0.7411, allocations: 87.89 kB / 0.5093 GB, free: 43.52 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009806/0.7421, allocations: 135.9 kB / 0.5094 GB, free: 43.39 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004516/0.7425, allocations: 330.2 kB / 0.5097 GB, free: 43.23 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001588/0.7427, allocations: 111.7 kB / 0.5098 GB, free: 43.13 MB / 378.8 MB Notification: Performance of sorting global known variables: time 0.001369/0.744, allocations: 1.463 MB / 0.5112 GB, free: 42.02 MB / 378.8 MB Notification: Performance of sort global known variables: time 3.5e-07/0.744, allocations: 0 / 0.5112 GB, free: 42.02 MB / 378.8 MB Notification: Performance of remove unused functions: time 0.005548/0.7496, allocations: 2.408 MB / 0.5136 GB, free: 39.84 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.0004585/0.75, allocations: 263.4 kB / 0.5139 GB, free: 39.62 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.005868/0.7559, allocations: 5.277 MB / 0.519 GB, free: 34.38 MB / 378.8 MB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.7559, allocations: 4 kB / 0.519 GB, free: 34.37 MB / 378.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002494/0.7584, allocations: 2.933 MB / 0.5219 GB, free: 31.37 MB / 378.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002314/0.7607, allocations: 0.7543 MB / 0.5226 GB, free: 30.64 MB / 378.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01647/0.7772, allocations: 13.42 MB / 0.5357 GB, free: 17.17 MB / 378.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001559/0.7788, allocations: 2.527 MB / 0.5382 GB, free: 14.62 MB / 378.8 MB Notification: Performance of simCode: alias equations: time 0.00233/0.7811, allocations: 0.7626 MB / 0.5389 GB, free: 13.85 MB / 378.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001428/0.7825, allocations: 0.9354 MB / 0.5398 GB, free: 12.91 MB / 378.8 MB Notification: Performance of SimCode: time 2.305e-06/0.7825, allocations: 0 / 0.5398 GB, free: 12.91 MB / 378.8 MB Notification: Performance of Templates: time 0.2294/1.012, allocations: 66.69 MB / 0.605 GB, free: 90.91 MB / 394.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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) [Timeout 240] 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","",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.980824111029506]