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.001076/0.001076, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.006912/0.007988, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 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.001041/0.001041, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001554/0.002596, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 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.8646/0.8646, allocations: 173.4 MB / 186 MB, free: 7.539 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1379/1.002, allocations: 52.49 MB / 238.5 MB, free: 7.609 MB / 234.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.743e-06/1.743e-06, allocations: 0 / 239.7 MB, free: 6.348 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.235e-05/2.41e-05, allocations: 2.312 kB / 239.7 MB, free: 6.344 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.01315/0.01317, allocations: 9.504 MB / 249.2 MB, free: 12.81 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.008689/0.02186, allocations: 3.442 MB / 252.7 MB, free: 9.379 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002109/0.02397, allocations: 83.62 kB / 252.8 MB, free: 9.297 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008486/0.03246, allocations: 4.074 MB / 256.8 MB, free: 5.211 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004277/0.03673, allocations: 1.566 MB / 258.4 MB, free: 3.637 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001595/0.03833, allocations: 1.013 MB / 259.4 MB, free: 2.621 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.006207/0.04453, allocations: 9.575 MB / 269 MB, free: 9.012 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01107/0.0556, allocations: 12.8 MB / 281.8 MB, free: 12.02 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005992/0.06159, allocations: 7.8 MB / 289.6 MB, free: 4.215 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005499/0.06709, allocations: 6.329 MB / 295.9 MB, free: 13.87 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001607/0.0687, allocations: 1.395 MB / 297.3 MB, free: 12.48 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001921/0.07062, allocations: 1.652 MB / 299 MB, free: 10.83 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001434/0.07206, allocations: 2.354 MB / 301.3 MB, free: 8.469 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002676/0.07473, allocations: 3.046 MB / 304.4 MB, free: 5.418 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006346/0.08108, allocations: 9.096 MB / 313.5 MB, free: 12.3 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.087e-06/0.08109, allocations: 0 / 313.5 MB, free: 12.3 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.08109, allocations: 0 / 313.5 MB, free: 12.3 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001412/0.08123, allocations: 0 / 313.5 MB, free: 12.3 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.1852/0.2664, allocations: 13.01 MB / 326.5 MB, free: 50.98 MB / 314.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.277e-05/0.2665, allocations: 9.094 kB / 326.5 MB, free: 50.98 MB / 314.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02164/0.2881, allocations: 8.013 MB / 334.5 MB, free: 50.93 MB / 314.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004624/0.2927, allocations: 2.936 MB / 337.4 MB, free: 50.23 MB / 314.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000227/0.293, allocations: 0.6697 MB / 338.1 MB, free: 50.21 MB / 314.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008835/0.2938, allocations: 0.8682 MB / 339 MB, free: 50.21 MB / 314.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007763/0.3016, allocations: 7.983 MB / 347 MB, free: 47.43 MB / 314.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001299/0.3017, allocations: 11.94 kB / 347 MB, free: 47.42 MB / 314.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006283/0.3024, allocations: 364.8 kB / 347.3 MB, free: 47.07 MB / 314.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000261/0.3026, allocations: 0.527 MB / 347.9 MB, free: 46.54 MB / 314.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005225/0.3079, allocations: 4.422 MB / 352.3 MB, free: 42.07 MB / 314.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0297/0.3376, allocations: 27.91 MB / 380.2 MB, free: 14.96 MB / 314.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004985/0.3425, allocations: 4.527 MB / 384.7 MB, free: 10.55 MB / 314.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001141/0.3437, allocations: 0.9764 MB / 385.7 MB, free: 9.609 MB / 314.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002665/0.3439, allocations: 119.9 kB / 385.8 MB, free: 9.492 MB / 314.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.847e-05/0.344, allocations: 82.56 kB / 385.9 MB, free: 9.402 MB / 314.8 MB Notification: Performance of pre-optimization done (n=468): time 7.314e-06/0.344, allocations: 7.984 kB / 385.9 MB, free: 9.395 MB / 314.8 MB Notification: Performance of matching and sorting (n=468): time 0.007538/0.3515, allocations: 4.492 MB / 390.4 MB, free: 4.957 MB / 314.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.936e-05/0.3516, allocations: 133.1 kB / 390.5 MB, free: 4.809 MB / 314.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002108/0.3537, allocations: 2.423 MB / 392.9 MB, free: 2.855 MB / 314.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0004681/0.3542, allocations: 97.7 kB / 393 MB, free: 2.754 MB / 314.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001211/0.3554, allocations: 3.792 MB / 396.8 MB, free: 15.09 MB / 330.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001253/0.3566, allocations: 1.669 MB / 398.5 MB, free: 13.51 MB / 330.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001782/0.3584, allocations: 1.321 MB / 399.8 MB, free: 12.32 MB / 330.8 MB Notification: Performance of setup shared object (initialization): time 6.661e-05/0.3585, allocations: 301.1 kB / 400.1 MB, free: 12.03 MB / 330.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001431/0.3599, allocations: 1.079 MB / 401.2 MB, free: 10.95 MB / 330.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00263/0.3625, allocations: 3.584 MB / 404.8 MB, free: 6.273 MB / 330.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004986/0.3675, allocations: 5.569 MB / 410.3 MB, free: 15.89 MB / 346.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.677e-05/0.3676, allocations: 24 kB / 410.4 MB, free: 15.87 MB / 346.8 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.007602/0.3752, allocations: 5.209 MB / 415.6 MB, free: 11.26 MB / 346.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.524e-05/0.3752, allocations: 48.09 kB / 415.6 MB, free: 11.21 MB / 346.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.137e-05/0.3753, allocations: 92 kB / 415.7 MB, free: 11.12 MB / 346.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003194/0.3785, allocations: 1.4 MB / 417.1 MB, free: 9.715 MB / 346.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003657/0.3822, allocations: 1.701 MB / 418.8 MB, free: 8.133 MB / 346.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008098/0.3903, allocations: 10.87 MB / 429.7 MB, free: 12.95 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003354/0.3936, allocations: 0.7871 MB / 430.5 MB, free: 12.15 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008164/0.3944, allocations: 296 kB / 430.8 MB, free: 11.86 MB / 362.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.002158/0.3966, allocations: 0.5955 MB / 431.4 MB, free: 11.25 MB / 362.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006312/0.3972, allocations: 383.6 kB / 431.7 MB, free: 10.88 MB / 362.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005693/0.4029, allocations: 3.709 MB / 435.4 MB, free: 7.113 MB / 362.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.581e-05/0.4029, allocations: 48 kB / 435.5 MB, free: 7.066 MB / 362.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.303e-05/0.403, allocations: 12 kB / 435.5 MB, free: 7.055 MB / 362.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.788e-05/0.403, allocations: 27.91 kB / 435.5 MB, free: 7.027 MB / 362.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01384/0.4169, allocations: 8.576 MB / 444.1 MB, free: 15.3 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.274e-05/0.4169, allocations: 0 / 444.1 MB, free: 15.3 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001999/0.4189, allocations: 0.8154 MB / 444.9 MB, free: 14.48 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001416/0.4203, allocations: 0.6155 MB / 445.5 MB, free: 13.86 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002696/0.423, allocations: 1.279 MB / 446.8 MB, free: 12.57 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004046/0.4234, allocations: 91.98 kB / 446.9 MB, free: 12.48 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007484/0.4309, allocations: 10.63 MB / 457.5 MB, free: 1.461 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.802e-06/0.4309, allocations: 4.125 kB / 457.5 MB, free: 1.457 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006225/0.4371, allocations: 4.305 MB / 461.8 MB, free: 13.01 MB / 394.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007703/0.4379, allocations: 88 kB / 461.9 MB, free: 12.92 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001352/0.4392, allocations: 134.4 kB / 462.1 MB, free: 12.79 MB / 394.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006533/0.4399, allocations: 323.4 kB / 462.4 MB, free: 12.47 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002474/0.4401, allocations: 95.97 kB / 462.5 MB, free: 12.38 MB / 394.8 MB Notification: Performance of sorting global known variables: time 0.001213/0.4413, allocations: 1.035 MB / 463.5 MB, free: 11.34 MB / 394.8 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4413, allocations: 0 / 463.5 MB, free: 11.34 MB / 394.8 MB Notification: Performance of remove unused functions: time 0.005433/0.4468, allocations: 2.411 MB / 465.9 MB, free: 8.926 MB / 394.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.0007994/0.4476, allocations: 247.6 kB / 466.2 MB, free: 8.672 MB / 394.8 MB Notification: Performance of simCode: created initialization part: time 0.005836/0.4534, allocations: 4.435 MB / 470.6 MB, free: 4.281 MB / 394.8 MB Notification: Performance of simCode: created event and clocks part: time 0.0002591/0.4537, allocations: 118.6 kB / 470.7 MB, free: 4.152 MB / 394.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003395/0.4571, allocations: 2.726 MB / 473.4 MB, free: 1.336 MB / 394.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1021/0.5591, allocations: 5.362 MB / 478.8 MB, free: 114.1 MB / 394.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05489/0.614, allocations: 13.95 MB / 492.7 MB, free: 109.5 MB / 394.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002885/0.6169, allocations: 1.816 MB / 494.6 MB, free: 109.2 MB / 394.8 MB Notification: Performance of simCode: alias equations: time 0.002174/0.6191, allocations: 0.6918 MB / 495.3 MB, free: 109.1 MB / 394.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00146/0.6205, allocations: 0.7465 MB / 496 MB, free: 109.1 MB / 394.8 MB Notification: Performance of SimCode: time 1.803e-06/0.6205, allocations: 0 / 496 MB, free: 109.1 MB / 394.8 MB Notification: Performance of Templates: time 0.07795/0.6985, allocations: 67.82 MB / 0.5506 GB, free: 52.55 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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.9723321441560984]