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.0009059/0.0009059, allocations: 85.05 kB / 21.5 MB, free: 2.988 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.0009303/0.0009303, allocations: 141.7 kB / 24.89 MB, free: 8.777 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.9177/0.9177, allocations: 173.4 MB / 201.5 MB, free: 8.762 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 2.164e-06/2.164e-06, allocations: 0 / 268.5 MB, free: 6.02 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.688e-05/2.905e-05, allocations: 6.109 kB / 268.5 MB, free: 6.016 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.00712/0.00715, allocations: 9.4 MB / 277.9 MB, free: 12.57 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005325/0.01247, allocations: 3.422 MB / 281.3 MB, free: 9.133 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007507/0.01323, allocations: 87.56 kB / 281.4 MB, free: 9.047 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003957/0.01718, allocations: 4.095 MB / 285.5 MB, free: 4.934 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00256/0.01974, allocations: 1.581 MB / 287.1 MB, free: 3.344 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001264/0.02101, allocations: 1.04 MB / 288.1 MB, free: 2.301 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1295/0.1505, allocations: 9.515 MB / 297.6 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0134/0.1639, allocations: 13.23 MB / 310.9 MB, free: 7.523 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006867/0.1708, allocations: 7.612 MB / 318.5 MB, free: 3.035 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005797/0.1766, allocations: 6.352 MB / 324.8 MB, free: 13.43 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00198/0.1786, allocations: 1.395 MB / 326.2 MB, free: 12.04 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001828/0.1804, allocations: 1.634 MB / 327.8 MB, free: 10.43 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00158/0.182, allocations: 3.013 MB / 330.9 MB, free: 7.598 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003774/0.1857, allocations: 3.722 MB / 334.6 MB, free: 4.055 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007094/0.1928, allocations: 9.691 MB / 344.3 MB, free: 10.92 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.269e-06/0.1928, allocations: 3.938 kB / 344.3 MB, free: 10.91 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.093e-06/0.1928, allocations: 6.688 kB / 344.3 MB, free: 10.91 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001565/0.193, allocations: 0 / 344.3 MB, free: 10.91 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.01373/0.2067, allocations: 11.2 MB / 355.5 MB, free: 288 kB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.2068, allocations: 8.922 kB / 355.5 MB, free: 280 kB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0216/0.2284, allocations: 8.022 MB / 363.5 MB, free: 8.527 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007586/0.236, allocations: 2.932 MB / 366.4 MB, free: 5.809 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004156/0.2364, allocations: 0.6682 MB / 367.1 MB, free: 5.148 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002472/0.2388, allocations: 0.8692 MB / 368 MB, free: 4.289 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01072/0.2496, allocations: 7.984 MB / 376 MB, free: 12.62 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001248/0.2497, allocations: 10.38 kB / 376 MB, free: 12.61 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000674/0.2504, allocations: 373.8 kB / 376.3 MB, free: 12.25 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000377/0.2507, allocations: 0.5543 MB / 376.9 MB, free: 11.7 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006645/0.2574, allocations: 4.422 MB / 381.3 MB, free: 7.227 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04037/0.2978, allocations: 27.77 MB / 409.1 MB, free: 11.79 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006689/0.3044, allocations: 4.447 MB / 413.5 MB, free: 7.328 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001391/0.3058, allocations: 0.9813 MB / 414.5 MB, free: 6.34 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000288/0.3061, allocations: 115.9 kB / 414.6 MB, free: 6.227 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.26e-05/0.3062, allocations: 82.56 kB / 414.7 MB, free: 6.137 MB / 362.7 MB Notification: Performance of pre-optimization done (n=468): time 9.258e-06/0.3062, allocations: 0 / 414.7 MB, free: 6.137 MB / 362.7 MB Notification: Performance of matching and sorting (n=468): time 0.01038/0.3166, allocations: 4.492 MB / 419.2 MB, free: 1.676 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.09e-05/0.3167, allocations: 125.1 kB / 419.3 MB, free: 1.535 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002722/0.3194, allocations: 2.431 MB / 421.7 MB, free: 15.09 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002526/0.3196, allocations: 101.7 kB / 421.8 MB, free: 14.98 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001857/0.3215, allocations: 3.784 MB / 425.6 MB, free: 11.16 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001149/0.3226, allocations: 1.669 MB / 427.3 MB, free: 9.48 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001688/0.3243, allocations: 1.328 MB / 428.6 MB, free: 8.145 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.368e-05/0.3244, allocations: 301.1 kB / 428.9 MB, free: 7.848 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001699/0.3261, allocations: 1.074 MB / 430 MB, free: 6.773 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002845/0.3289, allocations: 3.591 MB / 433.6 MB, free: 1.922 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2031/0.532, allocations: 5.263 MB / 438.9 MB, free: 92.26 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.589e-05/0.5321, allocations: 25.66 kB / 438.9 MB, free: 92.26 MB / 378.8 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.01053/0.5426, allocations: 5.203 MB / 444.1 MB, free: 91.96 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.669e-05/0.5427, allocations: 45.38 kB / 444.1 MB, free: 91.96 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001324/0.5428, allocations: 93.81 kB / 444.2 MB, free: 91.96 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003695/0.5465, allocations: 1.394 MB / 445.6 MB, free: 91.87 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003849/0.5504, allocations: 1.489 MB / 447.1 MB, free: 91.87 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008062/0.5584, allocations: 10.89 MB / 458 MB, free: 84.2 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00399/0.5624, allocations: 0.7847 MB / 458.8 MB, free: 84.2 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007197/0.5631, allocations: 292.8 kB / 459.1 MB, free: 84.2 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.002001/0.5651, allocations: 0.5977 MB / 459.7 MB, free: 84.07 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005357/0.5657, allocations: 382.3 kB / 460 MB, free: 84.07 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004215/0.5699, allocations: 3.709 MB / 463.7 MB, free: 83.74 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.83e-05/0.5699, allocations: 49.66 kB / 463.8 MB, free: 83.74 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.248e-05/0.5699, allocations: 11.53 kB / 463.8 MB, free: 83.74 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.409e-05/0.5699, allocations: 26.66 kB / 463.8 MB, free: 83.74 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009505/0.5794, allocations: 8.568 MB / 472.4 MB, free: 82.93 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.616e-06/0.5795, allocations: 3.906 kB / 472.4 MB, free: 82.93 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001439/0.5809, allocations: 0.6977 MB / 473.1 MB, free: 82.93 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002279/0.5832, allocations: 1.281 MB / 474.4 MB, free: 82.82 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001681/0.5833, allocations: 95.64 kB / 474.5 MB, free: 82.82 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005485/0.5888, allocations: 10.68 MB / 485.2 MB, free: 74.95 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.5888, allocations: 10.34 kB / 485.2 MB, free: 74.95 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004436/0.5933, allocations: 4.282 MB / 489.4 MB, free: 71.92 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008315/0.5941, allocations: 0.6061 MB / 490.1 MB, free: 71.43 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003223/0.5944, allocations: 93.98 kB / 490.1 MB, free: 71.34 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008281/0.5952, allocations: 130 kB / 490.3 MB, free: 71.22 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003487/0.5956, allocations: 320.1 kB / 490.6 MB, free: 71.07 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001646/0.5958, allocations: 95.59 kB / 490.7 MB, free: 70.99 MB / 378.8 MB Notification: Performance of sorting global known variables: time 0.0007938/0.5966, allocations: 1.037 MB / 491.7 MB, free: 70.27 MB / 378.8 MB Notification: Performance of sort global known variables: time 6e-08/0.5966, allocations: 4 kB / 491.7 MB, free: 70.27 MB / 378.8 MB Notification: Performance of remove unused functions: time 0.004216/0.6008, allocations: 2.405 MB / 494.1 MB, free: 68.09 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.0004026/0.6012, allocations: 250.5 kB / 494.4 MB, free: 67.89 MB / 378.8 MB Notification: Performance of simCode: created initialization part: time 0.003677/0.6048, allocations: 4.327 MB / 498.7 MB, free: 64.09 MB / 378.8 MB Notification: Performance of simCode: created event and clocks part: time 8.709e-05/0.6049, allocations: 67.78 kB / 498.8 MB, free: 64.02 MB / 378.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001812/0.6067, allocations: 2.379 MB / 0.4894 GB, free: 61.65 MB / 378.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001576/0.6083, allocations: 0.7311 MB / 0.4901 GB, free: 60.95 MB / 378.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01108/0.6194, allocations: 13.18 MB / 0.503 GB, free: 47.73 MB / 378.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001228/0.6206, allocations: 1.789 MB / 0.5047 GB, free: 45.91 MB / 378.8 MB Notification: Performance of simCode: alias equations: time 0.001639/0.6223, allocations: 0.7626 MB / 0.5055 GB, free: 45.15 MB / 378.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001439/0.6237, allocations: 0.8506 MB / 0.5063 GB, free: 44.29 MB / 378.8 MB Notification: Performance of SimCode: time 1.663e-06/0.6237, allocations: 0 / 0.5063 GB, free: 44.29 MB / 378.8 MB Notification: Performance of Templates: time 0.07212/0.6958, allocations: 66.97 MB / 0.5717 GB, free: 10.11 MB / 410.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.554500736761838]