Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.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.001036/0.001036, allocations: 85.95 kB / 22.21 MB, free: 2.289 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.001087/0.001087, allocations: 166.1 kB / 25.61 MB, free: 8.91 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8263/0.8263, allocations: 158.6 MB / 187.5 MB, free: 2.801 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.MultiPhaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|Ie.re|Ie.im|Im.re|Im.im",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|Ie.re|Ie.im|Im.re|Im.im",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 0 / 251.5 MB, free: 7.332 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.347e-05/1.563e-05, allocations: 6.25 kB / 251.5 MB, free: 7.324 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.00872/0.008736, allocations: 9.317 MB / 260.8 MB, free: 13.96 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004493/0.01323, allocations: 3.288 MB / 264.1 MB, free: 10.66 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006742/0.0139, allocations: 71.62 kB / 264.2 MB, free: 10.59 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004009/0.01791, allocations: 3.99 MB / 268.1 MB, free: 6.586 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002107/0.02002, allocations: 1.434 MB / 269.6 MB, free: 5.145 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001264/0.02128, allocations: 1.118 MB / 270.7 MB, free: 4.023 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.00594/0.02722, allocations: 9.518 MB / 280.2 MB, free: 10.46 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01148/0.0387, allocations: 12.86 MB / 293.1 MB, free: 13.46 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006095/0.04479, allocations: 7.559 MB / 300.6 MB, free: 5.895 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00538/0.05017, allocations: 6.267 MB / 306.9 MB, free: 15.62 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001837/0.05201, allocations: 1.398 MB / 308.3 MB, free: 14.22 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002426/0.05444, allocations: 1.636 MB / 309.9 MB, free: 12.58 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001437/0.05587, allocations: 3.016 MB / 313 MB, free: 9.559 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002545/0.05842, allocations: 3.716 MB / 316.7 MB, free: 5.836 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006331/0.06475, allocations: 9.685 MB / 326.4 MB, free: 12.12 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.06475, allocations: 0 / 326.4 MB, free: 12.12 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.06475, allocations: 7.938 kB / 326.4 MB, free: 12.12 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.018e-05/0.06482, allocations: 0 / 326.4 MB, free: 12.12 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.01538/0.0802, allocations: 12.13 MB / 338.5 MB, free: 15.91 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.99e-05/0.08025, allocations: 11.98 kB / 338.5 MB, free: 15.89 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0216/0.1019, allocations: 7.374 MB / 345.9 MB, free: 8.504 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00542/0.1073, allocations: 4.379 MB / 350.3 MB, free: 4.066 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002958/0.1076, allocations: 0.6584 MB / 350.9 MB, free: 3.406 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009414/0.1085, allocations: 0.8749 MB / 351.8 MB, free: 2.531 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1887/0.2972, allocations: 7.814 MB / 359.6 MB, free: 74.71 MB / 330.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001288/0.2973, allocations: 6.844 kB / 359.6 MB, free: 74.71 MB / 330.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005625/0.2979, allocations: 368.2 kB / 360 MB, free: 74.71 MB / 330.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003025/0.2982, allocations: 0.5576 MB / 360.5 MB, free: 74.68 MB / 330.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005097/0.3033, allocations: 3.94 MB / 364.5 MB, free: 74.43 MB / 330.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02695/0.3302, allocations: 36.32 MB / 400.8 MB, free: 49.32 MB / 330.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004812/0.3351, allocations: 5.236 MB / 406 MB, free: 44.66 MB / 330.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000936/0.336, allocations: 1.155 MB / 407.2 MB, free: 43.54 MB / 330.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002133/0.3362, allocations: 147.9 kB / 407.3 MB, free: 43.39 MB / 330.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.142e-05/0.3362, allocations: 89.38 kB / 407.4 MB, free: 43.3 MB / 330.8 MB Notification: Performance of pre-optimization done (n=468): time 6.482e-06/0.3363, allocations: 4 kB / 407.4 MB, free: 43.29 MB / 330.8 MB Notification: Performance of matching and sorting (n=468): time 0.007473/0.3437, allocations: 5.408 MB / 412.8 MB, free: 37.93 MB / 330.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.508e-05/0.3438, allocations: 129.1 kB / 413 MB, free: 37.78 MB / 330.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002568/0.3463, allocations: 3.766 MB / 416.7 MB, free: 34.61 MB / 330.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001521/0.3465, allocations: 101.7 kB / 416.8 MB, free: 34.5 MB / 330.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.00128/0.3478, allocations: 4.359 MB / 421.2 MB, free: 30.79 MB / 330.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006442/0.3484, allocations: 1.757 MB / 422.9 MB, free: 29.12 MB / 330.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001262/0.3497, allocations: 1.694 MB / 424.6 MB, free: 27.56 MB / 330.8 MB Notification: Performance of setup shared object (initialization): time 3.117e-05/0.3497, allocations: 486.1 kB / 425.1 MB, free: 27.09 MB / 330.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008641/0.3506, allocations: 0.8573 MB / 426 MB, free: 26.23 MB / 330.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001858/0.3524, allocations: 5.188 MB / 431.1 MB, free: 19.48 MB / 330.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003716/0.3561, allocations: 6.759 MB / 437.9 MB, free: 11.46 MB / 330.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.563e-05/0.3562, allocations: 28 kB / 437.9 MB, free: 11.43 MB / 330.8 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.008256/0.3644, allocations: 6.277 MB / 444.2 MB, free: 5.727 MB / 330.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.084e-05/0.3645, allocations: 48 kB / 444.3 MB, free: 5.68 MB / 330.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.818e-05/0.3646, allocations: 92 kB / 444.3 MB, free: 5.59 MB / 330.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003343/0.3679, allocations: 1.446 MB / 445.8 MB, free: 4.133 MB / 330.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003351/0.3712, allocations: 1.517 MB / 447.3 MB, free: 2.734 MB / 330.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01069/0.3819, allocations: 15.28 MB / 462.6 MB, free: 3.016 MB / 346.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002987/0.3849, allocations: 0.7832 MB / 463.4 MB, free: 2.227 MB / 346.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004286/0.3854, allocations: 308 kB / 463.7 MB, free: 1.926 MB / 346.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.001856/0.3872, allocations: 0.6423 MB / 464.3 MB, free: 1.309 MB / 346.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006929/0.3879, allocations: 0.5404 MB / 464.9 MB, free: 0.7656 MB / 346.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007106/0.395, allocations: 4.421 MB / 469.3 MB, free: 12.27 MB / 362.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.173e-05/0.395, allocations: 48 kB / 469.3 MB, free: 12.22 MB / 362.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.701e-05/0.3951, allocations: 12 kB / 469.3 MB, free: 12.21 MB / 362.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.59e-05/0.3951, allocations: 31.91 kB / 469.4 MB, free: 12.18 MB / 362.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01631/0.4114, allocations: 11.25 MB / 480.6 MB, free: 1.754 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.296e-05/0.4114, allocations: 4 kB / 480.6 MB, free: 1.75 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002095/0.4135, allocations: 0.7217 MB / 481.3 MB, free: 1.027 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003473/0.417, allocations: 1.331 MB / 482.7 MB, free: 15.68 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002439/0.4172, allocations: 99.98 kB / 482.8 MB, free: 15.58 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1244/0.5416, allocations: 15.08 MB / 497.9 MB, free: 94.29 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.983e-06/0.5416, allocations: 3 kB / 497.9 MB, free: 94.29 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008624/0.5503, allocations: 5.132 MB / 0.4912 GB, free: 93.48 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001398/0.5517, allocations: 0.842 MB / 0.492 GB, free: 93.48 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003913/0.5521, allocations: 88.34 kB / 0.4921 GB, free: 93.48 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001312/0.5534, allocations: 131.5 kB / 0.4922 GB, free: 93.48 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005837/0.554, allocations: 332.3 kB / 0.4925 GB, free: 93.48 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000221/0.5542, allocations: 104.8 kB / 0.4926 GB, free: 93.48 MB / 378.8 MB Notification: Performance of sorting global known variables: time 0.001627/0.5558, allocations: 1.463 MB / 0.4941 GB, free: 93.29 MB / 378.8 MB Notification: Performance of sort global known variables: time 1e-07/0.5558, allocations: 0 / 0.4941 GB, free: 93.29 MB / 378.8 MB Notification: Performance of remove unused functions: time 0.005115/0.5609, allocations: 2.404 MB / 0.4964 GB, free: 93.02 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.0004103/0.5613, allocations: 268.2 kB / 0.4967 GB, free: 92.93 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.005739/0.5671, allocations: 5.277 MB / 0.5018 GB, free: 91.66 MB / 378.8 MB Notification: Performance of simCode: created event and clocks part: time 3.307e-06/0.5671, allocations: 2.125 kB / 0.5018 GB, free: 91.66 MB / 378.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002856/0.5699, allocations: 2.935 MB / 0.5047 GB, free: 90.5 MB / 378.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00221/0.5721, allocations: 0.7474 MB / 0.5054 GB, free: 90.46 MB / 378.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01573/0.5879, allocations: 13.42 MB / 0.5185 GB, free: 84.69 MB / 378.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002044/0.5899, allocations: 2.523 MB / 0.521 GB, free: 83.46 MB / 378.8 MB Notification: Performance of simCode: alias equations: time 0.002654/0.5926, allocations: 0.7661 MB / 0.5217 GB, free: 82.95 MB / 378.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001407/0.594, allocations: 0.9317 MB / 0.5227 GB, free: 82.14 MB / 378.8 MB Notification: Performance of SimCode: time 1.283e-06/0.594, allocations: 4 kB / 0.5227 GB, free: 82.14 MB / 378.8 MB Notification: Performance of Templates: time 0.06602/0.66, allocations: 66.67 MB / 0.5878 GB, free: 20.42 MB / 378.8 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/MultiPhaseInductance/MultiPhaseInductance.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.947452894877642]